mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-09 05:47:13 +00:00
Fix warning with gcc-4.0 and signed/unsigned.
llvm-svn: 85648
This commit is contained in:
parent
9178904e56
commit
dec076697a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user