mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-04 18:09:20 +00:00
ARMPat is equivalent to Requires<[IsARM]>.
llvm-svn: 154210
This commit is contained in:
parent
ce15da8935
commit
446611ae2a
@ -4812,10 +4812,9 @@ def : Pat<(ARMtcret (i32 tglobaladdr:$dst)), (TCRETURNdi texternalsym:$dst)>;
|
||||
def : Pat<(ARMtcret (i32 texternalsym:$dst)), (TCRETURNdi texternalsym:$dst)>;
|
||||
|
||||
// Direct calls
|
||||
def : ARMPat<(ARMcall texternalsym:$func), (BL texternalsym:$func)>,
|
||||
Requires<[IsARM]>;
|
||||
def : ARMPat<(ARMcall texternalsym:$func), (BL texternalsym:$func)>;
|
||||
def : ARMPat<(ARMcall_nolink texternalsym:$func),
|
||||
(BMOVPCB_CALL texternalsym:$func)>, Requires<[IsARM]>;
|
||||
(BMOVPCB_CALL texternalsym:$func)>;
|
||||
|
||||
// zextload i1 -> zextload i8
|
||||
def : ARMPat<(zextloadi1 addrmode_imm12:$addr), (LDRBi12 addrmode_imm12:$addr)>;
|
||||
|
Loading…
Reference in New Issue
Block a user