1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

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 3151f1ba38
commit 720d11da49

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
}