[PATCH] D76445: [RISCV][GlobalISel] Select ALU GPR instructions

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 4 13:53:23 PDT 2023


craig.topper updated this revision to Diff 555775.
craig.topper added a comment.

Add custom selection for ADDIW, SRAIW, SRLIW, and SLLIW.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76445

Files:
  llvm/lib/Target/RISCV/CMakeLists.txt
  llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
  llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
  llvm/lib/Target/RISCV/RISCVGISel.td
  llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip-rv64.ll
  llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip.ll
  llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/alu-rv32.mir
  llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/alu-rv64.mir
  llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/alu_m-rv32.mir
  llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/alu_m-rv64.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76445.555775.patch
Type: text/x-patch
Size: 78041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230904/7f338074/attachment-0001.bin>


More information about the llvm-commits mailing list