Skip to content

Commit ef8feb6

Browse files
committed
[AMDGPU][MC][NFC] Correct error message
Differential Revision: https://reviews.llvm.org/D134028
1 parent 591452e commit ef8feb6

11 files changed

+58
-58
lines changed

llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4353,7 +4353,7 @@ bool AMDGPUAsmParser::validateVOPLiteral(const MCInst &Inst,
43534353
}
43544354

43554355
if (NumLiterals > 1) {
4356-
Error(getLitLoc(Operands, true), "only one literal operand is allowed");
4356+
Error(getLitLoc(Operands, true), "only one unique literal operand is allowed");
43574357
return false;
43584358
}
43594359

@@ -4613,7 +4613,7 @@ bool AMDGPUAsmParser::validateInstruction(const MCInst &Inst,
46134613
}
46144614
if (!validateSOPLiteral(Inst)) {
46154615
Error(getLitLoc(Operands),
4616-
"only one literal operand is allowed");
4616+
"only one unique literal operand is allowed");
46174617
return false;
46184618
}
46194619
if (!validateVOPLiteral(Inst, Operands)) {

llvm/test/MC/AMDGPU/expressions-gfx10.s

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,19 @@ v_lshlrev_b64 v[5:6], u-1, v[2:3]
5555
//===----------------------------------------------------------------------===//
5656

5757
s_sub_u32 s0, 123, u
58-
// NOGFX10: error: only one literal operand is allowed
58+
// NOGFX10: error: only one unique literal operand is allowed
5959

6060
s_sub_u32 s0, u, u
61-
// NOGFX10: error: only one literal operand is allowed
61+
// NOGFX10: error: only one unique literal operand is allowed
6262

6363
s_sub_u32 s0, u, u1
64-
// NOGFX10: error: only one literal operand is allowed
64+
// NOGFX10: error: only one unique literal operand is allowed
6565

6666
v_bfe_u32 v0, v2, 123, u
67-
// NOGFX10: error: only one literal operand is allowed
67+
// NOGFX10: error: only one unique literal operand is allowed
6868

6969
v_bfe_u32 v0, v2, u, u
70-
// NOGFX10: error: only one literal operand is allowed
70+
// NOGFX10: error: only one unique literal operand is allowed
7171

7272
v_bfe_u32 v0, v2, u, u1
73-
// NOGFX10: error: only one literal operand is allowed
73+
// NOGFX10: error: only one unique literal operand is allowed

llvm/test/MC/AMDGPU/expressions-gfx9.s

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ v_mov_b32_sdwa v1, sext(u)
1414
//===----------------------------------------------------------------------===//
1515

1616
s_sub_u32 s0, 123, u
17-
// NOGFX9: error: only one literal operand is allowed
17+
// NOGFX9: error: only one unique literal operand is allowed
1818

1919
s_sub_u32 s0, u, u
20-
// NOGFX9: error: only one literal operand is allowed
20+
// NOGFX9: error: only one unique literal operand is allowed
2121

2222
s_sub_u32 s0, u, u1
23-
// NOGFX9: error: only one literal operand is allowed
23+
// NOGFX9: error: only one unique literal operand is allowed
2424

2525
v_bfe_u32 v0, v2, v3, u
2626
// NOGFX9: error: literal operands are not supported

llvm/test/MC/AMDGPU/gfx10_asm_err.s

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,19 +280,19 @@ v_mov_b32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7]
280280

281281
v_fmaak_f32 v0, 0xff32ff, v0, 0x11213141
282282
// GFX6-9: error: instruction not supported on this GPU
283-
// GFX10: error: only one literal operand is allowed
283+
// GFX10: error: only one unique literal operand is allowed
284284

285285
v_fmamk_f32 v0, 0xff32ff, 0x11213141, v0
286286
// GFX6-9: error: instruction not supported on this GPU
287-
// GFX10: error: only one literal operand is allowed
287+
// GFX10: error: only one unique literal operand is allowed
288288

