commit | 6de661ad137c60e288bd4626f5817e39fc695e51 | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@apple.com> | Sat Oct 31 09:24:35 2009 +0000 |
committer | Eric Christopher <echristo@apple.com> | Sat Oct 31 09:24:35 2009 +0000 |
tree | 641e04e6d5e1f2d9551b16c579a1da993652e7b0 | |
parent | 326d7242e283922daf63e607bbc84e1498f76da7 [diff] |
Fix warning with gcc-4.0 and signed/unsigned. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85648 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 7243c33..c0d2a4d 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@ -4233,7 +4233,7 @@ EVT Ty = Arg.getValueType(); if (CI->getZExtValue() < 2) - setValue(&I, DAG.getConstant(-1, Ty)); + setValue(&I, DAG.getConstant(-1U, Ty)); else setValue(&I, DAG.getConstant(0, Ty)); return 0;