[PATCH] D48640: [WIP][SROA] Preserve DebugLoc when rewriting alloca partitions

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 06:20:44 PDT 2018


probinson added a comment.

Is there an existing test for rewriting the alloca, that you could modify? Instead of adding a whole new test file.
Otherwise seems pretty straightforward.  This appears to be a common problem, failing to setDebugLoc after creating a new instruction.


Repository:
  rL LLVM

https://reviews.llvm.org/D48640





More information about the llvm-commits mailing list