[all-commits] [llvm/llvm-project] 5c0861: [DAG] isKnownToBeAPowerOfTwo - Power of 2 value is...

Manuel Dun via All-commits all-commits at lists.llvm.org
Wed Mar 4 12:21:16 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c08616df765da3b225880f7fed824040100ec6d
      https://github.com/llvm/llvm-project/commit/5c08616df765da3b225880f7fed824040100ec6d
  Author: Manuel Dun <manueldun at users.noreply.github.com>
  Date:   2026-03-04 (Wed, 04 Mar 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/X86/known-pow2.ll

  Log Message:
  -----------
  [DAG] isKnownToBeAPowerOfTwo - Power of 2 value is known to be power of 2 after BSWAP/BITREVERSE (#182207)

This is my first pr specifically for llvm
Fixes #181657
Allows the isKnownToBeAPowerOfTwo function to handle BSWAP and
BITREVERSE dag operations.



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