[llvm] [InstCombine] Infer exact for lshr by cttz (PR #136696)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 07:55:34 PDT 2025
================
@@ -994,6 +994,18 @@ static bool setShiftFlags(BinaryOperator &I, const SimplifyQuery &Q) {
I.setIsExact();
return true;
}
+ //Fix #131444
----------------
nikic wrote:
Don't reference the issue, instead add a compact comment on what the transform does. Like `// Infer exact on shift by cttz`.
https://github.com/llvm/llvm-project/pull/136696
More information about the llvm-commits
mailing list