[all-commits] [llvm/llvm-project] e185b1: [ConstProp] Constant propagation for get.active.la...

David Green via All-commits all-commits at lists.llvm.org
Fri Jan 8 08:10:38 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e185b1dd7b34c352167823295281f1bf1df09976
      https://github.com/llvm/llvm-project/commit/e185b1dd7b34c352167823295281f1bf1df09976
  Author: David Green <david.green at arm.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    A llvm/test/Transforms/InstSimplify/ConstProp/active-lane-mask.ll

  Log Message:
  -----------
  [ConstProp] Constant propagation for get.active.lane.mask instrinsics

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.

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




More information about the All-commits mailing list