[PATCH] D138238: [SROA] For non-speculatable `load`s of `select`s -- split block, insert then/else blocks, form two-entry PHI node
Bruno De Fraine via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 20 02:55:52 PST 2023
brunodf added a comment.
In D138238#4656717 <https://reviews.llvm.org/D138238#4656717>, @nikic wrote:
> @brunodf Ideally, we'd move the SROA implementation into a separate class in the cpp file and only export a thin NewPM wrapper around it in the header.
This is a pull request implementing the reorganization suggested by @nikic : https://github.com/llvm/llvm-project/pull/72846
It solves the GCC warning obviously, but it is also a better organization, it can do away with the `llvm::sroa` namespace entirely, etc.
If you can, please review it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138238/new/
https://reviews.llvm.org/D138238
More information about the llvm-commits
mailing list