[PATCH] D87826: [ARM] Enable multiple icmp when tail folding

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 05:30:18 PDT 2020


samparker created this revision.
samparker added reviewers: SjoerdMeijer, dmgreen.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
samparker requested review of this revision.

Now that we are handling VCMP and VPT during the tail predication, we should allow more than a single icmp when deciding when to tail fold or not.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87826

Files:
  llvm/lib/Target/ARM/ARMTargetTransformInfo.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-fold-multiple-icmps.ll
  llvm/test/Transforms/LoopVectorize/ARM/tail-folding-not-allowed.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87826.292470.patch
Type: text/x-patch
Size: 39597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200917/a112c37f/attachment-0001.bin>


More information about the llvm-commits mailing list