[PATCH] D79871: [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbp asm instructions

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


PaoloS updated this revision to Diff 277529.
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.

Notice that rori takes over grevi on RV64 for the rotation as it is exactly the same, and because the activation of the Zbp subextension is eough to activate the "ZbbOrZbp" subextension.


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

https://reviews.llvm.org/D79871

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfoB.td
  llvm/test/CodeGen/RISCV/rv32Zbp.ll
  llvm/test/CodeGen/RISCV/rv64Zbp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79871.277529.patch
Type: text/x-patch
Size: 86281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200713/e5a1c61a/attachment.bin>


More information about the llvm-commits mailing list