[all-commits] [llvm/llvm-project] 0c8e5b: [VPlan] Simplify redundant trunc (zext A) pairs to A.

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Oct 22 03:42:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c8e5be6fa085381d200e1ee23addcbc99f2ee24
      https://github.com/llvm/llvm-project/commit/0c8e5be6fa085381d200e1ee23addcbc99f2ee24
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-10-22 (Sun, 22 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge-vf1.ll

  Log Message:
  -----------
  [VPlan] Simplify redundant trunc (zext A) pairs to A.

Add simplification for redundant trunc(zext A) pairs. Generally apply a
transform from D149903.

Depends on D159200.

Reviewed By: Ayal

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




More information about the All-commits mailing list