New testcase, should turn into a ushr

llvm-svn: 23658
This commit is contained in:
Chris Lattner 2005-10-07 06:10:03 +00:00
parent 394f436c39
commit 437b9aa632
1 changed files with 8 additions and 0 deletions

View File

@ -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
}