[all-commits] [llvm/llvm-project] c8c718: [X86] LowerRotate - expand vXi8 non-uniform variab...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Apr 1 19:31:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8c7186b462e32724bf7942d9345b2cb922b8af8
      https://github.com/llvm/llvm-project/commit/c8c7186b462e32724bf7942d9345b2cb922b8af8
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2026-04-02 (Thu, 02 Apr 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/gfni-rotates.ll
    M llvm/test/CodeGen/X86/vector-fshr-rot-256.ll
    M llvm/test/CodeGen/X86/vector-fshr-rot-512.ll

  Log Message:
  -----------
  [X86] LowerRotate - expand vXi8 non-uniform variable rotates using uniform constant rotates (#189986)

We expand vXi8 non-uniform variable rotates as a sequence of uniform
constant rotates along with a SELECT depending on whether the original
rotate amount needs it

This patch removes premature uniform constant rotate expansion to the
OR(SHL,SRL) sequences to allow GFNI targets to use single VGF2P8AFFINEQB
calls



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list