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 @@ -1803,7 +1803,7 @@ def : GCNPat<
1803
1803
let SubtargetPredicate = isNotGFX12Plus in
1804
1804
def : GCNPat <(int_amdgcn_s_wait_event_export_ready), (S_WAIT_EVENT (i16 0))>;
1805
1805
let SubtargetPredicate = isGFX12Plus in
1806
- def : GCNPat <(int_amdgcn_s_wait_event_export_ready), (S_WAIT_EVENT (i16 1 ))>;
1806
+ def : GCNPat <(int_amdgcn_s_wait_event_export_ready), (S_WAIT_EVENT (i16 2 ))>;
1807
1807
1808
1808
// The first 10 bits of the mode register are the core FP mode on all
1809
1809
// 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