commit | c47bc3321825ff3aa9aee4ff125c5e9ee853e449 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sun Apr 08 19:04:45 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sun Apr 08 19:04:45 2012 +0000 |
tree | ae74938e867b016f41f7e9d738170cb504d95df7 | |
parent | 3ef3fcfc0414b96d626b706c6151596684b7d134 [diff] [blame] |
Silence sign-compare warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154297 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index f1b9f43..a882295 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -7824,7 +7824,7 @@ 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(); }