llvm/test/CodeGen/AArch64/tailcall_misched_graph.ll: s/REQUIRE/REQUIRES/
[oota-llvm.git] / test / CodeGen / PowerPC / delete-node.ll
1 ; RUN: llc < %s -march=ppc32
2
3 ; The DAGCombiner leaves behind a dead node in this testcase. Currently
4 ; ISel is ignoring dead nodes, though it would be preferable for
5 ; DAGCombiner to be able to eliminate the dead node.
6
7 define void @GrayATo32ARGBTabB(i8* %baseAddr, i16** %cmp, i32 %rowBytes) nounwind {
8 entry:
9         br label %bb1
10
11 bb1:            ; preds = %bb1, %entry
12         %0 = load i16, i16* null, align 2            ; <i16> [#uses=1]
13         %1 = ashr i16 %0, 4             ; <i16> [#uses=1]
14         %2 = sext i16 %1 to i32         ; <i32> [#uses=1]
15         %3 = getelementptr i8, i8* null, i32 %2             ; <i8*> [#uses=1]
16         %4 = load i8, i8* %3, align 1               ; <i8> [#uses=1]
17         %5 = zext i8 %4 to i32          ; <i32> [#uses=1]
18         %6 = shl i32 %5, 24             ; <i32> [#uses=1]
19         %7 = or i32 0, %6               ; <i32> [#uses=1]
20         store i32 %7, i32* null, align 4
21         br label %bb1
22 }