jhuber6 added a comment.

I'm just investigating migrating D80222 <https://reviews.llvm.org/D80222> away 
from the static methods. When I try to just add an OpenMPIRBuilder type and 
initialize it I get failures on the tests. I'm just adding in the module as you 
have 
`CGOpenMPRuntime.h`

  llvm::OpenMPIRBuilder InternalOMPBuilder;

`CGOpenMPRuntime.cpp`

  CGOpenMPRuntime::CGOpenMPRuntime(CodeGenModule &CGM, StringRef FirstSeparator,
                                   StringRef Separator)
      : CGM(CGM), FirstSeparator(FirstSeparator), Separator(Separator),
        InternalOMPBuilder(CGM.getModule()), OffloadEntriesInfoManager(CGM) {
    InternalOMPBuilder.initialize();

But it causes most of the tests to fail even without using the IRBuilder object.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80735/new/

https://reviews.llvm.org/D80735



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to