[PATCH] D129727: [ARM64EC 11/?] Add support for lowering variadic indirect calls.

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 15 01:25:48 PDT 2022


bcl5980 marked an inline comment as not done.
bcl5980 added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/arm64ec-cfg.ll:491-492
+; CHECK-NEXT:    sub sp, sp, #40
+; CHECK-NEXT:    sub x10, x29, #48
+; CHECK-NEXT:    sub x0, x29, #48
+; CHECK-NEXT:    mov x9, x25
----------------
Can be TODO also.
`sub x0, x29, #48` rematerialize from copy x10
and `fmov d0, x10` can't rematerialize so `sub x10, x29, #48` remain.
How could we improve the reMaterializeTrivialDef to improve the code?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129727/new/

https://reviews.llvm.org/D129727



More information about the llvm-commits mailing list