289289
v_fmaak_f32 v0, 0xff32, v0, 0x1122
290290
// GFX6-9: error: instruction not supported on this GPU
291-
// GFX10: error: only one literal operand is allowed
291+
// GFX10: error: only one unique literal operand is allowed
292292

293293
v_fmamk_f32 v0, 0xff32, 0x1122, v0
294294
// GFX6-9: error: instruction not supported on this GPU
295-
// GFX10: error: only one literal operand is allowed
295+
// GFX10: error: only one unique literal operand is allowed
296296

297297
//===----------------------------------------------------------------------===//
298298
// VOP2 E64.

llvm/test/MC/AMDGPU/gfx10_err_pos.s

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,50 +1037,50 @@ v_mov_b32 v0, v0 row_bcast:0
10371037
// CHECK-NEXT:{{^}} ^
10381038

10391039
//==============================================================================
1040-
// only one literal operand is allowed
1040+
// only one unique literal operand is allowed
10411041

10421042
s_and_b32 s2, 0x12345678, 0x12345679
1043-
// CHECK: error: only one literal operand is allowed
1043+
// CHECK: error: only one unique literal operand is allowed
10441044
// CHECK-NEXT:{{^}}s_and_b32 s2, 0x12345678, 0x12345679
10451045
// CHECK-NEXT:{{^}} ^
10461046

10471047
v_add_f64 v[0:1], 1.23456, -abs(1.2345)
1048-
// CHECK: error: only one literal operand is allowed
1048+
// CHECK: error: only one unique literal operand is allowed
10491049
// CHECK-NEXT:{{^}}v_add_f64 v[0:1], 1.23456, -abs(1.2345)
10501050
// CHECK-NEXT:{{^}} ^
10511051

10521052
v_min3_i16 v5, 0x5678, 0x5678, 0x5679
1053-
// CHECK: error: only one literal operand is allowed
1053+
// CHECK: error: only one unique literal operand is allowed
10541054
// CHECK-NEXT:{{^}}v_min3_i16 v5, 0x5678, 0x5678, 0x5679
10551055
// CHECK-NEXT:{{^}} ^
10561056

10571057
v_pk_add_f16 v1, 25.0, 25.1
1058-
// CHECK: error: only one literal operand is allowed
1058+
// CHECK: error: only one unique literal operand is allowed
10591059
// CHECK-NEXT:{{^}}v_pk_add_f16 v1, 25.0, 25.1
10601060
// CHECK-NEXT:{{^}} ^
10611061

10621062
v_fma_mix_f32 v5, 0x7c, 0x7b, 1
1063-
// CHECK: error: only one literal operand is allowed
1063+
// CHECK: error: only one unique literal operand is allowed
10641064
// CHECK-NEXT:{{^}}v_fma_mix_f32 v5, 0x7c, 0x7b, 1
10651065
// CHECK-NEXT:{{^}} ^
10661066

10671067
v_pk_add_i16 v5, 0x7c, 0x4000
1068-
// CHECK: error: only one literal operand is allowed
1068+
// CHECK: error: only one unique literal operand is allowed
10691069
// CHECK-NEXT:{{^}}v_pk_add_i16 v5, 0x7c, 0x4000
10701070
// CHECK-NEXT:{{^}} ^
10711071

10721072
v_pk_add_i16 v5, 0x4400, 0x4000
1073-
// CHECK: error: only one literal operand is allowed
1073+
// CHECK: error: only one unique literal operand is allowed
10741074
// CHECK-NEXT:{{^}}v_pk_add_i16 v5, 0x4400, 0x4000
10751075
// CHECK-NEXT:{{^}} ^
10761076

10771077
v_bfe_u32 v0, v2, 123, undef
1078-
// CHECK: error: only one literal operand is allowed
1078+
// CHECK: error: only one unique literal operand is allowed
10791079
// CHECK-NEXT:{{^}}v_bfe_u32 v0, v2, 123, undef
10801080
// CHECK-NEXT:{{^}} ^
10811081

