[PATCH] D86304: [LV] get.active.lane.mask consuming/emitting TripCount insteat of backedge-taken count

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 09:42:13 PDT 2020


SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: dmgreen, efriedma, fhahn, samparker, gilr, simoll, Ayal.
Herald added subscribers: rogfer01, hiraditya.
Herald added a project: LLVM.
SjoerdMeijer requested review of this revision.
Herald added a subscriber: vkmr.

Adapt LV to the new semantics of get.active.lane.mask as proposed in D86147 <https://reviews.llvm.org/D86147>, which means that it now consumes/emits the loop tripcount instead of the backedge-taken count. Motiviation for this is discussed in D86147 <https://reviews.llvm.org/D86147>.


https://reviews.llvm.org/D86304

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlan.cpp
  llvm/test/Transforms/LoopVectorize/ARM/mve-reduction-predselect.ll
  llvm/test/Transforms/LoopVectorize/ARM/prefer-tail-loop-folding.ll
  llvm/test/Transforms/LoopVectorize/ARM/tail-folding-counting-down.ll
  llvm/test/Transforms/LoopVectorize/ARM/tail-folding-loop-hint.ll
  llvm/test/Transforms/LoopVectorize/ARM/tail-folding-prefer-flag.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86304.286842.patch
Type: text/x-patch
Size: 10087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200820/f307cf77/attachment.bin>


More information about the llvm-commits mailing list