diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-08-29 19:54:28 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-08-29 19:54:28 +0000 | 
| commit | c843fca2fde772c85010123556d3e3abeb75b9ab (patch) | |
| tree | edb3987265314dccaccf45c5980b5f7abe6ea129 /llvm/lib/Transforms | |
| parent | 981a0c4613bc0f4b86f117217e327020ce84d415 (diff) | |
| download | bcm5719-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.cpp | 2 | 
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. | 

