[PATCH] D138887: [SPARC] Mark the %g0 register as constant & use it to materialize zeros
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 28 19:19:20 PST 2022
jrtc27 added inline comments.
================
Comment at: llvm/test/CodeGen/SPARC/bigreturn.ll:139
; SPARC-NEXT: mov %g0, %i4
+; SPARC-NEXT: mov %g1, %i5
; SPARC-NEXT: ldd [%i2], %i0
----------------
This is a bit nonsense, it copies the %g0+%g1 register pair into %i4+%i5 then copies %g0 into %i5... it works but it's a regression and points at something very suspect going on
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138887/new/
https://reviews.llvm.org/D138887
More information about the llvm-commits
mailing list