[Attributor] Handle constant icmp expressions in AAPotentialValues
A `ConstantExpr` ICmp is pretty much the same thing as an ICmpInst when we want to simplify it. We just need to be less restrictive wrt. the type and use the static helper functions directly. Fixes: https://github.com/llvm/llvm-project/issues/59767
Loading
Please sign in to comment