projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
When using CR bit registers on PPC32, handle the i1 vaarg case
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
ppc32-i1-vaarg.ll
1
; RUN: llc < %s -march=ppc32 -mcpu=ppc32 | FileCheck %s
2
target triple = "powerpc-unknown-linux-gnu"
3
4
declare void @printf(i8*, ...)
5
6
define void @main() {
7
call void (i8*, ...)* @printf(i8* undef, i1 false)
8
ret void
9
}
10
11
; CHECK-LABEL: @main
12
; CHECK-DAG li 4, 0
13
; CHECK-DAG: crxor 6, 6, 6
14
; CHECK: bl printf
15