[PATCH] D70777: AArch64: use some crypto instructions during CodeGen

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 27 03:16:58 PST 2019


t.p.northover created this revision.
Herald added subscribers: hiraditya, kristof.beyls, mcrosier.
Herald added a project: LLVM.

Most of the crypto instructions introduced in v8.2a are far too complex to be worth pattern-matching on for normal IR, but a handful are simple XORs and rotations, which we can spot. This implements support for all of them that can be done in TableGen (unfortunately XAR would need to match a shift of both N and 64-N which can't be specified).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70777

Files:
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/crypto-sha3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70777.231205.patch
Type: text/x-patch
Size: 12401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191127/44674147/attachment.bin>


More information about the llvm-commits mailing list