[all-commits] [llvm/llvm-project] 2242cd: [DAG] Fold vecreduce.or(sext(x)) to sext(vecreduce...

David Green via All-commits all-commits at lists.llvm.org
Tue Sep 17 07:24:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2242cd2b6a60d5c0f233a091fc5d642af1cb0d90
      https://github.com/llvm/llvm-project/commit/2242cd2b6a60d5c0f233a091fc5d642af1cb0d90
  Author: David Green <david.green at arm.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/vecreduce-bitext.ll

  Log Message:
  -----------
  [DAG] Fold vecreduce.or(sext(x)) to sext(vecreduce.or(x)) (#108959)

The same is true for and / xor reductions, where the sext / zext can be
sank down through the bitwise operation.
https://alive2.llvm.org/ce/z/TvzCd5



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list