Pull out failing test into a seperate file, which is xfailed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18117 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-11-22 19:24:11 +00:00
parent 1e17a1d77c
commit f73820adc3
2 changed files with 9 additions and 6 deletions

View File

@ -0,0 +1,9 @@
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep and
; XFAIL: *
sbyte %test21(sbyte %A) {
%C = shr sbyte %A, ubyte 7 ;; sign extend
%D = and sbyte %C, 1 ;; chop off sign
ret sbyte %D
}

View File

@ -137,12 +137,6 @@ ubyte %test20(ubyte %A) {
ret ubyte %D
}
sbyte %test21(sbyte %A) {
%C = shr sbyte %A, ubyte 7 ;; sign extend
%D = and sbyte %C, 1 ;; chop off sign
ret sbyte %D
}
bool %test22(int %A) {
%B = seteq int %A, 1
%C = setge int %A, 3