forked from OSchip/llvm-project
Silence VS2015 warning.
Patch by James Touton! http://reviews.llvm.org/D11890 llvm-svn: 245161
This commit is contained in:
parent
0750c84623
commit
8b2a031cff
|
@ -4981,7 +4981,7 @@ LowerAsSplatVectorLoad(SDValue SrcOp, MVT VT, SDLoc dl, SelectionDAG &DAG) {
|
|||
return SDValue();
|
||||
if ((Offset % RequiredAlign) & 3)
|
||||
return SDValue();
|
||||
int64_t StartOffset = Offset & ~(RequiredAlign-1);
|
||||
int64_t StartOffset = Offset & ~int64_t(RequiredAlign - 1);
|
||||
if (StartOffset) {
|
||||
SDLoc DL(Ptr);
|
||||
Ptr = DAG.getNode(ISD::ADD, DL, Ptr.getValueType(), Ptr,
|
||||
|
|
Loading…
Reference in New Issue