summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-08-29 19:54:28 +0000
committerChris Lattner <sabre@nondot.org>2010-08-29 19:54:28 +0000
commitc843fca2fde772c85010123556d3e3abeb75b9ab (patch)
treeedb3987265314dccaccf45c5980b5f7abe6ea129 /llvm/lib/Transforms
parent981a0c4613bc0f4b86f117217e327020ce84d415 (diff)
downloadbcm5719-llvm-c843fca2fde772c85010123556d3e3abeb75b9ab.tar.gz
bcm5719-llvm-c843fca2fde772c85010123556d3e3abeb75b9ab.zip
rewrite DwarfEHPrepare to use SSAUpdater to promote its allocas
instead of PromoteMemToReg. This allows it to stop using DF and DT, eliminating a computation of DT and DF from clang -O3. Clang is now down to 2 runs of DomFrontier. llvm-svn: 112457
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/LICM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp
index aed6a209fca..d3d52f5bb42 100644
--- a/llvm/lib/Transforms/Scalar/LICM.cpp
+++ b/llvm/lib/Transforms/Scalar/LICM.cpp
@@ -793,7 +793,7 @@ void LICM::PromoteAliasSet(AliasSet &AS) {
}
if (StoreInst *S = dyn_cast<StoreInst>(II)) {
- // If this is a load to an unrelated pointer, ignore it.
+ // If this is a store to an unrelated pointer, ignore it.
if (!PointerMustAliases.count(S->getOperand(1))) continue;
// Remember that this is the active value in the block.
OpenPOWER on IntegriCloud