[all-commits] [llvm/llvm-project] 4b3206: [X86] Use BMM for bitreverse without GFNI (#209223)

disservin via All-commits all-commits at lists.llvm.org
Tue Jul 14 04:40:59 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b32060e213376bf1d014ffc3a462c959d8adc0a
      https://github.com/llvm/llvm-project/commit/4b32060e213376bf1d014ffc3a462c959d8adc0a
  Author: disservin <disservin.social at gmail.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/bitreverse.ll

  Log Message:
  -----------
  [X86] Use BMM for bitreverse without GFNI (#209223)

For the scalar path bitreverse currently doesn't lower to vbitrevb on
AVX512-BMM unless GFNI is specified as well. However, GFNI isn't
required at all for this and only BMM needs to be present.

See https://godbolt.org/z/xr61xYzYr



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