forked from OSchip/llvm-project
Use a signed value for this enum to avoid spuriuos warnings from gcc.
llvm-svn: 153184
This commit is contained in:
parent
ef50dfd6aa
commit
bc1066734f
|
@ -511,7 +511,7 @@ void llvm::EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS,
|
|||
for (unsigned i = 0, e = ShuffleMask.size(); i != e; ++i) {
|
||||
if (i != 0)
|
||||
OS << ',';
|
||||
if (ShuffleMask[i] == (int)SM_SentinelZero) {
|
||||
if (ShuffleMask[i] == SM_SentinelZero) {
|
||||
OS << "zero";
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
namespace llvm {
|
||||
enum {
|
||||
SM_SentinelZero = ~0U
|
||||
SM_SentinelZero = -1
|
||||
};
|
||||
|
||||
void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl<int> &ShuffleMask);
|
||||
|
|
Loading…
Reference in New Issue