[llvm] [AggressiveInstCombine] trunc to i1 in any or all bits set check (PR #184246)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 00:54:59 PST 2026
================
@@ -288,6 +288,35 @@ static bool foldAnyOrAllBitsSet(Instruction &I) {
return true;
}
+static bool foldAnyOrAllBitsSetTrunc(Instruction &I) {
----------------
nikic wrote:
Why does this need to be separate function rather than an additional case in foldAnyOrAllBitsSet?
https://github.com/llvm/llvm-project/pull/184246
More information about the llvm-commits
mailing list