[all-commits] [llvm/llvm-project] 1a81b2: [X86][SSE] combineCommutableSHUFP - permilps(shufp...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Jan 26 06:36:53 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a81b296cda53753894f8a8f38b7b89e05806307
      https://github.com/llvm/llvm-project/commit/1a81b296cda53753894f8a8f38b7b89e05806307
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-26 (Sun, 26 Jan 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/oddshuffles.ll
    M llvm/test/CodeGen/X86/vec_insert-5.ll
    M llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll

  Log Message:
  -----------
  [X86][SSE] combineCommutableSHUFP - permilps(shufps(load(),x)) --> permilps(shufps(x,load()))

Pull out combineTargetShuffle code added in rG3fd5d1c6e7db into a helper function and extend it to handle shufps(shufps(load(),x),y) and shufps(y,shufps(load(),x)) cases as well.


  Commit: 377e86d12ebeee09916b98ce09b315343d82468e
      https://github.com/llvm/llvm-project/commit/377e86d12ebeee09916b98ce09b315343d82468e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-26 (Sun, 26 Jan 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/vector-shuffle-256-v8.ll
    M llvm/test/CodeGen/X86/vector-shuffle-512-v16.ll

  Log Message:
  -----------
  [X86][AVX] Add tests showing combineCommutableSHUFP failure to handle v8f32 and v16f32 commutable shufps patterns


Compare: https://github.com/llvm/llvm-project/compare/4aea70ed3292...377e86d12ebe


More information about the All-commits mailing list