[clang] [llvm] [openmp] [mlir] [OpenMP] Remove `register_requires` global constructor (PR #80460)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 5 05:35:17 PST 2024


================
@@ -6872,35 +6883,6 @@ void OpenMPIRBuilder::loadOffloadInfoMetadata(StringRef HostFilePath) {
   loadOffloadInfoMetadata(*M.get());
 }
 
-Function *OpenMPIRBuilder::createRegisterRequires(StringRef Name) {
----------------
jhuber6 wrote:

That looks a little weird, the `i32` value is `22` which I don't know what that corresponds to with the flags. The value is then `10` which would be two requires flags merged together maybe? `22` is 16, 4, and 2, so I don't know why all those flags would be set at the same time.

https://github.com/llvm/llvm-project/pull/80460


More information about the cfe-commits mailing list