[PATCH] D94103: [ConstProp] Constant propagation for get.active.lane.mask instrinsics
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 5 10:51:13 PST 2021
dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, efriedma, nikic, spatel.
Herald added subscribers: hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.
Similar to the Arm VCTP intrinsics, if the operands of an active.lane.mask are both known, the constant lane mask can be calculated. This can come up after unrolling the loops.
https://reviews.llvm.org/D94103
Files:
llvm/lib/Analysis/ConstantFolding.cpp
llvm/test/Transforms/InstSimplify/ConstProp/active-lane-mask.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94103.314658.patch
Type: text/x-patch
Size: 9556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210105/ba0b6eab/attachment.bin>
More information about the llvm-commits
mailing list