llvm-for-llvmta/test/CodeGen/SystemZ/inline-asm-i-constraint-i1.ll

15 lines
365 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -mtriple=s390x-linux-gnu < %s | FileCheck %s
; Make sure that boolean immediates are properly (zero) extended.
; CHECK: TEST 42 + 1 - .
target triple = "s390x-linux-gnu"
define i32 @foo() #0 {
entry:
tail call void asm sideeffect "#TEST 42 + ${0:c} - .\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i1 true) #0
ret i32 1
}
attributes #0 = { nounwind }