mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-12 22:53:08 +00:00
New testcase
llvm-svn: 3218
This commit is contained in:
parent
10d007f835
commit
bc08630f50
@ -0,0 +1,10 @@
|
||||
; This testcase is incorrectly getting completely eliminated. There should be
|
||||
; SOME instruction named %c here, even if it's a bitwise and.
|
||||
;
|
||||
; RUN: as < %s | opt -instcombine -dce | grep '%c'
|
||||
ulong %test3(ulong %A) {
|
||||
%c1 = cast ulong %A to ubyte ; <ubyte> [#uses=0]
|
||||
%c2 = cast ulong %A to ulong ; <ulong> [#uses=0]
|
||||
ret ulong %A
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user