From: Tim Northover Date: Sat, 29 Mar 2014 11:51:49 +0000 (+0000) Subject: ARM64: use 64-bit constant even on 32-bit machines X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9f36b6632420ab9b0d6c208e82e4c3c1217ec0ea;p=oota-llvm.git 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 --- diff --git a/lib/Target/ARM64/ARM64ISelLowering.cpp b/lib/Target/ARM64/ARM64ISelLowering.cpp index bfc91f98b67..76096088dfd 100644 --- a/lib/Target/ARM64/ARM64ISelLowering.cpp +++ b/lib/Target/ARM64/ARM64ISelLowering.cpp @@ -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...