[llvm] [ARM] Port ConditionOptimizer to ARM (PR #151187)
Nashe Mncube via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 03:11:40 PDT 2026
https://github.com/nasherm commented:
> From there I'm wondering if it's worth making this pass generic instead. If we worked on abstracting out some of the AArch64-specific code into TII hooks (or maybe there are existing ones that could serve us), then adding arm support could become a more straightforward addition.
I think this is a good point from @hussam-alhassan . We don't want to have a bunch of duplicate code which means we have extra work to make sure both passes don't diverge. I'd much rather have a generic pass which can be enabled with TII hooks as mentioned by Hussam.
https://github.com/llvm/llvm-project/pull/151187
More information about the llvm-commits
mailing list