[AArch64] Set default schedule of load-acquire RCpc instructions. (#172881)
This patch sets the default schedule of RCpc load-acquires to WriteLD, same as it's done for rcpc-immo load-acquires.
This commit is contained in:
parent
64d4d10875
commit
e8391d4619
@ -2091,7 +2091,7 @@ class SpecialReturn<bits<4> opc, string asm>
|
||||
let mayLoad = 1 in
|
||||
class RCPCLoad<bits<2> sz, string asm, RegisterClass RC>
|
||||
: I<(outs RC:$Rt), (ins GPR64sp0:$Rn), asm, "\t$Rt, [$Rn]", "", []>,
|
||||
Sched<[]> {
|
||||
Sched<[WriteLD]> {
|
||||
bits<5> Rn;
|
||||
bits<5> Rt;
|
||||
let Inst{31-30} = sz;
|
||||
|
||||
@ -8,8 +8,8 @@
|
||||
define hidden <vscale x 2 x i64> @test_load_sve_lane0(ptr nocapture noundef readonly %a, <vscale x 2 x i64> noundef %b) local_unnamed_addr {
|
||||
; CHECK-LABEL: test_load_sve_lane0:
|
||||
; CHECK: // %bb.0:
|
||||
; CHECK-NEXT: ldapr x8, [x0]
|
||||
; CHECK-NEXT: ptrue p0.d, vl1
|
||||
; CHECK-NEXT: ldapr x8, [x0]
|
||||
; CHECK-NEXT: mov z0.d, p0/m, x8
|
||||
; CHECK-NEXT: ret
|
||||
%1 = load atomic i64, ptr %a acquire, align 8
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user