[PATCH] D102423: [OpenMP] Change OpenMPOpt to check openmp metadata
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 25 12:31:51 PDT 2021
jdoerfert accepted this revision.
jdoerfert added a comment.
This revision is now accepted and ready to land.
LG, one nit.
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:2751
// Disable the pass if there is no OpenMP (runtime call) in the module.
- containsOpenMP(CG.getModule(), OMPInModule);
+ containsOpenMP(CG.getModule());
return false;
----------------
We don't need this anymore. Remove the entire function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102423/new/
https://reviews.llvm.org/D102423
More information about the llvm-commits
mailing list