17 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1250 -show-encoding %s 2>&1 | FileCheck --check-prefix=GFX1250-ERR --implicit-check-not=error: --strict-whitespace %s2 3s_buffer_load_i8 s5, s[4:7], s0 scale_offset4// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: scale_offset is not supported for this instruction5// GFX1250-ERR-NEXT:{{^}}s_buffer_load_i8 s5, s[4:7], s0 scale_offset6// GFX1250-ERR-NEXT:{{^}} ^7 8s_prefetch_data s[18:19], 100, s10, 7 nv9// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction10// GFX1250-ERR-NEXT:{{^}}s_prefetch_data s[18:19], 100, s10, 7 nv11// GFX1250-ERR-NEXT:{{^}} ^12 13s_prefetch_data s[18:19], 100, s10, 7 scale_offset14// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction15// GFX1250-ERR-NEXT:{{^}}s_prefetch_data s[18:19], 100, s10, 7 scale_offset16// GFX1250-ERR-NEXT:{{^}} ^17