summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-10-24 06:42:42 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-10-24 06:42:42 +0000
commit26c3872666358e25b9b0bc914d86a2bcb2ad2389 (patch)
tree8c90c41270622d7725d2ddb0306e4bfcfdb3872c /llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
parenta7e13782f1a6cbc234536e3c642dd6af0d33c76c (diff)
downloadbcm5719-llvm-26c3872666358e25b9b0bc914d86a2bcb2ad2389.tar.gz
bcm5719-llvm-26c3872666358e25b9b0bc914d86a2bcb2ad2389.zip
ScalarReplAggregates.cpp: Try to appease clash of anonymous::SROA in modules build.
llvm-svn: 251181
Diffstat (limited to 'llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
index 65cb0086753..114d22ddf2e 100644
--- a/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
+++ b/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
@@ -60,6 +60,7 @@ STATISTIC(NumAdjusted, "Number of scalar allocas adjusted to allow promotion");
STATISTIC(NumConverted, "Number of aggregates converted to scalar");
namespace {
+#define SROA SROA_
struct SROA : public FunctionPass {
SROA(int T, bool hasDT, char &ID, int ST, int AT, int SLT)
: FunctionPass(ID), HasDomTree(hasDT) {
OpenPOWER on IntegriCloud