[llvm] [NewPM][AArch64][GlobalISel] Port AArch64PostLegalizerCombiner to NewPM (PR #194156)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 14:52:48 PDT 2026


================
@@ -615,13 +625,7 @@ std::unique_ptr<CSEConfigBase> AArch64PassConfig::getCSEConfig() const {
 // globalisel at, and it wasn't enabled via CLI, we know that it must be because
 // of an optnone function.
 bool AArch64PassConfig::isGlobalISelOptNone() const {
----------------
boomanaiden154 wrote:

We should probably just update users of this function to call the new version in AArch64TargetMachine. It would at least reduce the duplicate function comments.

It would also probably be good to split that refactoring into a separate PR.

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


More information about the llvm-commits mailing list