[PATCH] D84110: [ARM] Constant fold VCTP intrinsics

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 18 14:58:02 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: simon_tatham, samparker, SjoerdMeijer, efriedma, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.

We can sometimes get into the situation where the operand to a vctp intrinsic becomes constant, such as after a loop is fully unrolled. This adds the constant folding needed for them, allowing them to simplify away and hopefully simplifying remaining instructions.


https://reviews.llvm.org/D84110

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/ARM/mve-vctp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84110.279026.patch
Type: text/x-patch
Size: 11054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200718/bf65a29d/attachment.bin>


More information about the llvm-commits mailing list