[PATCH] D79873: [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbbp asm instructions

Paolo Savini via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 12:29:01 PDT 2020


PaoloS updated this revision to Diff 277531.
PaoloS added a comment.

Updated the test:

- the tests have been updated from the top of all the sub-patches together so that they are exactly the same as they would be if updated with the whole final patch.
- labels specific to the sub-extension have been added alongside the generic RISCVIB label (that activates all the sub-extensions) so that we can see how differently the patterns are matched with the specific subextension or with all of them together.
- the tests will probably fail if run by checking out the commit of a subextension and if updated they'll change. These tests are designed to work with the final squashed patch.

Added the pattern-matching for rori and roriw.
Added the correspondent tests.


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

https://reviews.llvm.org/D79873

Files:
  llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfoB.td
  llvm/test/CodeGen/RISCV/rv32Zbbp.ll
  llvm/test/CodeGen/RISCV/rv64Zbbp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79873.277531.patch
Type: text/x-patch
Size: 48942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200713/6fd5307d/attachment.bin>


More information about the llvm-commits mailing list