search for: getfirstnondebuginstr

Displaying 1 result from an estimated 1 matches for "getfirstnondebuginstr".

2018 May 07
0
Ideas for managing DBG_VALUE machine instructions.
...community at this > point so we know which direction to take... I'm unbiased to any particular approach. In any case, it does seem helpful having collectDebugValues() in MachineBasicBlock.h. There are already a few other utilities in there for ignoring debug and phi instructions, such as getFirstNonDebugInstr(). You mentioned the idea of extending the logic of splice() to take into account an instruction's associated debug instructions. If I understand you correctly, the idea is that splice would move both the original instruction and its associated DBG_VALUE. I'm not sure that is the correct...