ARM64: use 64-bit constant even on 32-bit machines

Another existing bot failure so no tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205093 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Tim Northover 2014-03-29 11:51:49 +00:00
parent 88ac45ffa7
commit 9f36b66324

View File

@ -5158,7 +5158,7 @@ SDValue ARM64TargetLowering::LowerBUILD_VECTOR(SDValue Op,
// and NEG) are passed through unmodified. This allows codegen patterns
// for these operations to match. Special-purpose patterns will lower
// these immediates to MOVIs if it proves necessary.
if (VT.isInteger() && (CnstVal == 0 || CnstVal == ~0UL))
if (VT.isInteger() && (CnstVal == 0 || CnstVal == ~0ULL))
return Op;
// The many faces of MOVI...