[PATCH] D83907: [ARM] Don't mark vctp as having sideeffects
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 15 14:20:05 PDT 2020
dmgreen created this revision.
dmgreen added reviewers: samparker, SjoerdMeijer, efriedma, simon_tatham, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
As far as I can tell, it should not be necessary for VCTP to be unpredictable in tail predicated loops. Either it has a a valid loop counter as a operand which will naturally keep it in the right loop, or it doesn't and it won't be converted to a tail predicated loop. Not marking it as having side effects allows it to be scheduled more cleanly for cases where it is not expected to become a tail predicate loop.
https://reviews.llvm.org/D83907
Files:
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/test/CodeGen/Thumb2/mve-float16regloops.ll
llvm/test/CodeGen/Thumb2/mve-vctp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83907.278302.patch
Type: text/x-patch
Size: 5762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200715/ed45b945/attachment.bin>
More information about the llvm-commits
mailing list