[llvm] [Attributor] Change allocation size and load/store offsets using AAPointerInfo for Alloca instructions and keep track of instructions causing an Access (PR #72029)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 25 08:55:41 PST 2025


================
@@ -1021,7 +1131,13 @@ struct AAPointerInfoImpl
            (reachesReturn()
                 ? (" (returned:" +
                    join(map_range(ReturnedOffsets,
-                                  [](int64_t O) { return std::to_string(O); }),
+                                  [](AA::RangeTy O) {
+                                    return std::string("(") +
----------------
shiltian wrote:

you don't need `std::string("(")`. just `"(".

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


More information about the llvm-commits mailing list