[PATCH] D154978: [RISCV][GlobalISel] Legalize add, sub and binary logical instructions for narrow types

Nitin John Raj via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 17:46:40 PDT 2023


nitinjohnraj updated this revision to Diff 539350.
nitinjohnraj added a comment.

Tests don't need the --global-isel flag


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154978

Files:
  llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
  llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-add.mir
  llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-and.mir
  llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-or.mir
  llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-sub.mir
  llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-xor.mir
  llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-add.mir
  llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-and.mir
  llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-or.mir
  llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-sub.mir
  llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-xor.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154978.539350.patch
Type: text/x-patch
Size: 23735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230712/2559162c/attachment.bin>


More information about the llvm-commits mailing list