[PATCH] D24854: [SROA] Expand lifetime.start/end offset checks to a couple more places.

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 23:46:59 PDT 2016


chandlerc added a comment.

I understand that this fixes an assertion, but it does so by refusing to promote in a case where we can in fact promote.

As an alternative, have you looked at teaching the rewrite logic to "fix" (potentially be stripping) the lifetime markers during rewrite to allow the promotion cases?


Repository:
  rL LLVM

https://reviews.llvm.org/D24854





More information about the llvm-commits mailing list