blob: 9f602653c2c0c8ca461d707cdd3082e16afc90e2 [file] [log] [blame]
; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
; Make sure that boolean immediates are properly (zero) extended.
; CHECK: TEST 42 + 1 - .
target triple = "powerpc64le-unknown-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 }