diff options
author | Devang Patel <dpatel@apple.com> | 2010-01-05 01:10:40 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-01-05 01:10:40 +0000 |
commit | 44a29e066a24e88bdf127e88be4380a5f259c4b4 (patch) | |
tree | 26820d0116232725e3de4f9627ad255006c1d8a2 /lib/Transforms/Scalar | |
parent | 4361bbfd0e41453224a1867d2c4d04ef7b3d723b (diff) | |
download | llvm-44a29e066a24e88bdf127e88be4380a5f259c4b4.tar.gz llvm-44a29e066a24e88bdf127e88be4380a5f259c4b4.tar.bz2 llvm-44a29e066a24e88bdf127e88be4380a5f259c4b4.tar.xz |
Remove dead debug info intrinsics.
Intrinsic::dbg_stoppoint
Intrinsic::dbg_region_start
Intrinsic::dbg_region_end
Intrinsic::dbg_func_start
AutoUpgrade simply ignores these intrinsics now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar')
-rw-r--r-- | lib/Transforms/Scalar/LICM.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 99f3ae07f6..6a447dba12 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/lib/Transforms/Scalar/LICM.cpp @@ -384,10 +384,6 @@ bool LICM::canSinkOrHoistInst(Instruction &I) { Size = AA->getTypeStoreSize(LI->getType()); return !pointerInvalidatedByLoop(LI->getOperand(0), Size); } else if (CallInst *CI = dyn_cast<CallInst>(&I)) { - if (isa<DbgStopPointInst>(CI)) { - // Don't hoist/sink dbgstoppoints, we handle them separately - return false; - } // Handle obvious cases efficiently. AliasAnalysis::ModRefBehavior Behavior = AA->getModRefBehavior(CI); if (Behavior == AliasAnalysis::DoesNotAccessMemory) |