[PATCH] D143146: [Assignment Tracking] Fix migrateDebuginfo in SROA

Orlando Cazalet-Hyams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 00:51:29 PST 2023


Orlando added a comment.

Additional note: I added `-sroa-skip-mem2reg` / `SROASkipMem2Reg` as a testing and debugging flag to improve testing of assignment tracking debug-info. It's useful to be able to verify that the SROA'd stores are linked to the resultant dbg.assigns (i.e. their `DIAssignID` metadata is correct). It's much easier to tell SROA "please don't mem2reg" than to come up with or reduce inputs that result in SROA scalaraizing something without those stores getting promoted by mem2reg.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143146/new/

https://reviews.llvm.org/D143146



More information about the llvm-commits mailing list