[all-commits] [llvm/llvm-project] d07380: [X86] LowerRotate - VBMI2 targets can lower vXi16 ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Dec 4 03:30:35 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d073805be644d86f1bf885ada3d8e7548226ca6e
      https://github.com/llvm/llvm-project/commit/d073805be644d86f1bf885ada3d8e7548226ca6e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-fshl-rot-128.ll
    M llvm/test/CodeGen/X86/vector-fshl-rot-256.ll
    M llvm/test/CodeGen/X86/vector-fshr-rot-128.ll
    M llvm/test/CodeGen/X86/vector-fshr-rot-256.ll
    M llvm/test/CodeGen/X86/vector-rotate-128.ll
    M llvm/test/CodeGen/X86/vector-rotate-256.ll

  Log Message:
  -----------
  [X86] LowerRotate - VBMI2 targets can lower vXi16 rotates using funnel shifts.

Ideally we'd do this inside DAGCombine but until we can make the FSHL/FSHR opcodes legal for VBMI2 it won't help us.




More information about the All-commits mailing list