14 lines · plain
1; Negative test. The constraint 'l' represents the register 'lo'.2; Check error message in case of invalid usage.3;4; RUN: not llc -mtriple=mips -filetype=obj < %s 2>&1 | FileCheck %s5 6define void @constraint_l() nounwind {7entry:8 9; CHECK: error: invalid operand for instruction10 11 tail call i16 asm sideeffect "addiu $0,$1,$2", "=l,r,r,~{$1}"(i16 0, i16 0)12 ret void13}14