[all-commits] [llvm/llvm-project] 3cf97d: [X86] Make ISD::ROTL/ROTR vector rotates legal on ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Mar 5 01:11:45 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3cf97d8d48ccb309a5add656e7b94e27561a7dfa
      https://github.com/llvm/llvm-project/commit/3cf97d8d48ccb309a5add656e7b94e27561a7dfa
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

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

  Log Message:
  -----------
  [X86] Make ISD::ROTL/ROTR vector rotates legal on XOP+AVX512 targets (#184587)

Similar to what we did for funnel shifts on #166949 - set vector rotates
as legal on XOP (128-bit ROTL) and AVX512 (vXi32/vXi64 ROTL/ROTR)
targets, and custom fold to X86ISD::VROTLI/VROTRI as a later fixup.

128/256-bit vector widening to 512-bit instructions is already fully
supported + tested on AVX512F-only targets

First part of #184002



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