[all-commits] [llvm/llvm-project] 9237d8: [X86] isVectorShiftByScalarCheap - don't limit fas...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat May 9 14:24:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9237d88001cad7effd1e5dbe2a20a4412ab6262c
      https://github.com/llvm/llvm-project/commit/9237d88001cad7effd1e5dbe2a20a4412ab6262c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-05-09 (Sat, 09 May 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-shift-by-select-loop.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/vec-shift.ll

  Log Message:
  -----------
  [X86] isVectorShiftByScalarCheap - don't limit fast XOP vector shifts to 128-bit vectors

XOP targets have fast per-element vector shifts and we're better off splitting to 128-bit shifts where necessary (which is what we already do in LowerShift).




More information about the All-commits mailing list