[all-commits] [llvm/llvm-project] 36750b: [X86][AVX] isHorizontalBinOp - relax lane-crossing...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Aug 4 06:27:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 36750ba5bd0e9e72120dbfaab4166baafd89e98a
      https://github.com/llvm/llvm-project/commit/36750ba5bd0e9e72120dbfaab4166baafd89e98a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-08-04 (Tue, 04 Aug 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/haddsub-4.ll

  Log Message:
  -----------
  [X86][AVX] isHorizontalBinOp - relax lane-crossing limits for AVX1-only targets.

Permit lane-crossing post shuffles on AVX1 targets as long as every element comes from the same source lane, which for v8f32/v4f64 cases can be efficiently lowered with the LowerShuffleAsLanePermuteAnd* style methods.




More information about the All-commits mailing list