forked from OSchip/llvm-project
[OpenMPOpt][Fix] Remove double initialization of omp::types.
This commit is contained in:
parent
0e0483bf5c
commit
61238d2690
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue