diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2017-03-15 19:20:59 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2017-03-15 19:20:59 +0000 |
commit | 62cd73d989167ef7e812f367961fa9f2bfc6b333 (patch) | |
tree | e250a269da95c49f4c3eb6684836349ba11244f5 /llvm/lib/Target | |
parent | 86e02ce2dcb01b8383d2be39004e65014485d303 (diff) | |
download | bcm5719-llvm-62cd73d989167ef7e812f367961fa9f2bfc6b333.tar.gz bcm5719-llvm-62cd73d989167ef7e812f367961fa9f2bfc6b333.zip |
[GlobalISel][AArch64] Select ADDXri.
We're now able to select ADDWri thanks to the new complex pattern
support. Extend that to ADDXri.
llvm-svn: 297874
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64InstrFormats.td | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrFormats.td b/llvm/lib/Target/AArch64/AArch64InstrFormats.td index d57e1db1d33..6da730618e0 100644 --- a/llvm/lib/Target/AArch64/AArch64InstrFormats.td +++ b/llvm/lib/Target/AArch64/AArch64InstrFormats.td @@ -693,6 +693,10 @@ def gi_addsub_shifted_imm32 : GIComplexOperandMatcher<s32, (ops i32imm, i32imm), "selectArithImmed">, GIComplexPatternEquiv<addsub_shifted_imm32>; +def gi_addsub_shifted_imm64 : + GIComplexOperandMatcher<s64, (ops i32imm, i32imm), "selectArithImmed">, + GIComplexPatternEquiv<addsub_shifted_imm64>; + class neg_addsub_shifted_imm<ValueType Ty> : Operand<Ty>, ComplexPattern<Ty, 2, "SelectNegArithImmed", [imm]> { let PrintMethod = "printAddSubImm"; |