projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aac2c6
)
Silence VS2015 warning.
author
Yaron Keren
<yaron.keren@gmail.com>
Sat, 15 Aug 2015 14:54:43 +0000
(14:54 +0000)
committer
Yaron Keren
<yaron.keren@gmail.com>
Sat, 15 Aug 2015 14:54:43 +0000
(14:54 +0000)
Patch by James Touton!
http://reviews.llvm.org/D11890
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245161
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index 68a15e021cd205c8ae682750713ca16e0a70d643..fd93bf72342deb5169e25be65a13414f022d7baf 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-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,