[PATCH] D66580: [ARM] Fold VPNOT into vpt blocks
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 03:02:15 PDT 2019
dmgreen created this revision.
dmgreen added reviewers: t.p.northover, samparker, SjoerdMeijer, simon_tatham, ostannard.
Herald added subscribers: hiraditya, kristof.beyls, javed.absar.
Herald added a project: LLVM.
We can fold a VPNOT into a predicate block, inverting the predicate to create "else" predicated instructions. This teaches the MVEVPTBlockPass to do that, updating the mask and instruction predicates of instructions following a VPNOT, and removing the VPNOT.
https://reviews.llvm.org/D66580
Files:
llvm/lib/Target/ARM/MVEVPTBlockPass.cpp
llvm/test/CodeGen/Thumb2/mve-masked-load.ll
llvm/test/CodeGen/Thumb2/mve-pred-not.ll
llvm/test/CodeGen/Thumb2/mve-vpt-block.mir
llvm/test/CodeGen/Thumb2/mve-vpt-block2.mir
llvm/test/CodeGen/Thumb2/mve-vpt-block4.mir
llvm/test/CodeGen/Thumb2/mve-vpt-block5.mir
llvm/test/CodeGen/Thumb2/mve-vpt-block6.mir
llvm/test/CodeGen/Thumb2/mve-vpt-block7.mir
llvm/test/CodeGen/Thumb2/mve-vpt-nots.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66580.216566.patch
Type: text/x-patch
Size: 36340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190822/bf744739/attachment-0001.bin>
More information about the llvm-commits
mailing list