[PATCH] D140319: [RISCV] Match neg (and x, 1) to two shifts to improve codesize

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 19 11:51:31 PST 2022


reames updated this revision to Diff 484029.

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

https://reviews.llvm.org/D140319

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/test/CodeGen/RISCV/short-foward-branch-opt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140319.484029.patch
Type: text/x-patch
Size: 4066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221219/5b6c5340/attachment.bin>


More information about the llvm-commits mailing list