[compiler-rt] [llvm] [TySan] Add option to outline instrumentation (PR #120582)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 02:21:10 PDT 2025


================
@@ -834,37 +899,46 @@ bool TypeSanitizer::instrumentMemInst(Value *V, Instruction *ShadowBase,
     }
   }
 
-  if (!ShadowBase)
-    ShadowBase = getShadowBase(*F);
-  if (!AppMemMask)
-    AppMemMask = getAppMemMask(*F);
+  if (ClOutlineInstrumentation) {
----------------
fhahn wrote:

can we exit early after at the end of the block?

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


More information about the llvm-commits mailing list