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:
d6e4967
)
X86 shifts mask the amount.
author
Chris Lattner
<sabre@nondot.org>
Wed, 19 Jan 2005 03:36:30 +0000
(
03:36
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 19 Jan 2005 03:36:30 +0000
(
03:36
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19678
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelPattern.cpp
b/lib/Target/X86/X86ISelPattern.cpp
index f6065b13374f394c13f68e9f54c4d9c04b18045e..1228d70bc04af5b8063823997f713f70f3472e05 100644
(file)
--- a/
lib/Target/X86/X86ISelPattern.cpp
+++ b/
lib/Target/X86/X86ISelPattern.cpp
@@
-43,6
+43,7
@@
namespace {
// X86 is wierd, it always uses i8 for shift amounts and setcc results.
setShiftAmountType(MVT::i8);
setSetCCResultType(MVT::i8);
+ setShiftAmountFlavor(Mask); // shl X, 32 == shl X, 0
// Set up the register classes.
addRegisterClass(MVT::i8, X86::R8RegisterClass);