llvm/test/CodeGen/ARM/2009-06-02-ISelCrash.ll
Bob Wilson 5bafff36c7 Add support for ARM's Advanced SIMD (NEON) instruction set.
This is still a work in progress but most of the NEON instruction set
is supported.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73919 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-22 23:27:02 +00:00

63 lines
1.7 KiB
LLVM

; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -relocation-model=pic -mattr=+v6,+vfp2
@"\01LC" = external constant [15 x i8] ; <[15 x i8]*> [#uses=1]
declare i32 @printf(i8* nocapture, ...) nounwind
define i32 @main() nounwind {
entry:
br label %bb.i1.i
bb.i1.i: ; preds = %Cos.exit.i.i, %entry
br label %bb.i.i.i
bb.i.i.i: ; preds = %bb.i.i.i, %bb.i1.i
br i1 undef, label %Cos.exit.i.i, label %bb.i.i.i
Cos.exit.i.i: ; preds = %bb.i.i.i
br i1 undef, label %bb2.i.i, label %bb.i1.i
bb2.i.i: ; preds = %Cos.exit.i.i
br label %bb3.i.i
bb3.i.i: ; preds = %bb5.i.i, %bb2.i.i
br label %bb4.i.i
bb4.i.i: ; preds = %bb4.i.i, %bb3.i.i
br i1 undef, label %bb5.i.i, label %bb4.i.i
bb5.i.i: ; preds = %bb4.i.i
br i1 undef, label %bb.i, label %bb3.i.i
bb.i: ; preds = %bb.i, %bb5.i.i
br i1 undef, label %bb1.outer2.i.i.outer, label %bb.i
bb1.outer2.i.i.outer: ; preds = %Fft.exit.i, %bb5.i12.i, %bb.i
br label %bb1.outer2.i.i
bb1.outer2.i.i: ; preds = %bb2.i9.i, %bb1.outer2.i.i.outer
br label %bb1.i.i
bb1.i.i: ; preds = %bb1.i.i, %bb1.outer2.i.i
br i1 undef, label %bb2.i9.i, label %bb1.i.i
bb2.i9.i: ; preds = %bb1.i.i
br i1 undef, label %bb4.i11.i, label %bb1.outer2.i.i
bb4.i11.i: ; preds = %bb4.i11.i, %bb2.i9.i
br i1 undef, label %bb5.i12.i, label %bb4.i11.i
bb5.i12.i: ; preds = %bb4.i11.i
br i1 undef, label %bb7.i.i, label %bb1.outer2.i.i.outer
bb7.i.i: ; preds = %bb7.i.i, %bb5.i12.i
br i1 undef, label %Fft.exit.i, label %bb7.i.i
Fft.exit.i: ; preds = %bb7.i.i
br i1 undef, label %bb5.i, label %bb1.outer2.i.i.outer
bb5.i: ; preds = %Fft.exit.i
%0 = tail call i32 (i8*, ...)* @printf(i8* getelementptr ([15 x i8]* @"\01LC", i32 0, i32 0), double undef, double undef) nounwind ; <i32> [#uses=0]
unreachable
}