[all-commits] [llvm/llvm-project] 1440f0: [Scalarizer] Ensure valid VectorSplits for each st...

Deric C. via All-commits all-commits at lists.llvm.org
Tue Mar 4 13:10:54 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1440f02259abf585f0c2965bd4ececf0f3499405
      https://github.com/llvm/llvm-project/commit/1440f02259abf585f0c2965bd4ececf0f3499405
  Author: Deric C. <cheung.deric at gmail.com>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Scalarizer.cpp
    M llvm/test/Transforms/Scalarizer/min-bits.ll

  Log Message:
  -----------
  [Scalarizer] Ensure valid VectorSplits for each struct element in `visitExtractValueInst` (#128538)

Fixes #127739 

The `visitExtractValueInst` is missing a check that was present in
`splitCall` / `visitCallInst`.
This check ensures that each struct element has a VectorSplit, and that
each VectorSplit contains the same number of elements packed per
fragment.

---------

Co-authored-by: Jay Foad <jay.foad at amd.com>



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