blob: 7ce791cf0e5feadb2ebcfdf88981fa801edad05b [file] [log] [blame]
Chris Lattnera1651c72002-08-02 18:46:53 +00001; This testcase is incorrectly getting completely eliminated. There should be
2; SOME instruction named %c here, even if it's a bitwise and.
3;
Chris Lattnerf6f95d02002-08-02 19:27:58 +00004; RUN: as < %s | opt -instcombine | grep '%c'
Chris Lattnera1651c72002-08-02 18:46:53 +00005ulong %test3(ulong %A) {
6 %c1 = cast ulong %A to ubyte ; <ubyte> [#uses=0]
7 %c2 = cast ulong %A to ulong ; <ulong> [#uses=0]
8 ret ulong %A
9}
10