[all-commits] [llvm/llvm-project] cceceb: [X86][SSE] Add tests showing missing shuffle(avg(s...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Oct 13 02:35:55 PDT 2021


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

  Changed paths:
    M llvm/test/CodeGen/X86/avg.ll

  Log Message:
  -----------
  [X86][SSE] Add tests showing missing shuffle(avg(shuffle(),shuffle())) -> avg(shuffle(),shuffle()) fold

X86ISD::AVG needs to be added to isCommutativeBinOp to use these folds.




More information about the All-commits mailing list