[all-commits] [llvm/llvm-project] ab3ea2: [X86][AVX] Reuse existing VBROADCAST(x) for SCALAR...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Feb 28 03:38:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab3ea27b6fce6e57301c3e6efc96f80b5eb31ac4
      https://github.com/llvm/llvm-project/commit/ab3ea27b6fce6e57301c3e6efc96f80b5eb31ac4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-02-28 (Sun, 28 Feb 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/combine-bitselect.ll

  Log Message:
  -----------
  [X86][AVX] Reuse existing VBROADCAST(x) for SCALAR_TO_VECTOR(x)

Similar to what we already do for BROADCASTs of different vector sizes - if we're going to broadcast it anyway might as well reuse it.




More information about the All-commits mailing list