[all-commits] [llvm/llvm-project] 7a9f53: [X86] combineBROADCAST_LOAD - merge across chains ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Feb 24 01:23:35 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a9f53cecf5774a0696586961184835b01cab02c
      https://github.com/llvm/llvm-project/commit/7a9f53cecf5774a0696586961184835b01cab02c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/any_extend_vector_inreg_of_broadcast_from_memory.ll
    M llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast_from_memory.ll

  Log Message:
  -----------
  [X86] combineBROADCAST_LOAD - merge across chains (REAPPLIED) (#128209)

Remove the restriction when reusing wider BROADCAST_LOAD nodes that both nodes couldn't have uses of their load chains - use makeEquivalentMemoryOrdering to merge the chains instead.

Reapplied - move makeEquivalentMemoryOrdering prior to the CombineTo call to ensure that the original node hasn't already been removed.

Fixes asan use-after-poison error reported in #128380 / 50b0669e8468279518ae0be27c8b6a134c4d95d1.



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