[llvm] [TBAA] Do not rewrite TBAA tag in `adjustForAccess` if already exists (PR #96483)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 5 10:53:30 PDT 2024


================
@@ -846,8 +846,8 @@ struct AAMDNodes {
   AAMDNodes concat(const AAMDNodes &Other) const;
 
   /// Create a new AAMDNode for accessing \p AccessSize bytes of this AAMDNode.
-  /// If his AAMDNode has !tbaa.struct and \p AccessSize matches the size of the
-  /// field at offset 0, get the TBAA tag describing the accessed field.
+  /// If this AAMDNode has !tbaa.struct and \p AccessSize matches the size of
+  /// the field at offset 0, get the TBAA tag describing the accessed field.
----------------
antoniofrighetto wrote:

Adjusted, thanks.

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


More information about the llvm-commits mailing list