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 | bb6ff08766f3348a3e76d42d9fb8adacfaac8827 (patch) | |
tree | f6fc95d58f4e4cd120106deb3ea1c59ae60f5c90 /llvm/lib/CodeGen | |
parent | 2f1dc3814bc68fd1a790a86e10c9f05f89bfa8a5 (diff) | |
download | bcm5719-llvm-bb6ff08766f3348a3e76d42d9fb8adacfaac8827.tar.gz bcm5719-llvm-bb6ff08766f3348a3e76d42d9fb8adacfaac8827.zip |
Silence sign-compare warning.
llvm-svn: 154297
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index f1b9f4385e4..a8822953caf 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/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(); } |