<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/89888>89888</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Flang driver compiler options request
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang:driver
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jeffhammond
</td>
</tr>
</table>
<pre>
The Flang and Clang drivers are separate but many Clang flags make sense for Flang, because they are not language specific. Here is a list of flags that Flang should support.
As these are documented on https://clang.llvm.org/docs/ClangCommandLineReference.html, I will only list the option, not what it does.
# currently known to be blocking, e.g. in Spack and CMake use cases
- [ ] -w, --no-warnings
- [ ] -mtune, -march, -mcpu
- [ ] -Qunused-arguments
# not known to be blockers but things I use regularly
- [ ] -Wl and -Xlinker
- [ ] -framework (MacOS-specific AFAIK)
- [ ] -time
- [ ] -static-openmp
# generally useful in LLVM projects
- [ ] -mllvm
- [ ] -mmlir
# code generation flags that have known utility
- [ ] -mno-gather
- [ ] -mno-scatter
- [ ] -mrecip
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsVMmO4zYQ_Rr6UpAhU17kgw6ebghppBtBMkGSa4ksSRxzUbi04b8PKDnJ9KgvEsEqVr33asEQ1GCJGnb4wg7PG0xxdL75Rn0_ojHOyk3n5L35fSRoNdoB0Ep4mk_Sq3fyAdATBJrQYyToUgSD9v7w6TUOAQxes4sNBL3zSyDGn6AjgSkQxJHucxjrImRjwoEgTCRUr8QW4CfyBCoAglYhgusfgeOI8YErjC5pCSFNk_Nxy8pnVl6W7yU7UqA5hXQiGbKRJDgLY4xTYNWF8ZbxVuRIW63fzdb5gfFWOhEYb2cuT84YtPJVWfqNevJkBW3HaHRm8gI3pTU4q-8LxDgSuCkqZ7M587plrCqCdBQ-wGO8ApG8Jxv1Ha7W3SxEBx1Bp524qkUr2g5bUBa-TiiuSxXesqxZP4GBwhKsAHb4AuzwDMUtPysK64obeqvssHYxMVma3Qx6MS4nMaWV46_JpkCyQD_M6oUfCWSGK-i5O3JDxDFnh5cZrKchafT6vkryp555FX9pZa_kV_beo6Gb81dgvH5D8cvX4t8egUt7efmZ8fPqUVSGVpchYlSicBNZM_1IZSBLHrW-Z7h90ln119c_3mDy7huJ-ImMuWXWt0Yrvyq0k_TIkJvj-z4e8Z0eGqaotIprhYx1xYBx_EScbAoCY_zM5kmoDzw3sqnkuTrjhprdaVed98fdsd6MDT-V56omeZRVL6sDLytOvJSy33UoT7jbqIaXfF_u-b6syzM_bZFONXbHw7487A-nesf2JRlU-r852qgQEjX1ua7rjcaOdJjXDef9vAiqy7JJGOd5BfkmPyy6NAS2L_Mwhf9DRRU1Ne13-weEM5PS5B_jFsDT34lC3CSvm4_zPag4pm4rnGG8nWu2_IpHZRlvZ6x55me4_wQAAP__0K2b0w">