projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix a bug handling frame references in ppc inline asm when the frame offset
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
seteq-0.ll
1
; RUN: llvm-upgrade < %s | llvm-as | \
2
; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
3
; RUN: grep {srwi r., r., 5}
4
5
int %eq0(int %a) {
6
%tmp.1 = seteq int %a, 0 ; <bool> [#uses=1]
7
%tmp.2 = cast bool %tmp.1 to int ; <int> [#uses=1]
8
ret int %tmp.2
9
}