diff options
| author | Jim Laskey <jlaskey@mac.com> | 2006-03-23 18:10:42 +0000 |
|---|---|---|
| committer | Jim Laskey <jlaskey@mac.com> | 2006-03-23 18:10:42 +0000 |
| commit | 83f99115dbeb7b6a2788e80a3af316ad041eba25 (patch) | |
| tree | f09211c7146a49358691ce572057f43b9439a6f3 /llvm/lib/Transforms | |
| parent | cf0166fbeb9e0ceb1da1bdc408602b30f6f00035 (diff) | |
| download | bcm5719-llvm-83f99115dbeb7b6a2788e80a3af316ad041eba25.tar.gz bcm5719-llvm-83f99115dbeb7b6a2788e80a3af316ad041eba25.zip | |
Can't combine anymore - we don't have a chain through llvm.dbg intrinsics.
llvm-svn: 26992
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 3eb452c7901..8341053fca7 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -5391,16 +5391,6 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) { } if (Changed) return II; - } else if (DbgStopPointInst *SPI = dyn_cast<DbgStopPointInst>(II)) { - // If this stoppoint is at the same source location as the previous - // stoppoint in the chain, it is not needed. - if (DbgStopPointInst *PrevSPI = - dyn_cast<DbgStopPointInst>(SPI->getChain())) - if (SPI->getLineNo() == PrevSPI->getLineNo() && - SPI->getColNo() == PrevSPI->getColNo()) { - SPI->replaceAllUsesWith(PrevSPI); - return EraseInstFromFunction(CI); - } } else { switch (II->getIntrinsicID()) { default: break; |

