Skip to content

Commit dfa8430

Browse files
committed
mac doesn't fail yet
1 parent 045416d commit dfa8430

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
// RUN: not llvm-mc -triple=amdgcn -show-encoding %s | FileCheck %s
2-
// RUN: not llvm-mc -triple=amdgcn -show-encoding -filetype=null %s 2>&1 | FileCheck --implicit-check-not=error -check-prefix=ERR %s
1+
// RUN: llvm-mc -triple=amdgcn -show-encoding < %s | FileCheck %s
2+
// RUN: llvm-mc -triple=amdgcn -mcpu=tahiti -show-encoding < %s | FileCheck %s
33

44
// CHECK: v_cmp_lt_f32_e32 vcc, s2, v4 ; encoding: [0x02,0x08,0x02,0x7c]
55
v_cmp_lt_f32 vcc, s2, v4
66

77
// CHECK: v_cndmask_b32_e32 v1, v2, v3, vcc ; encoding: [0x02,0x07,0x02,0x00]
88
v_cndmask_b32 v1, v2, v3, vcc
99

10-
// ERR: [[@LINE+1]]:1: error: instruction not supported on this GPU
10+
// CHECK: v_mac_legacy_f32_e64 v1, v3, s5 ; encoding: [0x01,0x00,0x0c,0xd2,0x03,0x0b,0x00,0x00]
1111
v_mac_legacy_f32 v1, v3, s5
1212

13+
// CHECK: v_lshr_b32_e32 v0, v1, v2 ; encoding: [0x01,0x05,0x00,0x2a]
14+
v_lshr_b32 v0, v1, v2

0 commit comments

Comments
 (0)