[PATCH] D118961: [mte] fix runOnFunction return value falsely suggesting function was modified.
Florian Mayer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 3 18:21:31 PST 2022
fmayer created this revision.
Herald added a subscriber: hiraditya.
fmayer requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
If NumInterestingAllocas == 0 we do not add any instrumentation or
padding in the previous loop.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118961
Files:
llvm/lib/Target/AArch64/AArch64StackTagging.cpp
Index: llvm/lib/Target/AArch64/AArch64StackTagging.cpp
===================================================================
--- llvm/lib/Target/AArch64/AArch64StackTagging.cpp
+++ llvm/lib/Target/AArch64/AArch64StackTagging.cpp
@@ -605,7 +605,7 @@
}
if (NumInterestingAllocas == 0)
- return true;
+ return false;
std::unique_ptr<DominatorTree> DeleteDT;
DominatorTree *DT = nullptr;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118961.405849.patch
Type: text/x-patch
Size: 404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220204/042bcd4c/attachment.bin>
More information about the llvm-commits
mailing list