Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.
[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: llvm-as < %s | opt -instcombine -die | llvm-dis | grep '%c'
5 ;
6 ulong %test3(ulong %A) {
7         %c1 = cast ulong %A to ubyte
8         %c2 = cast ubyte %c1 to ulong
9         ret ulong %c2
10 }
11