1 ; RUN: llc < %s -fast-isel -fast-isel-abort -march=x86 -mattr=sse2
3 ; This tests very minimal fast-isel functionality.
5 define i32* @foo(i32* %p, i32* %q, i32** %z) nounwind {
20 %t7 = getelementptr i32* %y, i32 1
21 %t8 = getelementptr i32* %t7, i32 %t6
28 define double @bar(double* %p, double* %q) nounwind {
35 %t0 = fadd double %r, %s
36 %t1 = fmul double %t0, %s
37 %t2 = fsub double %t1, %s
38 %t3 = fadd double %t2, 707.0
45 define i32 @cast() nounwind {
47 %tmp2 = bitcast i32 0 to i32
51 define i1 @ptrtoint_i1(i8* %p) nounwind {
52 %t = ptrtoint i8* %p to i1
55 define i8* @inttoptr_i1(i1 %p) nounwind {
56 %t = inttoptr i1 %p to i8*
59 define i32 @ptrtoint_i32(i8* %p) nounwind {
60 %t = ptrtoint i8* %p to i32
63 define i8* @inttoptr_i32(i32 %p) nounwind {
64 %t = inttoptr i32 %p to i8*
68 define void @store_i1(i1* %p, i1 %t) nounwind {
72 define i1 @load_i1(i1* %p) nounwind {