llvm.org GIT mirror llvm / 47817f3
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 Benjamin Kramer 8 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
510510 for (unsigned i = 0, e = ShuffleMask.size(); i != e; ++i) {
511511 if (i != 0)
512512 OS << ',';
513 if (ShuffleMask[i] == (int)SM_SentinelZero) {
513 if (ShuffleMask[i] == SM_SentinelZero) {
514514 OS << "zero";
515515 continue;
516516 }
2323
2424 namespace llvm {
2525 enum {
26 SM_SentinelZero = ~0U
26 SM_SentinelZero = -1
2727 };
2828
2929 void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl &ShuffleMask);