Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx940_err_pos.s
blob3823c0eb80277ea9e9452b4941ef9177baf6ed8e
1 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx940 %s 2>&1 | FileCheck %s --implicit-check-not=error: --strict-whitespace
3 //==============================================================================
4 // instruction must not use sc0
6 global_atomic_or v[0:1], v2, off sc1 nt sc0
7 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must not use sc0
8 // CHECK-NEXT:{{^}}global_atomic_or v[0:1], v2, off sc1 nt sc0
9 // CHECK-NEXT:{{^}} ^
11 global_atomic_or v[0:1], v2, off sc0 sc1 nt
12 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must not use sc0
13 // CHECK-NEXT:{{^}}global_atomic_or v[0:1], v2, off sc0 sc1 nt
14 // CHECK-NEXT:{{^}} ^