mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 07:31:39 +00:00
X86 shifts mask the amount.
llvm-svn: 19678
This commit is contained in:
parent
fbd1f8e4fd
commit
419a5d213b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user