When rewriting an alloca partition copy the DL from the
old alloca over the the new one.
Based on Greg's report
https://bugs.llvm.org/show_bug.cgi?id=37942
Differential D48640
[SROA] Preserve DebugLoc when rewriting alloca partitions gramanas on Jun 27 2018, 5:40 AM. Authored by
Details When rewriting an alloca partition copy the DL from the Based on Greg's report
Diff Detail
Event TimelineComment Actions Is there an existing test for rewriting the alloca, that you could modify? Instead of adding a whole new test file. Comment Actions + 1 on all points.
|