projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e0483b
)
[OpenMPOpt][Fix] Remove double initialization of omp::types.
author
sstefan1
<sstipanovic@s-energize.com>
Thu, 2 Jul 2020 17:50:39 +0000
(19:50 +0200)
committer
sstefan1
<sstipanovic@s-energize.com>
Thu, 2 Jul 2020 17:51:54 +0000
(19:51 +0200)
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
index
03835bc
..
6e1da15
100644
(file)
--- a/
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+++ b/
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
@@
-64,11
+64,9
@@
struct OMPInformationCache : public InformationCache {
SmallPtrSetImpl<Function *> &ModuleSlice)
: InformationCache(M, AG, Allocator, CGSCC), ModuleSlice(ModuleSlice),
OMPBuilder(M) {
-
initializeTypes(M
);
+
OMPBuilder.initialize(
);
initializeRuntimeFunctions();
initializeInternalControlVars();
-
- OMPBuilder.initialize();
}
/// Generic information that describes an internal control variable.