[clang] [llvm] [mlir] [IRBuilder] Use ptrtoaddr in CreatePtrDiff() (PR #181855)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 18 07:53:52 PST 2026


================

----------------
arichardson wrote:

Maybe now that we have two overloads, this one could be called `CreateCStylePtrDiff` to make it obvious that first argument is used for the element type?

https://github.com/llvm/llvm-project/pull/181855


More information about the llvm-commits mailing list