mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00:00
Remove test which is no longer relevant.
llvm-svn: 94944
This commit is contained in:
parent
19c5c57885
commit
0babc63336
@ -1,15 +0,0 @@
|
||||
; PR1280 - we should be able to reduce this function to a trunc/sext but it
|
||||
; would involve using a bit width (24) that doesn't match a size that
|
||||
; the back end can handle. This test makes sure that such a transform
|
||||
; is not done. It should be removed when code gen supports "funny"
|
||||
; bit widths.
|
||||
|
||||
; RUN: opt < %s -instcombine -S | grep {add i49.*-8388608}
|
||||
|
||||
define i49 @test5(i49 %x) {
|
||||
;; If we have ADD(XOR(AND(X, 0xFF), 0x80), 0xF..F80), it's a sext.
|
||||
%X = and i49 %x, 16777215 ; 0x0000000ffffff
|
||||
%tmp.2 = xor i49 %X, 8388608 ; 0x0000000800000
|
||||
%tmp.4 = add i49 %tmp.2, -8388608 ; 0x1FFFFFF800000
|
||||
ret i49 %tmp.4
|
||||
}
|
Loading…
Reference in New Issue
Block a user