[all-commits] [llvm/llvm-project] 06ba96: [X86] Make (insert_vector_elt (v8i16 zerovec), i16...

topperc via All-commits all-commits at lists.llvm.org
Sun Feb 9 22:08:20 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 06ba969c9dc98ba4d40d6e6c13822e2752aaffc5
      https://github.com/llvm/llvm-project/commit/06ba969c9dc98ba4d40d6e6c13822e2752aaffc5
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-02-09 (Sun, 09 Feb 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll
    M llvm/test/CodeGen/X86/avx512bwvl-intrinsics-upgrade.ll
    M llvm/test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll
    M llvm/test/CodeGen/X86/broadcastm-lowering.ll
    M llvm/test/CodeGen/X86/buildvec-insertvec.ll
    M llvm/test/CodeGen/X86/merge-consecutive-loads-256.ll
    M llvm/test/CodeGen/X86/vec_cast.ll
    M llvm/test/CodeGen/X86/vector-mulfix-legalize.ll
    M llvm/test/CodeGen/X86/vector-shuffle-128-v16.ll
    M llvm/test/CodeGen/X86/vector-shuffle-variable-128.ll

  Log Message:
  -----------
  [X86] Make (insert_vector_elt (v8i16 zerovec), i16 %x, 0) generate the same code as (v8i16 (build_vector %x, 0, 0, 0, 0, 0, 0, 0)).

Instead of using a insrw to element 0, use movzx and movd.

Same for v16i8.




More information about the All-commits mailing list