[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
parent
8e7c1b9a
Please register or sign in to comment