[flang-commits] [openmp] [flang] [flang][NVPTX] Add initial support to the NVPTX target (PR #71992)
Kiran Chandramohan via flang-commits
flang-commits at lists.llvm.org
Thu Nov 16 04:42:50 PST 2023
================
@@ -175,6 +175,45 @@ getExplicitAndImplicitAMDGPUTargetFeatures(CompilerInstance &ci,
return llvm::join(featuresVec, ",");
}
+// Get feature string which represents combined explicit target features
+// for NVPTX and the target features specified by the user/
+// TODO: Have a more robust target conf like `clang/lib/Basic/Targets/NVPTX.cpp`
----------------
kiranchandramohan wrote:
If this code can be refactored and placed in `llvm/lib/Frontend/Driver` then both clang and flang can share it.
https://github.com/llvm/llvm-project/pull/71992
More information about the flang-commits
mailing list