[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / Hexagon / nowarn.s
blobf5b24ebe59063a04423e396790823db18442a3c7
1 # RUN: llvm-mc -arch=hexagon -mhvx --filetype=asm %s -o - 2>&1 | FileCheck %s
2 # RUN: llvm-mc --no-warn -arch=hexagon -mhvx --filetype=obj %s -o - | llvm-objdump -d - | FileCheck --check-prefix=CHECK-NOWARN %s
3 # RUN: not llvm-mc --fatal-warnings -arch=hexagon -mhvx --filetype=asm %s 2>&1 | FileCheck --check-prefix=CHECK-FATAL-WARN %s
5 .text
6 .warning
9 v7.tmp = vmem(r28 + #3)
10 v7:6.w = vadd(v17:16.w, v17:16.w)
11 v17:16.uw = vunpack(v8.uh)
14 # CHECK-NOWARN-NOT: warning
15 # CHECK-FATAL-WARN-NOT: warning
16 # CHECK-FATAL-WARN: error
17 # CHECK-FATAL-WARN: error
18 # CHECK: warning:
19 # CHECK: warning: