Use SCEVAddRecExpr::isAffine.
[oota-llvm.git] / test / CodeGen / Alpha / 2006-04-04-zextload.ll
1 ; RUN: llvm-as < %s | llc -march=alpha
2
3 target datalayout = "e-p:64:64"
4 target triple = "alphaev67-unknown-linux-gnu"
5         %llvm.dbg.compile_unit.type = type { i32, {  }*, i32, i32, i8*, i8*, i8* }
6         %struct._Callback_list = type { %struct._Callback_list*, void (i32, %struct.ios_base*, i32)*, i32, i32 }
7         %struct._Impl = type { i32, %struct.facet**, i64, %struct.facet**, i8** }
8         %struct._Words = type { i8*, i64 }
9         %"struct.__codecvt_abstract_base<char,char,__mbstate_t>" = type { %struct.facet }
10         %"struct.basic_streambuf<char,std::char_traits<char> >" = type { i32 (...)**, i8*, i8*, i8*, i8*, i8*, i8*, %struct.locale }
11         %struct.facet = type { i32 (...)**, i32 }
12         %struct.ios_base = type { i32 (...)**, i64, i64, i32, i32, i32, %struct._Callback_list*, %struct._Words, [8 x %struct._Words], i32, %struct._Words*, %struct.locale }
13         %struct.locale = type { %struct._Impl* }
14         %"struct.ostreambuf_iterator<char,std::char_traits<char> >" = type { %"struct.basic_streambuf<char,std::char_traits<char> >"*, i1 }
15 @llvm.dbg.compile_unit1047 = external global %llvm.dbg.compile_unit.type          ; <%llvm.dbg.compile_unit.type*> [#uses=1]
16
17 define void @_ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE15_M_insert_floatIdEES3_S3_RSt8ios_baseccT_() {
18 entry:
19         %tmp234 = icmp eq i8 0, 0               ; <i1> [#uses=1]
20         br i1 %tmp234, label %cond_next243, label %cond_true235
21
22 cond_true235:           ; preds = %entry
23         ret void
24
25 cond_next243:           ; preds = %entry
26         %tmp428 = load i64* null                ; <i64> [#uses=1]
27         %tmp428.upgrd.1 = trunc i64 %tmp428 to i32              ; <i32> [#uses=1]
28         %tmp429 = alloca i8, i32 %tmp428.upgrd.1                ; <i8*> [#uses=0]
29         call void @llvm.dbg.stoppoint( i32 1146, i32 0, {  }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit1047 to {  }*) )
30         unreachable
31 }
32
33 declare void @llvm.dbg.stoppoint(i32, i32, {  }*)
34