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

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Mar 1 08:54:43 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ddf40fa78705384966c22da78e12134df7bd723
      https://github.com/llvm/llvm-project/commit/5ddf40fa78705384966c22da78e12134df7bd723
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-03-01 (Sat, 01 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



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