[all-commits] [llvm/llvm-project] 19f657: [X86] combineToExtendBoolVectorInReg - use broadca...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Nov 8 08:50:07 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19f657d55d679cc3949e9e4c1a5bf76cc4c031b1
      https://github.com/llvm/llvm-project/commit/19f657d55d679cc3949e9e4c1a5bf76cc4c031b1
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-11-08 (Fri, 08 Nov 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-sext.ll
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool.ll
    M llvm/test/CodeGen/X86/vector-sext.ll

  Log Message:
  -----------
  [X86] combineToExtendBoolVectorInReg - use broadcast on AVX2+ targets

Make use of AVX2 broadcasts to splat the source integer across all lanes to simplify the per-lane byte shuffles.

Prep work to avoid a regression in the fix for #66150


  Commit: 79c7b7ee9f8b1cec13d9c1026e2bae9b9e91bc6f
      https://github.com/llvm/llvm-project/commit/79c7b7ee9f8b1cec13d9c1026e2bae9b9e91bc6f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-11-08 (Fri, 08 Nov 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] combineToExtendBoolVectorInReg - use SelectionDAG::getSplat helper instead of shuffle(scalar_to_vector(x))


Compare: https://github.com/llvm/llvm-project/compare/e5e15f9128b6...79c7b7ee9f8b

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