llvm.org GIT mirror llvm / a009d2e
Remove. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56018 91177308-0d34-0410-b5e6-96231b3b80d8 Devang Patel 11 years ago
1 changed file(s) with 0 addition(s) and 58 deletion(s). Raw diff Collapse all Expand all
+0
-58
test/Transforms/LoopStrengthReduce/2008-09-02-IVType.ll less more
None ; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep sext | count 1
1 ; ModuleID = ''
2 ; XFAIL: *
3 %struct.App1Marker = type <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }>
4 %struct.ComponentInstanceRecord = type <{ [1 x i32] }>
5 %struct.DCPredictors = type { [5 x i16] }
6 %struct.DecodeTable = type { i16, i16, i16, i16, i8**, i8** }
7 %struct.ICMDataProcRecord = type <{ i16 (i8**, i32, i32)*, i32 }>
8 %struct.JPEGBitStream = type { i8*, i32, i32, i32, i32, i32, %struct.App1Marker*, i8*, i32, i16, i16, i32 }
9 %struct.JPEGGlobals = type { [2048 x i8], %struct.JPEGBitStream, i8*, i32, i32, %struct.ComponentInstanceRecord*, %struct.ComponentInstanceRecord*, i32, %struct.OpaqueQTMLMutex*, %struct.Rect, i32, i32, %struct.SharedGlobals, %struct.DCPredictors, i8, i8, void (i8*, i16**, i32, %struct.YUVGeneralParams*)*, %struct.YUVGeneralParams, i16, i16, i32, [5 x i16*], [5 x %struct.DecodeTable*], [5 x %struct.DecodeTable*], [5 x i8], [5 x i8], [4 x [65 x i16]], [4 x %struct.DecodeTable], [4 x %struct.DecodeTable], [4 x i8*], [4 x i8*], i16, i16, i32, i8**, i8**, i8**, i8**, i8**, i8**, i8**, i8**, i8**, i8**, [18 x i8], [18 x i8], [18 x i8], [18 x i8], i32, i32, i8**, i8**, i8, i8, i8, i8, i16, i16, %struct.App1Marker*, i8, i8, i8, i8, i32**, i8*, i16*, i8*, i16*, i8, [3 x i8], i32, [3 x i32], [3 x i32], [3 x i32], [3 x i32], [3 x i32], [3 x i16*], [3 x i16*], [3 x i8**], [3 x %struct.DecodeTable*], [3 x %struct.DecodeTable*], [3 x i32], i32, [3 x i16*], i32, i32, i32, [3 x i32], i8, i8, i8, i8, %struct.ICMDataProcRecord*, i32, i32, i8**, i8**, i8**, i8**, i32, i32, i8*, i32, i32, i16*, i16*, i8*, i32, i32, i32, i32, i32, i32, i32, [16 x <2 x i64>], [1280 x i8], i8 }
10 %struct.OpaqueQTMLMutex = type opaque
11 %struct.Rect = type { i16, i16, i16, i16 }
12 %struct.SharedDGlobals = type { %struct.DecodeTable, %struct.DecodeTable, %struct.DecodeTable, %struct.DecodeTable }
13 %struct.SharedEGlobals = type { i8**, i8**, i8**, i8** }
14 %struct.SharedGlobals = type { %struct.SharedEGlobals*, %struct.SharedDGlobals* }
15 %struct.YUVGeneralParams = type { i16*, i8*, i8*, i8*, i8*, i8*, void (i8*, i16**, i32, %struct.YUVGeneralParams*)*, i16, i16, i16, [6 x i8], void (i8*, i16**, i32, %struct.YUVGeneralParams*)*, i16, i16 }
16 @llvm.used = appending global [1 x i8*] [ i8* bitcast (i16 (%struct.JPEGGlobals*)* @ExtractBufferedBlocksIgnored to i8*) ], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0]
17
18 define i16 @ExtractBufferedBlocksIgnored(%struct.JPEGGlobals* %globp) signext nounwind {
19 entry:
20 %tmp4311 = getelementptr %struct.JPEGGlobals* %globp, i32 0, i32 70 ; [#uses=1]
21 %tmp4412 = load i32* %tmp4311, align 16 ; [#uses=2]
22 %tmp4613 = icmp sgt i32 %tmp4412, 0 ; [#uses=1]
23 br i1 %tmp4613, label %bb, label %bb49
24
25 bb: ; preds = %bb28, %entry
26 %component.09 = phi i16 [ 0, %entry ], [ %tmp37, %bb28 ] ; [#uses=2]
27 %tmp12 = sext i16 %component.09 to i32 ; [#uses=2]
28 %tmp6 = getelementptr %struct.JPEGGlobals* %globp, i32 0, i32 77, i32 %tmp12 ; [#uses=2]
29 %tmp7 = load i16** %tmp6, align 4 ; [#uses=2]
30 %tmp235 = getelementptr %struct.JPEGGlobals* %globp, i32 0, i32 71, i32 %tmp12 ; [#uses=1]
31 %tmp246 = load i32* %tmp235, align 4 ; [#uses=2]
32 %tmp267 = icmp sgt i32 %tmp246, 0 ; [#uses=1]
33 br i1 %tmp267, label %bb8, label %bb28
34
35 bb8: ; preds = %bb8, %bb
36 %indvar = phi i32 [ 0, %bb ], [ %indvar.next2, %bb8 ] ; [#uses=3]
37 %theDCTBufferIter.01.rec = shl i32 %indvar, 6 ; [#uses=1]
38 %tmp10.rec = add i32 %theDCTBufferIter.01.rec, 64 ; [#uses=1]
39 %tmp10 = getelementptr i16* %tmp7, i32 %tmp10.rec ; [#uses=1]
40 %i.02 = trunc i32 %indvar to i16 ; [#uses=1]
41 %tmp13 = add i16 %i.02, 1 ; [#uses=1]
42 %phitmp = sext i16 %tmp13 to i32 ; [#uses=1]
43 %tmp26 = icmp slt i32 %phitmp, %tmp246 ; [#uses=1]
44 %indvar.next2 = add i32 %indvar, 1 ; [#uses=1]
45 br i1 %tmp26, label %bb8, label %bb28
46
47 bb28: ; preds = %bb8, %bb
48 %theDCTBufferIter.0.lcssa = phi i16* [ %tmp7, %bb ], [ %tmp10, %bb8 ] ; [#uses=1]
49 store i16* %theDCTBufferIter.0.lcssa, i16** %tmp6, align 4
50 %tmp37 = add i16 %component.09, 1 ; [#uses=2]
51 %phitmp15 = sext i16 %tmp37 to i32 ; [#uses=1]
52 %tmp46 = icmp slt i32 %phitmp15, 42 ; [#uses=1]
53 br i1 %tmp46, label %bb, label %bb49
54
55 bb49: ; preds = %bb28, %entry
56 ret i16 0
57 }