[PATCH] D119993: [MTE] Instrument use-after-scope for optnone functions.
Florian Mayer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 17 13:54:06 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG86e26f09a403: [MTE] Instrument use-after-scope for optnone functions. (authored by fmayer).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119993/new/
https://reviews.llvm.org/D119993
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
@@ -508,8 +508,7 @@
if (auto *P = getAnalysisIfAvailable<DominatorTreeWrapperPass>())
DT = &P->getDomTree();
- if (DT == nullptr && (SInfo.AllocasToInstrument.size() > 1 ||
- !F->hasFnAttribute(Attribute::OptimizeNone))) {
+ if (DT == nullptr) {
DeleteDT = std::make_unique<DominatorTree>(*F);
DT = DeleteDT.get();
}
@@ -519,7 +518,7 @@
if (auto *P = getAnalysisIfAvailable<PostDominatorTreeWrapperPass>())
PDT = &P->getPostDomTree();
- if (PDT == nullptr && !F->hasFnAttribute(Attribute::OptimizeNone)) {
+ if (PDT == nullptr) {
DeletePDT = std::make_unique<PostDominatorTree>(*F);
PDT = DeletePDT.get();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119993.409781.patch
Type: text/x-patch
Size: 908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220217/a66bcb8d/attachment.bin>
More information about the llvm-commits
mailing list