[PATCH] D114832: [SROA] Improve SROA to prevent generating redundant coalescing operations.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 7 13:35:25 PST 2021


davidxl added a comment.

The bad code pattern generated is probably not general enough to be useful to introduce a cleanup pass or to enhance existing pass to do so -- it will probably just shift the complexity from one pass to another. Fixing this at the source (SROA) is reasonable (unlike other canonicalization pass, this code pattern from SROA actually makes IR much worse)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114832



More information about the llvm-commits mailing list