[all-commits] [llvm/llvm-project] 96336b: [AggressiveInstCombine] Improve popcount matching ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Jun 3 12:57:15 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96336b233068a04b84915334af01eda3d571e301
https://github.com/llvm/llvm-project/commit/96336b233068a04b84915334af01eda3d571e301
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-06-03 (Tue, 03 Jun 2025)
Changed paths:
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/test/Transforms/AggressiveInstCombine/popcount.ll
Log Message:
-----------
[AggressiveInstCombine] Improve popcount matching if the input has known zero bits (#142501)
If the input has known zero bits, InstCombine may have simplied one
of the expected And masks. Teach AggressiveInstCombine to use
MaskedValueIsZero to recover these missing bits.
Fixes #142042.
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