[llvm] [AArch64] Add register check to ConditionOptimizer cross-block logic (PR #176528)

Hussam A. via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 21 04:16:53 PST 2026


hussam-alhassan wrote:

Oh certainly. Though quick question, would it be better to have the check before the switch statement (next to the register read check) or is there a reason it should be after? (otherwise I think it's fine, just curious)

Also, FYI I'm working on a refactoring of this pass which should clean up and unify shared logic between the intra- and cross-block cases, so this should end up applying to both cases as well which is nice.

https://github.com/llvm/llvm-project/pull/176528


More information about the llvm-commits mailing list