[all-commits] [llvm/llvm-project] ceadd9: [X86][AVX] lowerBuildVectorAsBroadcast - improve i...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Sep 18 09:00:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ceadd98c2fd51ab1faa80d142b2a6e080117e5ae
      https://github.com/llvm/llvm-project/commit/ceadd98c2fd51ab1faa80d142b2a6e080117e5ae
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512cd-intrinsics-fast-isel.ll
    M llvm/test/CodeGen/X86/avx512vlcd-intrinsics-fast-isel.ll
    M llvm/test/CodeGen/X86/broadcastm-lowering.ll

  Log Message:
  -----------
  [X86][AVX] lowerBuildVectorAsBroadcast - improve i64 BROADCASTM lowering on 32-bit targets

We already handle the the cases where we have a 'zero extended splat' build vector (a, 0, 0, 0, a, 0, 0, 0, ...) but were missing the case where the 'a' scalar was zero-extended as well - such as i64 -> vXi64 splat cases on 32-bit targets.




More information about the All-commits mailing list