[all-commits] [llvm/llvm-project] 297b9b: [X86][AVX] computeKnownBitsForTargetNode - add X86...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Mar 21 03:41:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 297b9bc3fade62b05839b17d970eb48cf10623a3
      https://github.com/llvm/llvm-project/commit/297b9bc3fade62b05839b17d970eb48cf10623a3
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-03-21 (Sun, 21 Mar 2021)

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

  Log Message:
  -----------
  [X86][AVX] computeKnownBitsForTargetNode - add X86ISD::VBROADCAST handling for scalar sources

The target shuffle code handles vector sources, but X86ISD::VBROADCAST can also accept a scalar source for splatting.

Suggested by @craig.topper on PR49658




More information about the All-commits mailing list