Silence VS2015 warning.

Patch by James Touton!

http://reviews.llvm.org/D11890

llvm-svn: 245161
This commit is contained in:
Yaron Keren 2015-08-15 14:54:43 +00:00
parent 0750c84623
commit 8b2a031cff
1 changed files with 1 additions and 1 deletions

View File

@ -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,