bolt/deps/llvm-18.1.8/llvm/test/MC/AMDGPU/gfx940_err_pos.s
2025-02-14 19:21:04 +01:00

14 lines
706 B
ArmAsm

// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx940 %s 2>&1 | FileCheck %s --implicit-check-not=error: --strict-whitespace
//==============================================================================
// instruction must not use sc0
global_atomic_or v[0:1], v2, off sc1 nt sc0
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must not use sc0
// CHECK-NEXT:{{^}}global_atomic_or v[0:1], v2, off sc1 nt sc0
// CHECK-NEXT:{{^}} ^
global_atomic_or v[0:1], v2, off sc0 sc1 nt
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must not use sc0
// CHECK-NEXT:{{^}}global_atomic_or v[0:1], v2, off sc0 sc1 nt
// CHECK-NEXT:{{^}} ^