diff options
author | Shengchen Kan <shengchen.kan@intel.com> | 2024-07-03 16:02:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-03 16:02:58 +0800 |
commit | 76c84e702bd9af7db2bb9373ba6de0508f1e57a9 (patch) | |
tree | 197fc869e2bc21c3b7f986e8b1d5e93fe099199e /clang/unittests/Interpreter/InterpreterTest.cpp | |
parent | f3a02253e9daba0e5c11b94c090dfa9e2e9ad5db (diff) | |
download | llvm-76c84e702bd9af7db2bb9373ba6de0508f1e57a9.zip llvm-76c84e702bd9af7db2bb9373ba6de0508f1e57a9.tar.gz llvm-76c84e702bd9af7db2bb9373ba6de0508f1e57a9.tar.bz2 |
[Driver][X86] Add flang visibility for -mapx-features= (#97525)
The default visibility of `m_x86_Features_Group` is `ClangOption,
CLOption`. For x86, we expose `-march` to flang but not `-m<cpuid>`.
`apxf` is special b/c it contains several independent features like
`egpr, ndd, ppx, push2pop2, ccmp, nf, cf` and `zu`.
Users may would like to turn on part of features in different cases
1. enable `ndd` only when writing a code-size sensitive library
2. disable `ccmp`, `cf` when building component has strong security
request on caches
Hence, we expose `-mapx-features=` to flang for Fortran users.
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions