[llvm-branch-commits] [ConstantFolding] Avoid use of isNonIntegralPointerType() (PR #159959)

Alexander Richardson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Sep 20 17:32:36 PDT 2025


https://github.com/arichardson created https://github.com/llvm/llvm-project/pull/159959

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.





More information about the llvm-branch-commits mailing list