[llvm-commits] [llvm] r131427 - /llvm/trunk/lib/Transforms/Utils/LCSSA.cpp
Devang Patel
dpatel at apple.com
Mon May 16 15:05:03 PDT 2011
Author: dpatel
Date: Mon May 16 17:05:03 2011
New Revision: 131427
URL: http://llvm.org/viewvc/llvm-project?rev=131427&view=rev
Log:
There is no need to force DebugLoc on a PHI at this point.
Modified:
llvm/trunk/lib/Transforms/Utils/LCSSA.cpp
Modified: llvm/trunk/lib/Transforms/Utils/LCSSA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LCSSA.cpp?rev=131427&r1=131426&r2=131427&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LCSSA.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LCSSA.cpp Mon May 16 17:05:03 2011
@@ -36,7 +36,6 @@
#include "llvm/Analysis/Dominators.h"
#include "llvm/Analysis/LoopPass.h"
#include "llvm/Analysis/ScalarEvolution.h"
-#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/SSAUpdater.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
@@ -227,7 +226,6 @@
PredCache.GetNumPreds(ExitBB),
Inst->getName()+".lcssa",
ExitBB->begin());
- PN->setDebugLoc(GetFirstDebugLocInBasicBlock(ExitBB));
// Add inputs from inside the loop for this PHI.
for (BasicBlock **PI = PredCache.GetPreds(ExitBB); *PI; ++PI) {
More information about the llvm-commits
mailing list