projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f414970b198f6d3ce993b52ee111ac6aa005e023
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
div-2.ll
1
; RUN: llvm-as < %s | llc -march=ppc32 | not grep srawi &&
2
; RUN: llvm-as < %s | llc -march=ppc32 | grep blr
3
4
int %test(int %X) {
5
%Y = and int %X, 15
6
%Z = div int %Y, 4
7
ret int %Z
8
}