diff options
author | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
commit | a86343512845c9c1fdbac865fea88aa5fce7142a (patch) | |
tree | 666fc6353de19ad8b00e56b67edd33f24104e4a7 /llvm/test/Transforms/ArgumentPromotion/aggregate-promote.ll | |
parent | 7f8ca6e3679b3af951cb7a4b1377edfaa3244b93 (diff) | |
download | bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.tar.gz bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.zip |
Temporarily Revert "Add basic loop fusion pass."
As it's causing some bot failures (and per request from kbarton).
This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda.
llvm-svn: 358546
Diffstat (limited to 'llvm/test/Transforms/ArgumentPromotion/aggregate-promote.ll')
-rw-r--r-- | llvm/test/Transforms/ArgumentPromotion/aggregate-promote.ll | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/llvm/test/Transforms/ArgumentPromotion/aggregate-promote.ll b/llvm/test/Transforms/ArgumentPromotion/aggregate-promote.ll deleted file mode 100644 index b0bab7784ed..00000000000 --- a/llvm/test/Transforms/ArgumentPromotion/aggregate-promote.ll +++ /dev/null @@ -1,31 +0,0 @@ -; RUN: opt < %s -argpromotion -S | FileCheck %s -; RUN: opt < %s -passes=argpromotion -S | FileCheck %s - -%T = type { i32, i32, i32, i32 } -@G = constant %T { i32 0, i32 0, i32 17, i32 25 } - -define internal i32 @test(%T* %p) { -; CHECK-LABEL: define internal i32 @test( -; CHECK: i32 %{{.*}}, i32 %{{.*}}) -entry: - %a.gep = getelementptr %T, %T* %p, i64 0, i32 3 - %b.gep = getelementptr %T, %T* %p, i64 0, i32 2 - %a = load i32, i32* %a.gep - %b = load i32, i32* %b.gep -; CHECK-NOT: load - %v = add i32 %a, %b - ret i32 %v -; CHECK: ret i32 -} - -define i32 @caller() { -; CHECK-LABEL: define i32 @caller( -entry: - %v = call i32 @test(%T* @G) -; CHECK: %[[B_GEP:.*]] = getelementptr %T, %T* @G, i64 0, i32 2 -; CHECK: %[[B:.*]] = load i32, i32* %[[B_GEP]] -; CHECK: %[[A_GEP:.*]] = getelementptr %T, %T* @G, i64 0, i32 3 -; CHECK: %[[A:.*]] = load i32, i32* %[[A_GEP]] -; CHECK: call i32 @test(i32 %[[B]], i32 %[[A]]) - ret i32 %v -} |