[all-commits] [llvm/llvm-project] aa4afe: [X86] Fold scalar_to_vector(x) -> extract_subvecto...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Mar 3 07:52:06 PST 2021


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

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

  Log Message:
  -----------
  [X86] Fold scalar_to_vector(x) -> extract_subvector(broadcast(x),0) iff broadcast(x) exists

Add handling for reusing an existing broadcast(x) to a wider vector.




More information about the All-commits mailing list