File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -1100,10 +1100,14 @@ let SubtargetPredicate = isGFX10Plus in {
1100
1100
"$simm16"> {
1101
1101
let has_sdst = 0;
1102
1102
}
1103
+ } // End SubtargetPredicate = isGFX10Plus
1103
1104
1105
+ let SubtargetPredicate = isGFX10GFX11 in {
1104
1106
def S_SUBVECTOR_LOOP_BEGIN : SOPK_32_BR<"s_subvector_loop_begin">;
1105
1107
def S_SUBVECTOR_LOOP_END : SOPK_32_BR<"s_subvector_loop_end">;
1108
+ } // End SubtargetPredicate = isGFX10GFX11
1106
1109
1110
+ let SubtargetPredicate = isGFX10Plus in {
1107
1111
def S_WAITCNT_VSCNT : SOPK_WAITCNT<"s_waitcnt_vscnt">;
1108
1112
def S_WAITCNT_VMCNT : SOPK_WAITCNT<"s_waitcnt_vmcnt">;
1109
1113
def S_WAITCNT_EXPCNT : SOPK_WAITCNT<"s_waitcnt_expcnt">;
Original file line number Diff line number Diff line change
1
+ // RUN: not llvm - mc - arch=amdgcn - m cpu =gfx1200 %s 2 >& 1 | FileCheck -- implicit - check - not =error: %s
2
+
3
+ //=== ---------------------------------------------------------------------- ===//
4
+ // Unsupported instructions.
5
+ //=== ---------------------------------------------------------------------- ===//
6
+
7
+ s_subvector_loop_begin s0 , 0x1234
8
+ // CHECK: : [[ @LINE - 1 ]] :{{ [ 0 - 9 ]+ }}: error: instruction not supported on this GPU
9
+
10
+ s_subvector_loop_end s0 , 0x1234
11
+ // CHECK: : [[ @LINE - 1 ]] :{{ [ 0 - 9 ]+ }}: error: instruction not supported on this GPU
You can’t perform that action at this time.
0 commit comments