[PATCH] D76641: [AArch64][SVE] Add more DestructiveBinaryImm DestructiveInstType patterns

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 23 14:11:25 PDT 2020


cameron.mcinally created this revision.
cameron.mcinally added reviewers: sdesmalen, andwar, efriedma, c-rhodes, rengolin.
Herald added subscribers: llvm-commits, psnobl, rkruppe, hiraditya, kristof.beyls, tschuett.
Herald added a project: LLVM.

This patch starts filling in some of the DestructiveBinaryImm DestructiveInstType patterns. Both zero merging and undef merging are included.

It's questionable whether the undef merging tests are needed. The select with an undefined false operand should be combined away, so I'm not sure there's a lot of value in those. Thoughts?


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76641

Files:
  llvm/lib/Target/AArch64/AArch64InstrFormats.td
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-fp-immediates-merging.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76641.252134.patch
Type: text/x-patch
Size: 93766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200323/edc6b6da/attachment.bin>


More information about the llvm-commits mailing list