mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
X86 zero extends setcc results
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21146 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b5987d56e
commit
6659bd7592
@ -43,6 +43,7 @@ namespace {
|
||||
// X86 is wierd, it always uses i8 for shift amounts and setcc results.
|
||||
setShiftAmountType(MVT::i8);
|
||||
setSetCCResultType(MVT::i8);
|
||||
setSetCCResultContents(ZeroOrOneSetCCResult);
|
||||
setShiftAmountFlavor(Mask); // shl X, 32 == shl X, 0
|
||||
|
||||
// Set up the register classes.
|
||||
|
Loading…
Reference in New Issue
Block a user