Displaying 2 results from an estimated 2 matches for "getvarinfo".
Did you mean:
rxgetvarinfo
2004 Sep 01
1
[LLVMdev] Register allocator segfault
...ssert(MBB != VRInfo.DefInst->getParent() &&
(gdb) p VRInfo.DefInst
$1 = (llvm::MachineInstr *) 0x0
(gdb) up
#2 0x40f0678f in llvm::LiveVariables::runOnMachineFunction (
this=0x8060270, MF=@0x8060888)
at ../../lib/CodeGen/LiveVariables.cpp:214
214 HandleVirtRegUse(getVarInfo(MO.getReg()), MBB, MI);
(gdb) p MO.getReg()
$3 = 1026
Of course, this is just a wish, and it looks like it's exactly what issue 408
(http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=408) is about.
- Volodya
2017 May 17
2
Machine instruction verifier pass
- Please do not add any more uses of the LiveVariables pass! It is deprecated and only kept around for one last pass that isn't converted. All new code should use LiveIntervalAnalysis!
- Kill flags are optional: If they are present they must be correct, but it is legal to have a value die without having a kill flag on the operand. So often a simple fix is to clear out the kill flags from