diff options
| author | Petr Hosek <phosek@chromium.org> | 2019-09-10 06:25:13 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2019-09-10 06:25:13 +0000 |
| commit | 7d1757aba808db3d42362176862fe4e60bf3840d (patch) | |
| tree | 3f807fbdabbcb05e68bff2e2f65acb9651543c4d /llvm/lib/Transforms/IPO | |
| parent | 0e533ca4bb82fee0b1c25853129a2f5f80dbf97b (diff) | |
| download | bcm5719-llvm-7d1757aba808db3d42362176862fe4e60bf3840d.tar.gz bcm5719-llvm-7d1757aba808db3d42362176862fe4e60bf3840d.zip | |
Revert "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM"
This reverts commit r371484: this broke sanitizer-x86_64-linux-fast bot.
llvm-svn: 371488
Diffstat (limited to 'llvm/lib/Transforms/IPO')
| -rw-r--r-- | llvm/lib/Transforms/IPO/SampleProfile.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/IPO/SampleProfile.cpp b/llvm/lib/Transforms/IPO/SampleProfile.cpp index d0cf63b35f4..eb4ddfd179b 100644 --- a/llvm/lib/Transforms/IPO/SampleProfile.cpp +++ b/llvm/lib/Transforms/IPO/SampleProfile.cpp @@ -72,7 +72,6 @@ #include "llvm/Transforms/Instrumentation.h" #include "llvm/Transforms/Utils/CallPromotionUtils.h" #include "llvm/Transforms/Utils/Cloning.h" -#include "llvm/Transforms/Utils/MisExpect.h" #include <algorithm> #include <cassert> #include <cstdint> @@ -1447,8 +1446,6 @@ void SampleProfileLoader::propagateWeights(Function &F) { } } - misexpect::verifyMisExpect(TI, Weights, TI->getContext()); - uint64_t TempWeight; // Only set weights if there is at least one non-zero weight. // In any other case, let the analyzer set weights. |

