mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 14:06:36 +00:00
There is no need to force DebugLoc on a PHI at this point.
llvm-svn: 131427
This commit is contained in:
parent
59a8c1aa5b
commit
8cf3c94ae5
@ -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 @@ bool LCSSA::ProcessInstruction(Instruction *Inst,
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user