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 4 5 .text 6 .warning 7 8{ 9 v7.tmp = vmem(r28 + #3) 10 v7:6.w = vadd(v17:16.w, v17:16.w) 11 v17:16.uw = vunpack(v8.uh) 12} 13 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: 20