[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
Fri Feb 4 10:34:27 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3918dd6b8acf: [mte] fix runOnFunction return value falsely suggesting function was modified. (authored by fmayer).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118961/new/

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.406036.patch
Type: text/x-patch
Size: 404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220204/8985f3e1/attachment.bin>


More information about the llvm-commits mailing list