[all-commits] [llvm/llvm-project] e17067: [Instcombine] Combine extractelement from a vector...

Kerry McLaughlin via All-commits all-commits at lists.llvm.org
Fri Aug 1 01:55:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1706763515dcd50edf67a377386bc6f1e33a6d0
      https://github.com/llvm/llvm-project/commit/e1706763515dcd50edf67a377386bc6f1e33a6d0
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2025-08-01 (Fri, 01 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    A llvm/test/Transforms/InstCombine/scalable-extract-subvec-elt.ll

  Log Message:
  -----------
  [Instcombine] Combine extractelement from a vector_extract at index 0 (#151491)

Extracting any element from a subvector starting at index 0 is
equivalent to extracting from the original vector, i.e.
  extract_elt(vector_extract(x, 0), y) -> extract_elt(x, y)



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