10821082
v_bfe_u32 v0, v2, undef, 123
1083-
// CHECK: error: only one literal operand is allowed
1083+
// CHECK: error: only one unique literal operand is allowed
10841084
// CHECK-NEXT:{{^}}v_bfe_u32 v0, v2, undef, 123
10851085
// CHECK-NEXT:{{^}} ^
10861086

llvm/test/MC/AMDGPU/gfx11_asm_vopd_errs.s

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//===----------------------------------------------------------------------===//
66

77
v_dual_mul_f32 v11, 0x24681357, v2 :: v_dual_mul_f32 v10, 0xbabe, v5
8-
// GFX11: error: only one literal operand is allowed
8+
// GFX11: error: only one unique literal operand is allowed
99
// GFX11-NEXT:{{^}}v_dual_mul_f32 v11, 0x24681357, v2 :: v_dual_mul_f32 v10, 0xbabe, v5
1010
// GFX11-NEXT:{{^}} ^
1111

@@ -15,27 +15,27 @@ v_dual_mul_f32 v11, 0x24681357, v2 :: v_dual_mul_f32 v10, 0x
1515
//===----------------------------------------------------------------------===//
1616

1717
v_dual_fmamk_f32 v122, v74, 0xa0172923, v161 :: v_dual_lshlrev_b32 v247, 0xbabe, v99
18-
// GFX11: error: only one literal operand is allowed
18+
// GFX11: error: only one unique literal operand is allowed
1919
// GFX11-NEXT:{{^}}v_dual_fmamk_f32 v122, v74, 0xa0172923, v161 :: v_dual_lshlrev_b32 v247, 0xbabe, v99
2020
// GFX11-NEXT:{{^}} ^
2121

2222
v_dual_add_f32 v5, 0xaf123456, v2 :: v_dual_fmaak_f32 v6, v3, v1, 0xbabe
23-
// GFX11: error: only one literal operand is allowed
23+
// GFX11: error: only one unique literal operand is allowed
2424
// GFX11-NEXT:{{^}}v_dual_add_f32 v5, 0xaf123456, v2 :: v_dual_fmaak_f32 v6, v3, v1, 0xbabe
2525
// GFX11-NEXT:{{^}} ^
2626

2727
v_dual_add_f32 v5, 0xaf123456, v2 :: v_dual_fmaak_f32 v6, 0xbabe, v1, 0xbabe
28-
// GFX11: error: only one literal operand is allowed
28+
// GFX11: error: only one unique literal operand is allowed
2929
// GFX11-NEXT:{{^}}v_dual_add_f32 v5, 0xaf123456, v2 :: v_dual_fmaak_f32 v6, 0xbabe, v1, 0xbabe
3030
// GFX11-NEXT:{{^}} ^
3131

3232
v_dual_fmamk_f32 v122, 0xdeadbeef, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, 0xdeadbeef, 0x1234, v162
33-
// GFX11: error: only one literal operand is allowed
33+
// GFX11: error: only one unique literal operand is allowed
3434
// GFX11-NEXT:{{^}}v_dual_fmamk_f32 v122, 0xdeadbeef, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, 0xdeadbeef, 0x1234, v162
3535
// GFX11-NEXT:{{^}} ^
3636

3737
v_dual_fmamk_f32 v122, 0xdeadbeef, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, s0, 0x1234, v162
38-
// GFX11: error: only one literal operand is allowed
38+
// GFX11: error: only one unique literal operand is allowed
3939
// GFX11-NEXT:{{^}}v_dual_fmamk_f32 v122, 0xdeadbeef, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, s0, 0x1234, v162
4040
// GFX11-NEXT:{{^}} ^
4141

@@ -44,22 +44,22 @@ v_dual_fmamk_f32 v122, 0xdeadbeef, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v12
4444
//===----------------------------------------------------------------------===//
4545

