[llvm] [CodeGen] Optimize ctpop expansion using computeKnownBits (PR #221671)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 14 02:58:36 PDT 2026
================
@@ -12246,6 +12244,19 @@ void SelectionDAGISel::LowerArguments(const Function &F) {
OutVal = DAG.getNode(ISD::AssertNoFPClass, dl, OutVal.getValueType(),
OutVal, SDNoFPClass);
}
+ if (VT.isInteger()) {
----------------
milkHongYe wrote:
I originally added those changes because I thought they would help ctpop and other optimizations use range information. I've now removed them.
https://github.com/llvm/llvm-project/pull/221671
More information about the llvm-commits
mailing list