diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-04-08 19:04:45 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-04-08 19:04:45 +0000 |
commit | c47bc3321825ff3aa9aee4ff125c5e9ee853e449 (patch) | |
tree | ae74938e867b016f41f7e9d738170cb504d95df7 | |
parent | 3ef3fcfc0414b96d626b706c6151596684b7d134 (diff) |
Silence sign-compare warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154297 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index f1b9f4385e..a8822953ca 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -7824,7 +7824,7 @@ SDValue DAGCombiner::visitVECTOR_SHUFFLE(SDNode *N) { Idx = OtherSV->getMaskElt(Idx); // The combined shuffle must map each index to itself. - if (Idx != i && Idx != -1) + if ((unsigned)Idx != i && Idx != -1) return SDValue(); } |