diff options
Diffstat (limited to 'test/Transforms/LoopRotate/PhiRename-1.ll')
-rw-r--r-- | test/Transforms/LoopRotate/PhiRename-1.ll | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/test/Transforms/LoopRotate/PhiRename-1.ll b/test/Transforms/LoopRotate/PhiRename-1.ll index a224777..8ec0fbf 100644 --- a/test/Transforms/LoopRotate/PhiRename-1.ll +++ b/test/Transforms/LoopRotate/PhiRename-1.ll @@ -36,59 +36,59 @@ entry: %op = alloca %struct.operator*, align 4 ; <%struct.operator**> [#uses=3] store i32 %arity, i32* %arity_addr store i32 0, i32* %c - %tmp1 = load %struct.list** @operators ; <%struct.list*> [#uses=1] + %tmp1 = load %struct.list*, %struct.list** @operators ; <%struct.list*> [#uses=1] store %struct.list* %tmp1, %struct.list** %l br label %bb21 bb: ; preds = %bb21 - %tmp3 = getelementptr %struct.list* %tmp22, i32 0, i32 0 ; <i8**> [#uses=1] - %tmp4 = load i8** %tmp3 ; <i8*> [#uses=1] + %tmp3 = getelementptr %struct.list, %struct.list* %tmp22, i32 0, i32 0 ; <i8**> [#uses=1] + %tmp4 = load i8*, i8** %tmp3 ; <i8*> [#uses=1] %tmp45 = bitcast i8* %tmp4 to %struct.operator* ; <%struct.operator*> [#uses=1] store %struct.operator* %tmp45, %struct.operator** %op - %tmp6 = load %struct.operator** %op ; <%struct.operator*> [#uses=1] - %tmp7 = getelementptr %struct.operator* %tmp6, i32 0, i32 5 ; <i32*> [#uses=1] - %tmp8 = load i32* %tmp7 ; <i32> [#uses=1] - %tmp9 = load i32* %arity_addr ; <i32> [#uses=1] + %tmp6 = load %struct.operator*, %struct.operator** %op ; <%struct.operator*> [#uses=1] + %tmp7 = getelementptr %struct.operator, %struct.operator* %tmp6, i32 0, i32 5 ; <i32*> [#uses=1] + %tmp8 = load i32, i32* %tmp7 ; <i32> [#uses=1] + %tmp9 = load i32, i32* %arity_addr ; <i32> [#uses=1] icmp eq i32 %tmp8, %tmp9 ; <i1>:0 [#uses=1] zext i1 %0 to i8 ; <i8>:1 [#uses=1] icmp ne i8 %1, 0 ; <i1>:2 [#uses=1] br i1 %2, label %cond_true, label %cond_next cond_true: ; preds = %bb - %tmp10 = load %struct.operator** %op ; <%struct.operator*> [#uses=1] - %tmp11 = getelementptr %struct.operator* %tmp10, i32 0, i32 2 ; <i32*> [#uses=1] - %tmp12 = load i32* %tmp11 ; <i32> [#uses=1] - %tmp13 = load %struct.FILE** @outfile ; <%struct.FILE*> [#uses=1] - %tmp14 = getelementptr [11 x i8]* @str1, i32 0, i32 0 ; <i8*> [#uses=1] + %tmp10 = load %struct.operator*, %struct.operator** %op ; <%struct.operator*> [#uses=1] + %tmp11 = getelementptr %struct.operator, %struct.operator* %tmp10, i32 0, i32 2 ; <i32*> [#uses=1] + %tmp12 = load i32, i32* %tmp11 ; <i32> [#uses=1] + %tmp13 = load %struct.FILE*, %struct.FILE** @outfile ; <%struct.FILE*> [#uses=1] + %tmp14 = getelementptr [11 x i8], [11 x i8]* @str1, i32 0, i32 0 ; <i8*> [#uses=1] %tmp15 = call i32 (%struct.FILE*, i8*, ...)* @fprintf( %struct.FILE* %tmp13, i8* %tmp14, i32 %tmp12 ) ; <i32> [#uses=0] - %tmp16 = load i32* %c ; <i32> [#uses=1] + %tmp16 = load i32, i32* %c ; <i32> [#uses=1] %tmp17 = add i32 %tmp16, 1 ; <i32> [#uses=1] store i32 %tmp17, i32* %c br label %cond_next cond_next: ; preds = %cond_true, %bb - %tmp19 = getelementptr %struct.list* %tmp22, i32 0, i32 1 ; <%struct.list**> [#uses=1] - %tmp20 = load %struct.list** %tmp19 ; <%struct.list*> [#uses=1] + %tmp19 = getelementptr %struct.list, %struct.list* %tmp22, i32 0, i32 1 ; <%struct.list**> [#uses=1] + %tmp20 = load %struct.list*, %struct.list** %tmp19 ; <%struct.list*> [#uses=1] store %struct.list* %tmp20, %struct.list** %l br label %bb21 bb21: ; preds = %cond_next, %entry %l.in = phi %struct.list** [ @operators, %entry ], [ %tmp19, %cond_next ] - %tmp22 = load %struct.list** %l.in ; <%struct.list*> [#uses=1] + %tmp22 = load %struct.list*, %struct.list** %l.in ; <%struct.list*> [#uses=1] icmp ne %struct.list* %tmp22, null ; <i1>:3 [#uses=1] zext i1 %3 to i8 ; <i8>:4 [#uses=1] icmp ne i8 %4, 0 ; <i1>:5 [#uses=1] br i1 %5, label %bb, label %bb23 bb23: ; preds = %bb21 - %tmp24 = load i32* %c ; <i32> [#uses=1] + %tmp24 = load i32, i32* %c ; <i32> [#uses=1] store i32 %tmp24, i32* %tmp - %tmp25 = load i32* %tmp ; <i32> [#uses=1] + %tmp25 = load i32, i32* %tmp ; <i32> [#uses=1] store i32 %tmp25, i32* %retval br label %return return: ; preds = %bb23 - %retval26 = load i32* %retval ; <i32> [#uses=1] + %retval26 = load i32, i32* %retval ; <i32> [#uses=1] ret i32 %retval26 } |