mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Resync lea32addr and lea64addr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77893 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e6864c1d35
commit
a98634ba14
@ -45,7 +45,7 @@ def lea64_32mem : Operand<i32> {
|
|||||||
// Complex Pattern Definitions.
|
// Complex Pattern Definitions.
|
||||||
//
|
//
|
||||||
def lea64addr : ComplexPattern<i64, 4, "SelectLEAAddr",
|
def lea64addr : ComplexPattern<i64, 4, "SelectLEAAddr",
|
||||||
[add, mul, X86mul_imm, shl, or, frameindex,
|
[add, sub, mul, X86mul_imm, shl, or, frameindex,
|
||||||
X86WrapperRIP], []>;
|
X86WrapperRIP], []>;
|
||||||
|
|
||||||
def tls64addr : ComplexPattern<i64, 4, "SelectTLSADDRAddr",
|
def tls64addr : ComplexPattern<i64, 4, "SelectTLSADDRAddr",
|
||||||
|
@ -232,7 +232,8 @@ def brtarget8 : Operand<OtherVT> {
|
|||||||
// Define X86 specific addressing mode.
|
// Define X86 specific addressing mode.
|
||||||
def addr : ComplexPattern<iPTR, 5, "SelectAddr", [], []>;
|
def addr : ComplexPattern<iPTR, 5, "SelectAddr", [], []>;
|
||||||
def lea32addr : ComplexPattern<i32, 4, "SelectLEAAddr",
|
def lea32addr : ComplexPattern<i32, 4, "SelectLEAAddr",
|
||||||
[add, sub, mul, shl, or, frameindex], []>;
|
[add, sub, mul, X86mul_imm, shl, or, frameindex],
|
||||||
|
[]>;
|
||||||
def tls32addr : ComplexPattern<i32, 4, "SelectTLSADDRAddr",
|
def tls32addr : ComplexPattern<i32, 4, "SelectTLSADDRAddr",
|
||||||
[tglobaltlsaddr], []>;
|
[tglobaltlsaddr], []>;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user