1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Fix for 64-bit builds.

llvm-svn: 86600
This commit is contained in:
Mike Stump 2009-11-09 22:28:21 +00:00
parent 86f32da164
commit c2b669b3b2

View File

@ -4287,7 +4287,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
EVT Ty = Arg.getValueType();
if (CI->getZExtValue() < 2)
setValue(&I, DAG.getConstant(-1U, Ty));
setValue(&I, DAG.getConstant(-1ULL, Ty));
else
setValue(&I, DAG.getConstant(0, Ty));
return 0;