[PATCH] D133706: ControlHeightReduction: Remove assert check in shouldApply
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 17 13:11:07 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6d972ad2d8f1: ControlHeightReduction: Remove assert check in shouldApply (authored by MatzeB).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133706/new/
https://reviews.llvm.org/D133706
Files:
llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
Index: llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
===================================================================
--- llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
+++ llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
@@ -406,7 +406,6 @@
return CHRFunctions.count(F.getName());
}
- assert(PSI.hasProfileSummary() && "Empty PSI?");
return PSI.isFunctionEntryHot(&F);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133706.468299.patch
Type: text/x-patch
Size: 439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221017/22b441d0/attachment.bin>
More information about the llvm-commits
mailing list