[PATCH] D52977: [RISCV] Introduce codegen patterns for instructions introduced in RV64I

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 12 16:28:43 PDT 2018


asb updated this revision to Diff 169514.
asb added a comment.

Update to add zexti32 PatFrag and to eliminate unnecessary masking of shift amount values.

@sabuasal: The majority of the tests in test/CodeGen/RISCV could do with gaining RV64 CHECK lines. I was intending to have this patch just update tests directly related to the new patterns, and have a future patch update other tests (select, branch, etc). But I can incorporate all the test updates in this patch if preferred.


https://reviews.llvm.org/D52977

Files:
  lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  lib/Target/RISCV/RISCVInstrInfo.td
  test/CodeGen/RISCV/alu16.ll
  test/CodeGen/RISCV/alu32.ll
  test/CodeGen/RISCV/alu64.ll
  test/CodeGen/RISCV/alu8.ll
  test/CodeGen/RISCV/mem64.ll
  test/CodeGen/RISCV/sext-zext-trunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52977.169514.patch
Type: text/x-patch
Size: 49611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181012/4fbe3b8e/attachment-0001.bin>


More information about the llvm-commits mailing list