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/CodeGenPrepare/ARM/splitgep.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/CodeGenPrepare/ARM/splitgep.ll')
-rw-r--r-- | llvm/test/Transforms/CodeGenPrepare/ARM/splitgep.ll | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/llvm/test/Transforms/CodeGenPrepare/ARM/splitgep.ll b/llvm/test/Transforms/CodeGenPrepare/ARM/splitgep.ll deleted file mode 100644 index b2edb852385..00000000000 --- a/llvm/test/Transforms/CodeGenPrepare/ARM/splitgep.ll +++ /dev/null @@ -1,40 +0,0 @@ -; RUN: opt -S -codegenprepare %s | FileCheck %s - -target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" -target triple = "thumbv6m-arm-none-eabi" - -; Check that we have deterministic output -define void @test([65536 x i32]** %sp, [65536 x i32]* %t, i32 %n) { -; CHECK-LABEL: @test( -; CHECK-NEXT: entry: -; CHECK-NEXT: %0 = bitcast [65536 x i32]* %t to i8* -; CHECK-NEXT: %splitgep1 = getelementptr i8, i8* %0, i32 80000 -; CHECK-NEXT: %s = load [65536 x i32]*, [65536 x i32]** %sp -; CHECK-NEXT: %1 = bitcast [65536 x i32]* %s to i8* -; CHECK-NEXT: %splitgep = getelementptr i8, i8* %1, i32 80000 -entry: - %s = load [65536 x i32]*, [65536 x i32]** %sp - br label %while_cond - -while_cond: - %phi = phi i32 [ 0, %entry ], [ %i, %while_body ] - %gep0 = getelementptr [65536 x i32], [65536 x i32]* %s, i64 0, i32 20000 - %gep1 = getelementptr [65536 x i32], [65536 x i32]* %s, i64 0, i32 20001 - %gep2 = getelementptr [65536 x i32], [65536 x i32]* %t, i64 0, i32 20000 - %gep3 = getelementptr [65536 x i32], [65536 x i32]* %t, i64 0, i32 20001 - %cmp = icmp slt i32 %phi, %n - br i1 %cmp, label %while_body, label %while_end - -while_body: - %i = add i32 %phi, 1 - %j = add i32 %phi, 2 - store i32 %i, i32* %gep0 - store i32 %phi, i32* %gep1 - store i32 %i, i32* %gep2 - store i32 %phi, i32* %gep3 - br label %while_cond - -while_end: - ret void -} - |