[PATCH] D50511: [ARM] ParallelDSP: add option to disable the pass
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 14 00:44:31 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL339645: [ARM] ParallelDSP: add option to enable/disable the pass (authored by SjoerdMeijer, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D50511?vs=159923&id=160520#toc
Repository:
rL LLVM
https://reviews.llvm.org/D50511
Files:
llvm/trunk/lib/Target/ARM/ARMParallelDSP.cpp
Index: llvm/trunk/lib/Target/ARM/ARMParallelDSP.cpp
===================================================================
--- llvm/trunk/lib/Target/ARM/ARMParallelDSP.cpp
+++ llvm/trunk/lib/Target/ARM/ARMParallelDSP.cpp
@@ -42,6 +42,10 @@
STATISTIC(NumSMLAD , "Number of smlad instructions generated");
+static cl::opt<bool>
+DisableParallelDSP("disable-arm-parallel-dsp", cl::Hidden, cl::init(false),
+ cl::desc("Disable the ARM Parallel DSP pass"));
+
namespace {
struct OpChain;
struct BinOpChain;
@@ -149,6 +153,8 @@
}
bool runOnLoop(Loop *TheLoop, LPPassManager &) override {
+ if (DisableParallelDSP)
+ return false;
L = TheLoop;
SE = &getAnalysis<ScalarEvolutionWrapperPass>().getSE();
AA = &getAnalysis<AAResultsWrapperPass>().getAAResults();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50511.160520.patch
Type: text/x-patch
Size: 824 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180814/f3321c4f/attachment.bin>
More information about the llvm-commits
mailing list