forked from OSchip/llvm-project
parent
394f436c39
commit
437b9aa632
|
@ -0,0 +1,8 @@
|
|||
; RUN: llvm-as < %s | llc -march=ppc32 | not grep srawi &&
|
||||
; RUN: llvm-as < %s | llc -march=ppc32 | grep blr
|
||||
|
||||
int %test(int %X) {
|
||||
%Y = and int %X, 15
|
||||
%Z = div int %Y, 4
|
||||
ret int %Z
|
||||
}
|
Loading…
Reference in New Issue