summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJun Bum Lim <junbuml@codeaurora.org>2017-12-15 16:35:09 +0000
committerJun Bum Lim <junbuml@codeaurora.org>2017-12-15 16:35:09 +0000
commit5ffe36ba3cc1e383a5afc674f9491959a8c4e6d9 (patch)
tree6378afc126f0461e5316816e3568e76c1daceb39 /include
parent38e881da88fa50d763b25b2fa32c0ce808b15acf (diff)
Revert "[LICM] Allow sinking when foldable in loop"
This reverts commit r320823. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Utils/LoopUtils.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Transforms/Utils/LoopUtils.h b/include/llvm/Transforms/Utils/LoopUtils.h
index 75066613650..90299c5e6a2 100644
--- a/include/llvm/Transforms/Utils/LoopUtils.h
+++ b/include/llvm/Transforms/Utils/LoopUtils.h
@@ -436,9 +436,8 @@ bool formLCSSARecursively(Loop &L, DominatorTree &DT, LoopInfo *LI,
/// instructions of the loop and loop safety information as
/// arguments. Diagnostics is emitted via \p ORE. It returns changed status.
bool sinkRegion(DomTreeNode *, AliasAnalysis *, LoopInfo *, DominatorTree *,
- TargetLibraryInfo *, TargetTransformInfo *, Loop *,
- AliasSetTracker *, LoopSafetyInfo *,
- OptimizationRemarkEmitter *ORE);
+ TargetLibraryInfo *, Loop *, AliasSetTracker *,
+ LoopSafetyInfo *, OptimizationRemarkEmitter *ORE);
/// \brief Walk the specified region of the CFG (defined by all blocks
/// dominated by the specified block, and that are in the current loop) in depth