; 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 | grep '%c'
;
ulong %test3(ulong %A) {
        %c1 = cast ulong %A to ubyte
        %c2 = cast ubyte %c1 to ulong
        ret ulong %A
}


; 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 -die | dis | grep '%c'
;
ulong %test3(ulong %A) {
        %c1 = cast ulong %A to ubyte
        %c2 = cast ubyte %c1 to ulong
        ret ulong %c2
}


Fix yet another bug in the testcase
Fix yet another bug in the testcase


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@3224 91177308-0d34-0410-b5e6-96231b3b80d8
