[PATCH] D65058: [ARM] Better AND's for MVE compares

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 21 10:14:03 PDT 2019


dmgreen created this revision.
dmgreen added reviewers: t.p.northover, SjoerdMeijer, samparker, simon_tatham, ostannard.
Herald added subscribers: hiraditya, kristof.beyls, javed.absar.
Herald added a project: LLVM.
dmgreen added a parent revision: D65054: [ARM] MVE floating point compares and selects.
dmgreen edited the summary of this revision.

Add a number of folds to convert and(vcmp, vcmp) into a single VPT block, where the second vcmp becomes predicated on the first.

The VCMP; VPST; VCMP will then be converted to VPT; VCMP in the VPTBlockPass.


https://reviews.llvm.org/D65058

Files:
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-pred-and.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65058.211003.patch
Type: text/x-patch
Size: 13031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190721/b450185a/attachment.bin>


More information about the llvm-commits mailing list