[PATCH] D101244: [RISCV] Optimize addition with immediate

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 24 21:12:29 PDT 2021


jrtc27 added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.td:1303
 
+def sextaddi32 : PatFrag<(ops node:$A, node:$B),
+                         (sext_inreg (add node:$A, node:$B), i32), [{
----------------
Misleading name given the hasOneUse


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101244



More information about the llvm-commits mailing list