OSDN Git Service

[LoopInterchange] Simplify splitInnerLoopHeader logic (NFC).
[android-x86/external-llvm.git] / test / CodeGen / Mips / inlineasm-cnstrnt-bad-l.ll
1 ; Negative test. The constraint 'l' represents the register 'lo'.
2 ; Check error message in case of invalid usage.
3 ;
4 ; RUN: not llc -march=mips -filetype=obj < %s 2>&1 | FileCheck %s
5
6 define void @constraint_l() nounwind {
7 entry:
8
9 ; CHECK: error: invalid operand for instruction
10
11   tail call i16 asm sideeffect "addiu $0,$1,$2", "=l,r,r,~{$1}"(i16 0, i16 0)
12   ret void
13 }