[llvm] 1819d59 - [NFC][msan] Remove unused return type
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 10 12:23:01 PDT 2022
Author: Vitaly Buka
Date: 2022-09-10T12:20:54-07:00
New Revision: 1819d5999c7091781a6441dad4bcede9c554ca90
URL: https://github.com/llvm/llvm-project/commit/1819d5999c7091781a6441dad4bcede9c554ca90
DIFF: https://github.com/llvm/llvm-project/commit/1819d5999c7091781a6441dad4bcede9c554ca90.diff
LOG: [NFC][msan] Remove unused return type
Added:
Modified:
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
index 3a804fbee0d2..bdb410b48ace 100644
--- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -3273,7 +3273,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
}
}
- bool handleMaskedLoad(IntrinsicInst &I) {
+ void handleMaskedLoad(IntrinsicInst &I) {
IRBuilder<> IRB(&I);
Value *Addr = I.getArgOperand(0);
const Align Alignment(
@@ -3322,7 +3322,6 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
setOrigin(&I, getCleanOrigin());
}
}
- return true;
}
// Instrument BMI / BMI2 intrinsics.
More information about the llvm-commits
mailing list