1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00

Fix bug in testcase

llvm-svn: 3223
This commit is contained in:
Chris Lattner 2002-08-02 19:54:05 +00:00
parent 5d9be21256
commit 4f1571b6ca

View File

@ -2,9 +2,10 @@
; SOME instruction named %c here, even if it's a bitwise and.
;
; RUN: as < %s | opt -instcombine | grep '%c'
;
ulong %test3(ulong %A) {
%c1 = cast ulong %A to ubyte ; <ubyte> [#uses=0]
%c2 = cast ulong %A to ulong ; <ulong> [#uses=0]
%c1 = cast ulong %A to ubyte
%c2 = cast ubyte %c1 to ulong
ret ulong %A
}