[all-commits] [llvm/llvm-project] b5088a: [X86][SSE] lowerV16I8Shuffle - tryToWidenViaDuplic...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Oct 19 06:16:57 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b5088aa9442fb610f452c5a6c93c1964962c4159
      https://github.com/llvm/llvm-project/commit/b5088aa9442fb610f452c5a6c93c1964962c4159
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2019-10-19 (Sat, 19 Oct 2019)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/bitcast-and-setcc-128.ll
    M llvm/test/CodeGen/X86/bitcast-setcc-128.ll
    M llvm/test/CodeGen/X86/vec_int_to_fp.ll
    M llvm/test/CodeGen/X86/vector-reduce-mul.ll
    M llvm/test/CodeGen/X86/vector-sext.ll
    M llvm/test/CodeGen/X86/vector-shuffle-256-v32.ll
    M llvm/test/CodeGen/X86/widen_conv-3.ll

  Log Message:
  -----------
  [X86][SSE] lowerV16I8Shuffle - tryToWidenViaDuplication - undef unpack args

tryToWidenViaDuplication lowers using the shuffle_v8i16(unpack_v16i8(shuffle_v8i16(x),shuffle_v8i16(x))) pattern, but the unpack only needs the even/odd 16i8 args if the original v16i8 shuffle mask references the even/odd elements - which isn't true for many extension style shuffles.

llvm-svn: 375342




More information about the All-commits mailing list