[llvm] 61cd6bb - Revert "[Instrumentation] Fix a warning"

Alexander Shaposhnikov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 28 21:57:30 PDT 2024


Author: Alexander Shaposhnikov
Date: 2024-06-29T04:55:21Z
New Revision: 61cd6bbb511d2aa4609fd264d2b6c2306f54bc8a

URL: https://github.com/llvm/llvm-project/commit/61cd6bbb511d2aa4609fd264d2b6c2306f54bc8a
DIFF: https://github.com/llvm/llvm-project/commit/61cd6bbb511d2aa4609fd264d2b6c2306f54bc8a.diff

LOG: Revert "[Instrumentation] Fix a warning"

This reverts commit de18ff35caa764998321dc01306b509efe4be431.
The initial commit for nsan needs to be reverted
for now because of the issue detected by
https://lab.llvm.org/buildbot/#/builders/11/builds/822.

Added: 
    

Modified: 
    llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
index 5b2349af5e3af..4d91f812cf676 100644
--- a/llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
@@ -1529,7 +1529,6 @@ Value *NumericalStabilitySanitizer::maybeHandleKnownCallBase(
   assert(Intrinsic::matchIntrinsicSignature(WidenedFnTy, TableRef, ArgTys) ==
              Intrinsic::MatchIntrinsicTypes_Match &&
          "invalid widened intrinsic");
-  (void)TableRef;
   // For known intrinsic functions, we create a second call to the same
   // intrinsic with a 
diff erent type.
   SmallVector<Value *, 4> Args;


        


More information about the llvm-commits mailing list