search for: spotfix

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

Did you mean: potfix
2017 Sep 07
5
RFC: Unify debug and optimized variable locations with llvm.dbg.addr [was: DW_OP_LLVM_memory]
...uld only have to worry about the program order of alloca loads and stores to form SSA. It shouldn't also have to reason about concrete variables. ---- In the short term, we can add this intrinsic, make instcombine use it, and lower it to indirect DBG_VALUE machine instrs. That should be a bug spotfix. Once we do that, we can make more optimization passes dbg.addr aware. Obviously, mem2reg needs to handle it in mostly the same way that it handles dbg.declare today. It just needs to remove possibly multiple dbg.addrs while today it removes only one dbg.declare. Then, we can add a flag to transi...