[PATCH] D86302: [SelectionDAG] Modify legalizing intrinsic get.active.lane.mask

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


SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: efriedma, samparker, dmgreen.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
SjoerdMeijer requested review of this revision.

Adapt legalization of get.active.lane.mask to the new semantics as proposed in D86147 <https://reviews.llvm.org/D86147>.
Because the second argument is now tripcount, we legalize it to an icmp ULT instead of an ULE when it was the backedge-taken count.


https://reviews.llvm.org/D86302

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-pred-intrinsic-round.ll
  llvm/test/CodeGen/Thumb2/active_lane_mask.ll

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


More information about the llvm-commits mailing list