[all-commits] [llvm/llvm-project] 37edd2: [X86] combineEXTRACT_SUBVECTOR - generalize extrac...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri May 30 00:34:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37edd2c1c32bf7599af28b96ae5adf909e96fc58
      https://github.com/llvm/llvm-project/commit/37edd2c1c32bf7599af28b96ae5adf909e96fc58
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-05-30 (Fri, 30 May 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/avx512-vbroadcasti128.ll

  Log Message:
  -----------
  [X86] combineEXTRACT_SUBVECTOR - generalize extract_subvector(broadcast(x),c) fold with IsElementEquivalent (#141963)

Instead of matching the broadcast nodes directly, let IsElementEquivalent handle it to allow BITCAST handling, which we already have with IsElementEquivalent



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