[llvm] [LLVM][Coroutines] Introduce TBAA metadata for coro frame object (PR #176543)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 19 21:54:37 PST 2026


================
@@ -118,6 +122,8 @@ struct Shape {
   uint64_t FrameSize = 0;
   Value *FramePtr = nullptr;
   BasicBlock *AllocaSpillBlock = nullptr;
+  MDNode *UniqueTBAARoot = nullptr;
+  bool HasMultipleTBAARoots = false;
----------------
yonillasky wrote:

NewSigma above asked me to move my original direct traversal code into the Shape class.
I'm a bit confused about what to do, if neither approach is good enough

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


More information about the llvm-commits mailing list