aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-03-21 19:55:21 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-03-21 22:50:21 +0300
commit37d6be90524ca1659521ab879aaae5e5501f1e97 (patch)
tree7addf65a1fc1e3d51b27f9f943846482f941c766 /clang/lib/CodeGen/CodeGenFunction.cpp
parentbcaca360f8b64d267c787a5f3088e73420e78f53 (diff)
downloadllvm-37d6be90524ca1659521ab879aaae5e5501f1e97.zip
llvm-37d6be90524ca1659521ab879aaae5e5501f1e97.tar.gz
llvm-37d6be90524ca1659521ab879aaae5e5501f1e97.tar.bz2
Revert "[BranchProbability] move options for 'likely' and 'unlikely'"
Upon reviewing D98898 i've come to realization that these are implementation detail of LowerExpectIntrinsicPass, and they should not be exposed to outside of it. This reverts commit ee8b53815ddf6f6f94ade0068903cd5ae843fafa.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 18927b4..a00ae74 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -42,8 +42,8 @@
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/MDBuilder.h"
#include "llvm/IR/Operator.h"
-#include "llvm/Support/BranchProbability.h"
#include "llvm/Support/CRC.h"
+#include "llvm/Transforms/Scalar/LowerExpectIntrinsic.h"
#include "llvm/Transforms/Utils/PromoteMemToReg.h"
using namespace clang;
using namespace CodeGen;