[all-commits] [llvm/llvm-project] bae04a: [X86][AVX] canonicalizeLaneShuffleWithRepeatedOps ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Feb 21 10:42:13 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bae04a3e2d69d474e47ce1a23109efa0036e8cf7
      https://github.com/llvm/llvm-project/commit/bae04a3e2d69d474e47ce1a23109efa0036e8cf7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-02-21 (Sun, 21 Feb 2021)

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

  Log Message:
  -----------
  [X86][AVX] canonicalizeLaneShuffleWithRepeatedOps - remove unnecessary BITCASTs.

In conjunction with the 'vperm2x128(bitcast(x),bitcast(y),c) -> bitcast(vperm2x128(x,y,c))' fold in combineTargetShuffle, this should remove any unnecessary bitcasts around vperm2x128 lane shuffles.




More information about the All-commits mailing list