4646
v_dual_fmamk_f32 v122, 0xdeadbeef, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, 0xdeadbeef, 0x1234, v162
47-
// GFX11: error: only one literal operand is allowed
47+
// GFX11: error: only one unique literal operand is allowed
4848
// GFX11-NEXT:{{^}}v_dual_fmamk_f32 v122, 0xdeadbeef, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, 0xdeadbeef, 0x1234, v162
4949
// GFX11-NEXT:{{^}} ^
5050

5151
v_dual_fmamk_f32 v122, 0xdeadbeef, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, 0x1234, 0xdeadbeef, v162
52-
// GFX11: error: only one literal operand is allowed
52+
// GFX11: error: only one unique literal operand is allowed
5353
// GFX11-NEXT:{{^}}v_dual_fmamk_f32 v122, 0xdeadbeef, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, 0x1234, 0xdeadbeef, v162
5454
// GFX11-NEXT:{{^}} ^
5555

5656
v_dual_fmamk_f32 v122, 0xdeadbeef, 0x1234, v161 :: v_dual_fmamk_f32 v123, 0xdeadbeef, 0xdeadbeef, v162
57-
// GFX11: error: only one literal operand is allowed
57+
// GFX11: error: only one unique literal operand is allowed
5858
// GFX11-NEXT:{{^}}v_dual_fmamk_f32 v122, 0xdeadbeef, 0x1234, v161 :: v_dual_fmamk_f32 v123, 0xdeadbeef, 0xdeadbeef, v162
5959
// GFX11-NEXT:{{^}} ^
6060

6161
v_dual_fmamk_f32 v122, 0x1234, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, 0xdeadbeef, 0xdeadbeef, v162
62-
// GFX11: error: only one literal operand is allowed
62+
// GFX11: error: only one unique literal operand is allowed
6363
// GFX11-NEXT:{{^}}v_dual_fmamk_f32 v122, 0x1234, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, 0xdeadbeef, 0xdeadbeef, v162
6464
// GFX11-NEXT:{{^}} ^
6565

@@ -69,7 +69,7 @@ v_dual_fmamk_f32 v122, 0x1234, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v12
6969
//===----------------------------------------------------------------------===//
7070

7171
v_dual_fmamk_f32 v122, s0, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, s0, 0x1234, v162
72-
// GFX11: error: only one literal operand is allowed
72+
// GFX11: error: only one unique literal operand is allowed
7373
// GFX11-NEXT:{{^}}v_dual_fmamk_f32 v122, s0, 0xdeadbeef, v161 :: v_dual_fmamk_f32 v123, s0, 0x1234, v162
7474
// GFX11-NEXT:{{^}} ^
7575

llvm/test/MC/AMDGPU/literals.s

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -843,18 +843,18 @@ v_madak_f32 v0, shared_base, v0, 0x11213141
843843
// NOGCN: error: invalid operand (violates constant bus restrictions)
844844
v_madak_f32 v0, scc, v0, 0x11213141
845845

846-
// NOGCN: error: only one literal operand is allowed
846+
// NOGCN: error: only one unique literal operand is allowed
847847
v_madak_f32 v0, 0xff32ff, v0, 0x11213141
848848

849-
// NOGCN: error: only one literal operand is allowed
849+
// NOGCN: error: only one unique literal operand is allowed
850850
v_madmk_f32 v0, 0xff32ff, 0x11213141, v0
851851

852852
// NOSICI: error: instruction not supported on this GPU
853-
// NOGFX89: error: only one literal operand is allowed
853+
// NOGFX89: error: only one unique literal operand is allowed
854854
v_madak_f16 v0, 0xff32, v0, 0x1122
855855

856856
// NOSICI: error: instruction not supported on this GPU
857-
// NOGFX89: error: only one literal operand is allowed
857+
// NOGFX89: error: only one unique literal operand is allowed
858858
v_madmk_f16 v0, 0xff32, 0x1122, v0
859859

860860
// NOSICIVI: error: register not available on this GPU

llvm/test/MC/AMDGPU/literalv216-err.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ v_pk_add_f16 v1, 0x1000ffff, v2
3030

