mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 23:48:49 +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.
|
||||
//
|
||||
def lea64addr : ComplexPattern<i64, 4, "SelectLEAAddr",
|
||||
[add, mul, X86mul_imm, shl, or, frameindex,
|
||||
[add, sub, mul, X86mul_imm, shl, or, frameindex,
|
||||
X86WrapperRIP], []>;
|
||||
|
||||
def tls64addr : ComplexPattern<i64, 4, "SelectTLSADDRAddr",
|
||||
|
@ -232,7 +232,8 @@ def brtarget8 : Operand<OtherVT> {
|
||||
// Define X86 specific addressing mode.
|
||||
def addr : ComplexPattern<iPTR, 5, "SelectAddr", [], []>;
|
||||
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",
|
||||
[tglobaltlsaddr], []>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user