summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-12-03 00:52:56 +0000
committerMatthias Braun <matze@braunis.de>2016-12-03 00:52:56 +0000
commit1fbb0f6dd9979ae469040b43c9d9262f4430611e (patch)
tree2a3538b098329fd9ce434890447072b0aac41d59 /llvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll
parent835de1f3ab2df5ce56eab9e5d9021a26fe04b854 (diff)
downloadbcm5719-llvm-1fbb0f6dd9979ae469040b43c9d9262f4430611e.tar.gz
bcm5719-llvm-1fbb0f6dd9979ae469040b43c9d9262f4430611e.zip
AArch64CollectLOH: Rewrite as block-local analysis.
Previously this pass was using up to 5% compile time in some cases which is a bit much for what it is doing. The pass featured a full blown data-flow analysis which in the default configuration was restricted to a single block. This rewrites the pass under the assumption that we only ever work on a single block. This is done in a single pass maintaining a state machine per general purpose register to catch LOH patterns. Differential Revision: https://reviews.llvm.org/D27329 llvm-svn: 288561
Diffstat (limited to 'llvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll')
-rw-r--r--llvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll b/llvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll
index 4a3696501fd..727c189721f 100644
--- a/llvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll
+++ b/llvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=arm64-apple-ios -O3 -aarch64-enable-collect-loh -aarch64-collect-loh-bb-only=true -aarch64-collect-loh-pre-collect-register=false < %s -o - | FileCheck %s
+; RUN: llc -o - %s -mtriple=arm64-apple-ios -O3 -aarch64-enable-collect-loh | FileCheck %s
; Check that the LOH analysis does not crash when the analysed chained
; contains instructions that are filtered out.
;
OpenPOWER on IntegriCloud