[clang] [TBAA] Emit distinct TBAA tags for pointers with different depths,types. (PR #76612)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 12 05:51:42 PDT 2024


================
@@ -233,6 +233,7 @@ ENUM_CODEGENOPT(StructReturnConvention, StructReturnConventionKind, 2, SRCK_Defa
 
 CODEGENOPT(RelaxAll          , 1, 0) ///< Relax all machine code instructions.
 CODEGENOPT(RelaxedAliasing   , 1, 0) ///< Set when -fno-strict-aliasing is enabled.
+CODEGENOPT(PointerTBAA, 1, 0) ///< Whether or not to use distinct TBAA tags for pointers.
----------------
AaronBallman wrote:

It'd be nice to align the code with the surrounding text.

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


More information about the cfe-commits mailing list