mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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
This commit is contained in:
parent
ff739c1575
commit
47817f30f2
@ -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
Block a user