[flang-commits] [flang] [NFC][flang][OpenMP] Move `createMapInfoOp` to `OpenMP-utils.h` (PR #154483)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Tue Aug 26 00:21:04 PDT 2025


ergawy wrote:

> I think there is some usefulness. "Support" accross LLVM projects denotes general purpose utilities that could have been part of the C++ standard library, i.e. are not even specific to a compiler project[1](#user-content-fn-1-e5797b45201fb769eaa791c81c3bcf1c). IMHO `llvm::Triple` never fit into Support, since it is specific to a compiler project.
> ## Footnotes
> 
>     1. `clangSupport` seems to be the [exception](https://github.com/llvm/llvm-project/commit/f26c41e8dd28d86030cd0f5a6e9c11036acea5d2) and [should not have been called "Support"](https://reviews.llvm.org/D121984#3440277). It's creation has the same background as LLVMTargetParser, bit in the end discussing its name is equivalent to bikeshedding. [↩](#user-content-fnref-1-e5797b45201fb769eaa791c81c3bcf1c)

Thanks for the context. I added a new lib and moved the function to it.

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


More information about the flang-commits mailing list