[all-commits] [llvm/llvm-project] becaa6: [ARM] Constant fold VCTP intrinsics

David Green via All-commits all-commits at lists.llvm.org
Tue Jul 21 04:04:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: becaa6803ab532d15506829f0551a5fa49c39d7e
      https://github.com/llvm/llvm-project/commit/becaa6803ab532d15506829f0551a5fa49c39d7e
  Author: David Green <david.green at arm.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    A llvm/test/Analysis/ConstantFolding/ARM/lit.local.cfg
    A llvm/test/Analysis/ConstantFolding/ARM/mve-vctp.ll

  Log Message:
  -----------
  [ARM] Constant fold VCTP intrinsics

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.

Differential Revision: https://reviews.llvm.org/D84110




More information about the All-commits mailing list