[all-commits] [llvm/llvm-project] ee35e3: [ConstantFolding] Add folding for [de]interleave2, ...

Nikolay Panchenko via All-commits all-commits at lists.llvm.org
Wed Jun 11 16:00:50 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee35e342945d6825c9b2b004fd135cf16c84ea0e
      https://github.com/llvm/llvm-project/commit/ee35e342945d6825c9b2b004fd135cf16c84ea0e
  Author: Nikolay Panchenko <nicholas.panchenko at gmail.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

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

  Log Message:
  -----------
  [ConstantFolding] Add folding for [de]interleave2, insert and extract (#141301)

The change adds folding for 4 vector intrinsics: `interleave2`,
`deinterleave2`, `vector_extract` and `vector_insert`. For the last 2
intrinsics the change does not use `ShuffleVector` fold mechanism as
it's much simpler to construct result vector explicitly.



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