[llvm-commits] [llvm] r98778 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Devang Patel
dpatel at apple.com
Wed Mar 17 16:52:37 PDT 2010
Author: dpatel
Date: Wed Mar 17 18:52:37 2010
New Revision: 98778
URL: http://llvm.org/viewvc/llvm-project?rev=98778&view=rev
Log:
Debug info intrinsic does not intefer during tail call optimization.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=98778&r1=98777&r2=98778&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Wed Mar 17 18:52:37 2010
@@ -4282,6 +4282,9 @@
--BBI) {
if (&*BBI == I)
break;
+ // Debug info intrinsic does not intefer during tail call optimization.
+ if (isa<DbgInfoIntrinsic>(BBI))
+ continue;
if (BBI->mayHaveSideEffects() || BBI->mayReadFromMemory() ||
!BBI->isSafeToSpeculativelyExecute())
return false;
More information about the llvm-commits
mailing list