[OpenMPOpt][Fix] Remove double initialization of omp::types.

This commit is contained in:
sstefan1 2020-07-02 19:50:39 +02:00
parent 0e0483bf5c
commit 61238d2690
1 changed files with 1 additions and 3 deletions

View File

@ -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.