llvm-project
261580ca - [InstSimplify] Support non-inbounds GEP in ptrdiff fold (#162676)

Commit
23 hours ago
[InstSimplify] Support non-inbounds GEP in ptrdiff fold (#162676) We can fold ptrdiff(ptradd(p, x), p) to x regardless of whether the ptradd is inbounds. Proof: https://alive2.llvm.org/ce/z/Xuvc7N
Author
Parents
Loading