this test isn't testing what it thought it was

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36088 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-04-15 21:33:36 +00:00
parent c58ef0185b
commit 9b63ceeada

View File

@ -1,17 +0,0 @@
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel | not grep 'test.*AL' || \
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel | not grep 'cmove.*EAX'
; This testcase was compiling to:
;
; _pypy_simple5:
; movl $13, %ecx
; movl $12, %eax
; movb 4(%esp), %al
; testb %al, %al ;; clobber EAX!
; cmove %ecx, %eax
; ret
int %pypy_simple5(bool %b_4787) {
%retval = select bool %b_4787, int 12, int 13 ; <int> [#uses=1]
ret int %retval
}