[clang] [flang] [flang] Add -f[no-]vectorize flags (PR #119718)

Tarun Prabhu via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 17 08:50:18 PST 2025


================
@@ -3986,11 +3986,15 @@ defm assumptions : BoolFOption<"assumptions",
           "Disable codegen and compile-time checks for C++23's [[assume]] attribute">,
   PosFlag<SetTrue>>;
 
+
+let Visibility = [ClangOption, FlangOption] in {
----------------
tarunprabhu wrote:

Do you know if this makes `-fvectorize` unavailable in `cl-mode` and `dxc-mode`? Did the previous default visibility imply `CLOption` and `DXCOption`? 

There was a PR some time ago where the options became unavailable for those drivers because of some changes to the visibility. I can't remember what the defaults are now, but I am on holiday today, so I can look into it when I am back tomorrow.

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


More information about the cfe-commits mailing list