3131
v_pk_mad_i16 v5, 0x3c00, 0x4000, 0x4400
3232
// GFX9: error: literal operands are not supported
33-
// GFX10: error: only one literal operand is allowed
33+
// GFX10: error: only one unique literal operand is allowed
3434

3535
v_pk_mad_i16 v5, 0x3c00, 0x4000, 2
3636
// GFX9: error: literal operands are not supported
37-
// GFX10: error: only one literal operand is allowed
37+
// GFX10: error: only one unique literal operand is allowed
3838

3939
v_pk_mad_i16 v5, 0x3c00, 3, 2
4040
// GFX9: error: literal operands are not supported

llvm/test/MC/AMDGPU/sop2-err.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ s_cbranch_g_fork s[6:7], 100
77
// GCN: error: invalid operand for instruction
88

99
s_and_b32 s2, 0x12345678, 0x12345679
10-
// GCN: error: only one literal operand is allowed
10+
// GCN: error: only one unique literal operand is allowed
1111

1212
s_and_b64 s[2:3], 0x12345678, 0x12345679
13-
// GCN: error: only one literal operand is allowed
13+
// GCN: error: only one unique literal operand is allowed

llvm/test/MC/AMDGPU/sopc-err.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ s_set_gpr_idx_on s0, gpr_idx(SRC0,
2828
// VI: error: expected a VGPR index mode
2929

3030
s_cmp_eq_i32 0x12345678, 0x12345679
31-
// GCN: error: only one literal operand is allowed
31+
// GCN: error: only one unique literal operand is allowed
3232

3333
s_cmp_eq_u64 0x12345678, 0x12345679
34-
// GCN: error: only one literal operand is allowed
34+
// GCN: error: only one unique literal operand is allowed

llvm/test/MC/AMDGPU/vop3-literal.s

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ v_bfe_u32 v0, 0x3039, 0x3039, 0x3039
3232
// GFX9-ERR: error: literal operands are not supported
3333

3434
v_bfe_u32 v0, 0x3039, s1, 0x3038
35-
// GFX10-ERR: error: only one literal operand is allowed
35+
// GFX10-ERR: error: only one unique literal operand is allowed
3636
// GFX9-ERR: error: literal operands are not supported
3737

3838
v_bfe_u32 v0, 0x3039, v1, v2
3939
// GFX10: v_bfe_u32 v0, 0x3039, v1, v2 ; encoding: [0x00,0x00,0x48,0xd5,0xff,0x02,0x0a,0x04,0x39,0x30,0x00,0x00]
4040
// GFX9-ERR: error: literal operands are not supported
4141

4242
v_bfe_u32 v0, 0x3039, 0x12345, v2
43-
// GFX10-ERR: error: only one literal operand is allowed
43+
// GFX10-ERR: error: only one unique literal operand is allowed
4444
// GFX9-ERR: error: literal operands are not supported
4545

4646
v_bfe_u32 v0, s1, 0x3039, s1
@@ -64,7 +64,7 @@ v_bfm_b32_e64 v0, 0x3039, 0x3039
6464
// GFX9-ERR: error: literal operands are not supported
6565

6666
v_bfm_b32_e64 v0, 0x3039, 0x3038
67-
// GFX10-ERR: error: only one literal operand is allowed
67+
// GFX10-ERR: error: only one unique literal operand is allowed
6868
// GFX9-ERR: error: literal operands are not supported
6969

7070
v_pk_add_f16 v1, 25.0, v2
@@ -84,7 +84,7 @@ v_pk_add_f16 v1, 25.0, 25.0
8484
// GFX9-ERR: error: literal operands are not supported
8585

8686
v_pk_add_f16 v1, 25.0, 25.1
87-
// GFX10-ERR: error: only one literal operand is allowed
87+
// GFX10-ERR: error: only one unique literal operand is allowed
8888
// GFX9-ERR: error: literal operands are not supported
8989

9090
v_pk_add_u16 v1, -200, v2
@@ -156,7 +156,7 @@ v_add_f64 v[0:1], 1.23456, -abs(1.23456)
156156
// GFX9-ERR: error: literal operands are not supported
157157

158158
v_add_f64 v[0:1], 1.23456, -abs(1.2345)
159-
// GFX10-ERR: error: only one literal operand is allowed
159+
// GFX10-ERR: error: only one unique literal operand is allowed
160160
// GFX9-ERR: error: literal operands are not supported
161161

162162
v_max_i16_e64 v5, 0xfe0b, v2
@@ -188,11 +188,11 @@ v_min3_i16 v5, 0x5678, 0x5678, 0x5678
188188
// GFX9-ERR: error: literal operands are not supported
189189

190190
v_min3_i16 v5, 0x5678, 0x5679, 0x5678
191-
// GFX10-ERR: error: only one literal operand is allowed
191+
// GFX10-ERR: error: only one unique literal operand is allowed
192192
// GFX9-ERR: error: literal operands are not supported
193193

194194
v_min3_i16 v5, 0x5678, 0x5678, 0x5679
195-
// GFX10-ERR: error: only one literal operand is allowed
195+
// GFX10-ERR: error: only one unique literal operand is allowed
196196
// GFX9-ERR: error: literal operands are not supported
197197

198198
v_add_nc_u16 v5, 0xfe0b, v2
@@ -256,7 +256,7 @@ v_cmp_f_i32_e64 s[10:11], 0xaf123456, 0xaf123456
256256
// GFX9-ERR: error: literal operands are not supported
257257

258258
v_cmp_f_i32_e64 s[10:11], 0xaf123456, 0xaf123455
259-
// GFX10-ERR: error: only one literal operand is allowed
259+
// GFX10-ERR: error: only one unique literal operand is allowed
260260
// GFX9-ERR: error: literal operands are not supported
261261

262262
v_cmp_f_u64_e64 s[10:11], 0xaf123456, v[2:3]
@@ -284,7 +284,7 @@ v_cmpx_class_f32_e64 0xaf123456, 0xaf123456
284284
// GFX9-ERR: error: operands are not valid for this GPU or mode
285285

286286
v_cmpx_class_f32_e64 0xaf123456, 0xaf123455
287-
// GFX10-ERR: error: only one literal operand is allowed
287+
// GFX10-ERR: error: only one unique literal operand is allowed
288288
// GFX9-ERR: error: operands are not valid for this GPU or mode
289289

290290
v_cmpx_lt_i16_e64 v1, 0x3456
@@ -364,7 +364,7 @@ v_pk_add_i16 v5, 0xab7b, 0xab7b
364364
// GFX9-ERR: error: literal operands are not supported
365365

366366
v_pk_add_i16 v5, 0xab7b, 0xab7a
367-
// GFX10-ERR: error: only one literal operand is allowed
367+
// GFX10-ERR: error: only one unique literal operand is allowed
368368
// GFX9-ERR: error: literal operands are not supported
369369

370370
v_div_fmas_f32 v5, v1, 0x123, v3
@@ -388,7 +388,7 @@ v_div_fmas_f64 v[5:6], 0x12345678, 0x12345678, 0x12345678
388388
// GFX9-ERR: error: literal operands are not supported
389389

390390
v_div_fmas_f64 v[5:6], v[1:2], 0x123457, 0x123456
391-
// GFX10-ERR: error: only one literal operand is allowed
391+
// GFX10-ERR: error: only one unique literal operand is allowed
392392
// GFX9-ERR: error: literal operands are not supported
393393

394394
v_ldexp_f64 v[5:6], 0.12345, v2
@@ -400,5 +400,5 @@ v_ldexp_f64 v[5:6], 0.12345, 0x3fbf9a6b
400400
// GFX9-ERR: error: literal operands are not supported
401401

402402
v_ldexp_f64 v[5:6], 0.12345, 0x3fbf9a6c
403-
// GFX10-ERR: error: only one literal operand is allowed
403+
// GFX10-ERR: error: only one unique literal operand is allowed
404404
// GFX9-ERR: error: literal operands are not supported

0 commit comments

Comments
 (0)