diff options
Diffstat (limited to 'test/Transforms/TailCallElim/reorder_load.ll')
-rw-r--r-- | test/Transforms/TailCallElim/reorder_load.ll | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/Transforms/TailCallElim/reorder_load.ll b/test/Transforms/TailCallElim/reorder_load.ll index 2e350d6..b989bbf 100644 --- a/test/Transforms/TailCallElim/reorder_load.ll +++ b/test/Transforms/TailCallElim/reorder_load.ll @@ -16,7 +16,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define fastcc i32 @raise_load_1(i32* %a_arg, i32 %a_len_arg, i32 %start_arg) nounwind readonly { ; CHECK-LABEL: @raise_load_1( ; CHECK-NOT: call -; CHECK: load i32* +; CHECK: load i32, i32* ; CHECK-NOT: call ; CHECK: } entry: @@ -29,7 +29,7 @@ if: ; preds = %entry else: ; preds = %entry %tmp7 = add i32 %start_arg, 1 ; <i32> [#uses=1] %tmp8 = call fastcc i32 @raise_load_1(i32* %a_arg, i32 %a_len_arg, i32 %tmp7) ; <i32> [#uses=1] - %tmp9 = load i32* %a_arg ; <i32> [#uses=1] + %tmp9 = load i32, i32* %a_arg ; <i32> [#uses=1] %tmp10 = add i32 %tmp9, %tmp8 ; <i32> [#uses=1] ret i32 %tmp10 } @@ -40,7 +40,7 @@ else: ; preds = %entry define fastcc i32 @raise_load_2(i32* %a_arg, i32 %a_len_arg, i32 %start_arg) readonly { ; CHECK-LABEL: @raise_load_2( ; CHECK-NOT: call -; CHECK: load i32* +; CHECK: load i32, i32* ; CHECK-NOT: call ; CHECK: } entry: @@ -60,7 +60,7 @@ unwind: ; preds = %else recurse: ; preds = %else %tmp7 = add i32 %start_arg, 1 ; <i32> [#uses=1] %tmp8 = call fastcc i32 @raise_load_2(i32* %a_arg, i32 %a_len_arg, i32 %tmp7) ; <i32> [#uses=1] - %tmp9 = load i32* @global ; <i32> [#uses=1] + %tmp9 = load i32, i32* @global ; <i32> [#uses=1] %tmp10 = add i32 %tmp9, %tmp8 ; <i32> [#uses=1] ret i32 %tmp10 } @@ -71,7 +71,7 @@ recurse: ; preds = %else define fastcc i32 @raise_load_3(i32* %a_arg, i32 %a_len_arg, i32 %start_arg) nounwind readonly { ; CHECK-LABEL: @raise_load_3( ; CHECK-NOT: call -; CHECK: load i32* +; CHECK: load i32, i32* ; CHECK-NOT: call ; CHECK: } entry: @@ -84,7 +84,7 @@ if: ; preds = %entry else: ; preds = %entry %tmp7 = add i32 %start_arg, 1 ; <i32> [#uses=1] %tmp8 = call fastcc i32 @raise_load_3(i32* %a_arg, i32 %a_len_arg, i32 %tmp7) ; <i32> [#uses=1] - %tmp9 = load i32* @extern_weak_global ; <i32> [#uses=1] + %tmp9 = load i32, i32* @extern_weak_global ; <i32> [#uses=1] %tmp10 = add i32 %tmp9, %tmp8 ; <i32> [#uses=1] ret i32 %tmp10 } @@ -96,8 +96,8 @@ else: ; preds = %entry define fastcc i32 @raise_load_4(i32* %a_arg, i32 %a_len_arg, i32 %start_arg) readonly { ; CHECK-LABEL: @raise_load_4( ; CHECK-NOT: call -; CHECK: load i32* -; CHECK-NEXT: load i32* +; CHECK: load i32, i32* +; CHECK-NEXT: load i32, i32* ; CHECK-NOT: call ; CHECK: } entry: @@ -116,9 +116,9 @@ unwind: ; preds = %else recurse: ; preds = %else %tmp7 = add i32 %start_arg, 1 ; <i32> [#uses=1] - %first = load i32* %a_arg ; <i32> [#uses=1] + %first = load i32, i32* %a_arg ; <i32> [#uses=1] %tmp8 = call fastcc i32 @raise_load_4(i32* %a_arg, i32 %first, i32 %tmp7) ; <i32> [#uses=1] - %second = load i32* %a_arg ; <i32> [#uses=1] + %second = load i32, i32* %a_arg ; <i32> [#uses=1] %tmp10 = add i32 %second, %tmp8 ; <i32> [#uses=1] ret i32 %tmp10 } |