File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -1786,7 +1786,7 @@ def : GCNPat<
1786
1786
let SubtargetPredicate = isNotGFX12Plus in
1787
1787
def : GCNPat <(int_amdgcn_s_wait_event_export_ready), (S_WAIT_EVENT (i16 0))>;
1788
1788
let SubtargetPredicate = isGFX12Plus in
1789
- def : GCNPat <(int_amdgcn_s_wait_event_export_ready), (S_WAIT_EVENT (i16 1 ))>;
1789
+ def : GCNPat <(int_amdgcn_s_wait_event_export_ready), (S_WAIT_EVENT (i16 2 ))>;
1790
1790
1791
1791
// The first 10 bits of the mode register are the core FP mode on all
1792
1792
// subtargets.
Original file line number Diff line number Diff line change 5
5
6
6
; GCN-LABEL: {{^}}test_wait_event:
7
7
; GFX11: s_wait_event 0x0
8
- ; GFX12: s_wait_event 0x1
8
+ ; GFX12: s_wait_event 0x2
9
9
10
- define amdgpu_ps void @test_wait_event () # 0 {
10
+ define amdgpu_ps void @test_wait_event () {
11
11
entry:
12
- call void @llvm.amdgcn.s.wait.event.export.ready () # 0
12
+ call void @llvm.amdgcn.s.wait.event.export.ready ()
13
13
ret void
14
14
}
15
-
16
- declare void @llvm.amdgcn.s.wait.event.export.ready () #0
17
-
18
- attributes #0 = { nounwind }
You can’t perform that action at this time.
0 commit comments