The TripCount for a predicated vector loop body will be ceil(ElementCount/Width). This alters the conversion of an active.lane.mask to a VCPT intrinsics to match.
Details
Details
Diff Detail
Diff Detail
| Paths 
 |  Differential  D94608  
[ARM] Tail predication with constant loop bounds ClosedPublic Authored by dmgreen on Jan 13 2021, 8:43 AM. 
Details Summary The TripCount for a predicated vector loop body will be ceil(ElementCount/Width). This alters the conversion of an active.lane.mask to a VCPT intrinsics to match. 
Diff Detail Event TimelineHerald added subscribers: danielkiss, hiraditya, kristof.beyls.  ·  View Herald TranscriptJan 13 2021, 8:43 AM This revision is now accepted and ready to land.Jan 15 2021, 8:23 AM Closed by commit rGf5abf0bd485a: [ARM] Tail predication with constant loop bounds (authored by dmgreen).  ·  Explain WhyJan 15 2021, 10:18 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 316394 llvm/lib/Target/ARM/MVETailPredication.cpp
 llvm/test/CodeGen/Thumb2/LowOverheadLoops/constbound.ll
 llvm/test/CodeGen/Thumb2/LowOverheadLoops/tp-multiple-vpst.ll
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||