[all-commits] [llvm/llvm-project] 2a0d5d: [X86][SSE] foldShuffleOfHorizOp - remove broadcast...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Mar 27 08:10:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a0d5da917f1b0a3ff77466914ecfbd5e977a6a9
      https://github.com/llvm/llvm-project/commit/2a0d5da917f1b0a3ff77466914ecfbd5e977a6a9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-03-27 (Sat, 27 Mar 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86][SSE] foldShuffleOfHorizOp - remove broadcast handling.

Remove VBROADCAST/MOVDDUP/splat-shuffle handling from foldShuffleOfHorizOp

This can all be handled by canonicalizeShuffleMaskWithHorizOp along as we check that the HADD/SUB are only used once (to prevent infinite loops on slow-horizop targets which will try to reuse the nodes again followed by a post-hop shuffle).




More information about the All-commits mailing list