diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-21 13:48:11 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-21 13:48:11 +0000 |
commit | 47817f30f28118ba278ab11740fa9f0adcfb462d (patch) | |
tree | c511023cf06ec44e48a90afe408d0f534d7a3dc8 /lib/Target/X86/InstPrinter | |
parent | ff739c1575df58f3926c2f3b6e00a6c45f773523 (diff) |
Use a signed value for this enum to avoid spuriuos warnings from gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153184 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstPrinter')
-rw-r--r-- | lib/Target/X86/InstPrinter/X86InstComments.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/InstPrinter/X86InstComments.cpp b/lib/Target/X86/InstPrinter/X86InstComments.cpp index 19909cb6b1..f532019acd 100644 --- a/lib/Target/X86/InstPrinter/X86InstComments.cpp +++ b/lib/Target/X86/InstPrinter/X86InstComments.cpp @@ -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; } |