[PATCH] D143029: [RISCV] Add vendor-defined XTHeadBa (address-generation) extension

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 16:45:42 PST 2023


craig.topper added a comment.

Update docs/ReleaseNotes.rst too



================
Comment at: llvm/test/CodeGen/RISCV/rv64xtheadba.ll:62
+; Type legalization inserts a sext_inreg after the first add. That add will be
+; selected as sh2add which does not sign extend. SimplifyDemandedBits is unable
+; to remove the sext_inreg because it has multiple uses. The ashr will use the
----------------
sh2add -> th.addsl


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143029



More information about the llvm-commits mailing list