mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
24287b9edb
llvm-svn: 366302
15 lines
387 B
LLVM
15 lines
387 B
LLVM
; RUN: llc -mtriple=mips64el-unknown-linux-gnu < %s | FileCheck %s
|
|
|
|
; Make sure that boolean immediates are properly (zero) extended.
|
|
; CHECK: TEST 42 + 1 - .
|
|
|
|
target triple = "mips64el-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 }
|