[all-commits] [llvm/llvm-project] 417ab3: [ConstantFolding] Fold deinterleave2 of any splat ...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Jun 13 17:12:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 417ab37d85ad1bb3e5623dff487ef108404e37f5
      https://github.com/llvm/llvm-project/commit/417ab37d85ad1bb3e5623dff487ef108404e37f5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/vector-calls.ll

  Log Message:
  -----------
  [ConstantFolding] Fold deinterleave2 of any splat vector not just zeroinitializer (#144144)

While there remove an unnecessary dyn_cast from Constant to Constant.
Reverse a branch condition into an early out to reduce nesting.



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