Make sure this doesn't break when we're improving the isels

llvm-svn: 23014
This commit is contained in:
Chris Lattner 2005-08-24 16:48:49 +00:00
parent 86b1658d58
commit 03e64f6c1e
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
; RUN: llvm-as < %s | llc -march=ppc32 | grep 'srwi r., r., 5'
int %eq0(int %a) {
%tmp.1 = seteq int %a, 0 ; <bool> [#uses=1]
%tmp.2 = cast bool %tmp.1 to int ; <int> [#uses=1]
ret int %tmp.2
}