Change test to really test the cases we can hit
[oota-llvm.git] / test / Transforms / InstCombine / 2002-08-02-CastTest.ll
1 ; This testcase is incorrectly getting completely eliminated.  There should be
2 ; SOME instruction named %c here, even if it's a bitwise and.
3 ;
4 ; RUN: as < %s | opt -instcombine -dce | grep '%c'
5 ulong %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