aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2021-10-08 16:29:57 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2021-11-09 17:39:24 -0500
commit4b5c3e591d74f0f5810608b45ede58f3d489e14d (patch)
treec01e1586c3181242cb2952fbcb10a60ef660f745 /clang/lib/CodeGen/CodeGenModule.h
parente52937eba022c78545d7783693f0fb0e56b8cd35 (diff)
downloadllvm-4b5c3e591d74f0f5810608b45ede58f3d489e14d.zip
llvm-4b5c3e591d74f0f5810608b45ede58f3d489e14d.tar.gz
llvm-4b5c3e591d74f0f5810608b45ede58f3d489e14d.tar.bz2
[OpenMP] Remove doing assumption propagation in the front end.
This patch removes the assumption propagation that was added in D110655 primarily to get assumption informatino on opaque call sites for optimizations. The analysis done in D111445 allows us to do this more intelligently in the back-end. Depends on D111445 Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D111463
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 1c5c3ff..fbed223 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -1200,8 +1200,7 @@ public:
void ConstructAttributeList(StringRef Name, const CGFunctionInfo &Info,
CGCalleeInfo CalleeInfo,
llvm::AttributeList &Attrs, unsigned &CallingConv,
- bool AttrOnCallSite, bool IsThunk,
- const Decl *Caller = nullptr);
+ bool AttrOnCallSite, bool IsThunk);
/// Adds attributes to F according to our CodeGenOptions and LangOptions, as
/// though we had emitted it ourselves. We remove any attributes on F that