[llvm] r296844 - [msan] Remove stale comments.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 2 16:25:56 PST 2017
Author: eugenis
Date: Thu Mar 2 18:25:56 2017
New Revision: 296844
URL: http://llvm.org/viewvc/llvm-project?rev=296844&view=rev
Log:
[msan] Remove stale comments.
ClStoreCleanOrigin flag was removed back in 2014.
Modified:
llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Modified: llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp?rev=296844&r1=296843&r2=296844&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp Thu Mar 2 18:25:56 2017
@@ -1942,7 +1942,6 @@ struct MemorySanitizerVisitor : public I
if (ClCheckAccessAddress)
insertShadowCheck(Addr, &I);
- // FIXME: use ClStoreCleanOrigin
// FIXME: factor out common code from materializeStores
if (MS.TrackOrigins)
IRB.CreateStore(getOrigin(&I, 1), getOriginPtr(Addr, IRB, 1));
@@ -2690,7 +2689,6 @@ struct MemorySanitizerVisitor : public I
} else {
Value *Shadow = getShadow(RetVal);
IRB.CreateAlignedStore(Shadow, ShadowPtr, kShadowTLSAlignment);
- // FIXME: make it conditional if ClStoreCleanOrigin==0
if (MS.TrackOrigins)
IRB.CreateStore(getOrigin(RetVal), getOriginPtrForRetval(IRB));
}
More information about the llvm-commits
mailing list