mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
ARM: Make sure the instruction alias for PLI uses the right subtarget features.
PLI requires both the Thumb2 and the ARMv7 feature. Related to <rdar://problem/14403733>. llvm-svn: 186620
This commit is contained in:
parent
2fd2f61532
commit
8ea80fdb93
@ -4429,4 +4429,6 @@ def : t2InstAlias<"add${p} $Rd, pc, $imm",
|
||||
(t2ADR rGPR:$Rd, imm0_4095:$imm, pred:$p)>;
|
||||
|
||||
// PLI with alternate literal form.
|
||||
def : t2InstAlias<"pli${p} $addr", (t2PLIpci t2ldr_pcrel_imm12:$addr, pred:$p)>;
|
||||
def : InstAlias<"pli${p} $addr",
|
||||
(t2PLIpci t2ldr_pcrel_imm12:$addr, pred:$p)>,
|
||||
Requires<[IsThumb2,HasV7]>;
|
||||
|
Loading…
Reference in New Issue
Block a user