[llvm] [ValueTracking] Infer operand bound from mul nuw square predicates (PR #173127)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 26 23:37:04 PST 2025
https://github.com/dtcxzyw commented:
I'd suggest implementing a new transition function like `ConstantRange::sqrt`, which interprets the input as unsigned integers and calculates the square root. You can reuse the existing `APInt::sqrt` utility.
https://github.com/llvm/llvm-project/pull/173127
More information about the llvm-commits
mailing list