brintos

brintos / llvm-project-archived public Read only

0
0
Text · 706 B · 6ffb227 Raw
15 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx942 %s 2>&1 | FileCheck %s --implicit-check-not=error: --strict-whitespace2 3//==============================================================================4// instruction must not use sc05 6global_atomic_or v[0:1], v2, off sc1 nt sc07// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must not use sc08// CHECK-NEXT:{{^}}global_atomic_or v[0:1], v2, off sc1 nt sc09// CHECK-NEXT:{{^}}                                        ^10 11global_atomic_or v[0:1], v2, off sc0 sc1 nt12// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must not use sc013// CHECK-NEXT:{{^}}global_atomic_or v[0:1], v2, off sc0 sc1 nt14// CHECK-NEXT:{{^}}                                 ^15