search for: d50263

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

Did you mean: 550263
2018 Aug 07
3
[RFC] Add DebugLoc parameter in Instruction’s Create() functions
Many DI-related bugs are caused by missing Debug Location in an instruction created in a transformation. Most of the time the fix is trivial once you found where the culprit instruction is created (https://reviews.llvm.org/D50263). Currently, when you create a new Instruction, in order to give it DL you have to either use an IRBuilder that is previously set to the correct DL or “manually” create the instruction via one of it’s Create() routines and then call `setDebugLoc()` to it. I propose the addition of a DebugLoc param...