[all-commits] [llvm/llvm-project] 548d05: [VectorCombine] scalarizeLoadExtract - don't creat...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Mar 11 17:15:17 PDT 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 548d057ebcfa21eb9445a4bd77914ec875dbf66a
      https://github.com/llvm/llvm-project/commit/548d057ebcfa21eb9445a4bd77914ec875dbf66a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/X86/load-extractelement-scalarization.ll

  Log Message:
  -----------
  [VectorCombine] scalarizeLoadExtract - don't create scalar loads if any extract is waiting to be erased (#129375)

If any extract is waiting to be erased, then bail out as this will distort the cost calculation and possibly lead to infinite loops.

Fixes #129373

(cherry picked from commit 5ddf40fa78705384966c22da78e12134df7bd723)



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