diff --git a/llvm/lib/Target/AArch64/AArch64StackTagging.cpp b/llvm/lib/Target/AArch64/AArch64StackTagging.cpp --- a/llvm/lib/Target/AArch64/AArch64StackTagging.cpp +++ b/llvm/lib/Target/AArch64/AArch64StackTagging.cpp @@ -605,7 +605,7 @@ } if (NumInterestingAllocas == 0) - return true; + return false; std::unique_ptr DeleteDT; DominatorTree *DT = nullptr;