david-arm wrote: The AArch64 changes seem reasonable to me. Perhaps it's worth updating the title and/or commit message to provide more detail, i.e. `[CodeGen] Increase NumVisited limit in TwoAddressInstructionPass to 18`. https://github.com/llvm/llvm-project/pull/80627