llvm-for-llvmta/test/CodeGen/X86/inline-asm-imm-out-of-range.ll

8 lines
212 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: not llc -mtriple=i686-- -no-integrated-as < %s 2>&1 | FileCheck %s
; CHECK: error: value out of range for constraint 'I'
define void @foo() {
call void asm sideeffect "foo $0", "I"(i32 42)
ret void
}