Alexander Richardson fd81bd8b3e
[ConstantFolding] Avoid use of isNonIntegralPointerType()
Avoiding any new inttoptr is unnecessarily restrictive for "plain"
non-integral pointers, but it is important for unstable pointers and
pointers with external state. Fixes another test codegen regression
from https://github.com/llvm/llvm-project/pull/105735.

Reviewed By: nikic

Pull Request: https://github.com/llvm/llvm-project/pull/159959
2025-09-23 15:29:33 -07:00
..