[PATCH] D98449: [RISCV] Add isel-patterns to optimize (a < 1) into blez (a <= 0)

Philipp Tomsich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 15 07:56:33 PDT 2021


philipp.tomsich updated this revision to Diff 330660.
philipp.tomsich added a comment.

Update the comment to reflect that this will turn into a blez instruction.


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

https://reviews.llvm.org/D98449

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/test/CodeGen/RISCV/branch.ll
  llvm/test/CodeGen/RISCV/hoist-global-addr-base.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98449.330660.patch
Type: text/x-patch
Size: 3904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210315/134a2067/attachment.bin>


More information about the llvm-commits mailing list