[llvm-commits] [llvm] r137250 - in /llvm/trunk: lib/CodeGen/LiveDebugVariables.cpp test/CodeGen/ARM/debug-info-sreg2.ll test/CodeGen/X86/dbg-value-isel.ll
Jakob Stoklund Olesen
stoklund at 2pi.dk
Wed Aug 10 14:33:22 PDT 2011
On Aug 10, 2011, at 2:25 PM, Devang Patel wrote:
> void UserValue::extendDef(SlotIndex Idx, unsigned LocNo,
> LiveInterval *LI, const VNInfo *VNI,
> SmallVectorImpl<SlotIndex> *Kills,
> - LiveIntervals &LIS, MachineDominatorTree &MDT) {
> + LiveIntervals &LIS, MachineDominatorTree &MDT,
> + LexicalScopes &LS) {
> SmallVector<SlotIndex, 16> Todo;
> Todo.push_back(Idx);
> -
> + SmallPtrSet<const MachineBasicBlock *, 4> LBlocks;
> + LS.getMachineBasicBlocks(dl, LBlocks);
Hi Devang,
I think the DebugLoc in a UserValue is bogus and should be removed.
Shouldn't the lexical scope be derived from the MDNode instead?
/jakob
More information about the llvm-commits
mailing list