[PATCH] D140674: [RISCV] Prefer ADDI over ORI if the known bits are disjoint.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 28 20:00:35 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG79d6e9c7130c: [RISCV] Prefer ADDI over ORI if the known bits are disjoint. (authored by craig.topper).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140674

Files:
  llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/test/CodeGen/RISCV/or-is-add.ll
  llvm/test/CodeGen/RISCV/rv64zba.ll
  llvm/test/CodeGen/RISCV/vararg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140674.485570.patch
Type: text/x-patch
Size: 6803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221229/e5b78e61/attachment.bin>


More information about the llvm-commits mailing list