[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:51:44 PDT 2021


philipp.tomsich updated this revision to Diff 330648.
philipp.tomsich marked an inline comment as done.
philipp.tomsich retitled this revision from "[RISCV] Add isel-patterns to optimize (a < 1) into bgez" to "[RISCV] Add isel-patterns to optimize (a < 1) into blez (a <= 0)".
philipp.tomsich edited the summary of this revision.
philipp.tomsich removed a reviewer: jrtc27.
philipp.tomsich added a comment.

This updates the test cases and I have rerun 'ninja check' to ensure no further test issues.
The commit message has also been updated to reflect that this is 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.330648.patch
Type: text/x-patch
Size: 3897 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210315/e6a89b50/attachment.bin>


More information about the llvm-commits mailing list