6 lines · plain
1# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>%t; FileCheck %s <%t2 3{ r0=memw_locked(r0)4 r1=sfadd(r0,r0) }5# CHECK: 3:3: error: Instruction can only be in a packet with ALU or non-FPU XTYPE instructions6 1# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>%t; FileCheck %s <%t2 3{ r0=memw_locked(r0)4 r1=sfadd(r0,r0) }5# CHECK: 3:3: error: Instruction can only be in a packet with ALU or non-FPU XTYPE instructions6