Revert "make reciprocal estimate code generation more flexible by adding command...
[oota-llvm.git] / test / CodeGen / Hexagon / union-1.ll
1 ; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s
2 ; CHECK: word
3 ; CHECK-NOT: combine(#0
4 ; CHECK: jump bar
5 ; XFAIL: *
6 ; Disable this test temporarily.
7
8 define void @word(i32* nocapture %a) nounwind {
9 entry:
10   %0 = load i32, i32* %a, align 4
11   %1 = zext i32 %0 to i64
12   %add.ptr = getelementptr inbounds i32, i32* %a, i32 1
13   %2 = load i32, i32* %add.ptr, align 4
14   %3 = zext i32 %2 to i64
15   %4 = shl nuw i64 %3, 32
16   %ins = or i64 %4, %1
17   tail call void @bar(i64 %ins) nounwind
18   ret void
19 }
20
21 declare void @bar(i64)