summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-14 08:13:00 +0000
committerChris Lattner <sabre@nondot.org>2011-01-14 08:13:00 +0000
commitb352d6eb49927a7c707cbd9046cfc525b0c3f2d7 (patch)
tree6d0f16fbee5f8fa1f71912f613faef563d037d7f /include/llvm/Transforms
parent25052d8d64f18a85d6a84e0e010f6ba3eba0760d (diff)
downloadllvm-b352d6eb49927a7c707cbd9046cfc525b0c3f2d7.tar.gz
llvm-b352d6eb49927a7c707cbd9046cfc525b0c3f2d7.tar.bz2
llvm-b352d6eb49927a7c707cbd9046cfc525b0c3f2d7.tar.xz
split SROA into two passes: one that uses DomFrontiers (-scalarrepl)
and one that uses SSAUpdater (-scalarrepl-ssa) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/Scalar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 039e4a2f40..9a87eab3fe 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -73,7 +73,8 @@ FunctionPass *createAggressiveDCEPass();
// ScalarReplAggregates - Break up alloca's of aggregates into multiple allocas
// if possible.
//
-FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1);
+FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1,
+ bool UseDomFrontier = true);
//===----------------------------------------------------------------------===//
//