[all-commits] [llvm/llvm-project] 251377: [InstCombine] Fold shift+cttz with power of 2 oper...

Matthew Devereau via All-commits all-commits at lists.llvm.org
Mon Feb 17 23:07:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 251377c47d296000158347d6a1cba2e6b30132a3
      https://github.com/llvm/llvm-project/commit/251377c47d296000158347d6a1cba2e6b30132a3
  Author: Matthew Devereau <matthew.devereau at arm.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/test/Transforms/InstCombine/shift-cttz-ctlz.ll

  Log Message:
  -----------
  [InstCombine] Fold shift+cttz with power of 2 operands (#127055)

#121386 Introduced cttz intrinsics which caused a regression where
vscale/vscale divisions could no longer be constant folded.

This fold was suggested as a fix in #126411.
https://alive2.llvm.org/ce/z/gWbtPw



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