[PATCH] D48319: [DebugInfo] Make sure all DBG_VALUEs' reguse operands have IsDebug property

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 08:57:59 PDT 2018


aprantl added a comment.

Thank you very much for tracking this down! I think it would be more principled to use the appropriate construction function for DBG_VALUEs in MachineInstrBuilder in all of these instances instead of manually setting up the intrinsic in all of these places. Do you think that would be feasible? If not, could we still somehow wrap this in a common function so that users don't need to know about how to correctly build a DBG_VALUE?


Repository:
  rL LLVM

https://reviews.llvm.org/D48319





More information about the llvm-commits mailing list