[PATCH] D126322: [ARM] Recognize t2LoopEnd for software pipelining
David Penry via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 24 13:16:23 PDT 2022
dpenry created this revision.
Herald added subscribers: dmgreen, hiraditya, kristof.beyls.
Herald added a project: All.
dpenry added reviewers: bcahoon, thopre, dmgreen.
dpenry published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
- Add t2LoopEnd to TargetInstrInfo::analyzeBranch and related functions. As there are many side effects of analyzing a branch, only do so if software pipelining is enabled to maintain previous behavior when pipelining is not desired.
- Make sure that t2LoopEndDec is immediately followed by a t2B when it is synthesized from a t2LoopEnd. This is done because the t2LoopEnd might have acquired a fall-through path, but IfConversion assumes that fall-through are only possible on analyzable branches.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D126322
Files:
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/lib/Target/ARM/MVETPAndVPTOptimisationsPass.cpp
llvm/test/CodeGen/Thumb2/swp-fixedii-le.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126322.431771.patch
Type: text/x-patch
Size: 16930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220524/67f31115/attachment.bin>
More information about the llvm-commits
mailing list