aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-04-08 19:04:45 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-04-08 19:04:45 +0000
commitc47bc3321825ff3aa9aee4ff125c5e9ee853e449 (patch)
treeae74938e867b016f41f7e9d738170cb504d95df7
parent3ef3fcfc0414b96d626b706c6151596684b7d134 (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.cpp2
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();
}