mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 22:26:16 +00:00
Specify transformation from GlobalAddress to TargetGlobalAddress and
ExternalSymbol to TargetExternalSymbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f805c2ed7f
commit
77e9043b84
@ -2959,8 +2959,8 @@ def RDTSC : I<0x31, RawFrm, (ops), "rdtsc", [(X86rdtsc)]>,
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// GlobalAddress and ExternalSymbol
|
||||
def : Pat<(i32 globaladdr:$dst), (MOV32ri globaladdr:$dst)>;
|
||||
def : Pat<(i32 externalsym:$dst), (MOV32ri externalsym:$dst)>;
|
||||
def : Pat<(i32 globaladdr:$dst), (MOV32ri tglobaladdr:$dst)>;
|
||||
def : Pat<(i32 externalsym:$dst), (MOV32ri texternalsym:$dst)>;
|
||||
|
||||
// Calls
|
||||
def : Pat<(X86call tglobaladdr:$dst),
|
||||
|
Loading…
Reference in New Issue
Block a user