[Openmp-commits] [clang] [flang] [llvm] [openmp] [Flang][OpenMP] Move builtin .mod generation into runtimes (PR #137828)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Tue Apr 29 08:54:38 PDT 2025
================
@@ -102,6 +102,10 @@ ToolChain::ToolChain(const Driver &D, const llvm::Triple &T,
getFilePaths().push_back(*Path);
for (const auto &Path : getArchSpecificLibPaths())
addIfExists(getFilePaths(), Path);
+
+ if (D.IsFlangMode()) {
+ getIntrinsicModulePaths().append(getIntrinsicModulePaths());
+ }
----------------
jhuber6 wrote:
```suggestion
if (D.IsFlangMode())
getIntrinsicModulePaths().append(getIntrinsicModulePaths());
```
https://github.com/llvm/llvm-project/pull/137828
More information about the Openmp-commits
mailing list