[llvm] [AArch64] Roll out zero-register substitution to GPR32/GPR64 (PR #145239)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 22 11:11:19 PDT 2025


================
@@ -3773,23 +3776,6 @@ multiclass StoreUI<bits<2> sz, bit V, bits<2> opc, DAGOperand regtype,
                   (!cast<Instruction>(NAME # "ui") regtype:$Rt, GPR64sp:$Rn, 0)>;
 }
 
-// Same as StoreUI, but take a RegisterOperand. This is used by GlobalISel to
-// substitute zero-registers automatically.
-//
-// TODO: Roll out zero-register substitution to GPR32/GPR64 and fold this back
----------------
topperc wrote:

Did something change after this TODO was written? It doesn't seem like you had to do anything special to just use StoreUI in place of StoreUIz.

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


More information about the llvm-commits mailing list