10 lines · plain
1# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 | FileCheck %s2 3{ r0=sub(#1,r0)4 r1=sub(#1, r0)5 r2=memw(r0)6 dczeroa(r0) }7# CHECK: 5:3: note: Instruction was restricted from being in slot 18# CHECK: 6:3: note: Instruction can only be combined with an ALU instruction in slot 19# CHECK: 6:15: error: invalid instruction packet: slot error10