summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-23 18:10:42 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-23 18:10:42 +0000
commit83f99115dbeb7b6a2788e80a3af316ad041eba25 (patch)
treef09211c7146a49358691ce572057f43b9439a6f3 /llvm/lib/Transforms
parentcf0166fbeb9e0ceb1da1bdc408602b30f6f00035 (diff)
downloadbcm5719-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.cpp10
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;
OpenPOWER on IntegriCloud