diff options
author | Eric Christopher <echristo@apple.com> | 2009-10-31 09:24:35 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2009-10-31 09:24:35 +0000 |
commit | a0ca9e944f5c350e16e412d3d16772780e339eb3 (patch) | |
tree | cbe05685bf54090ab864866868b18dfb9375ad49 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | 358ced08d0eda02ddce23c4f73db594b3090622b (diff) | |
download | bcm5719-llvm-a0ca9e944f5c350e16e412d3d16772780e339eb3.tar.gz bcm5719-llvm-a0ca9e944f5c350e16e412d3d16772780e339eb3.zip |
Fix warning with gcc-4.0 and signed/unsigned.
llvm-svn: 85648
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 7243c33de12..c0d2a4d39a3 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -4233,7 +4233,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { 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; |