[clang] [X86][clang-cl] Add CL option /vlen (PR #166375)
Phoebe Wang via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 7 03:01:28 PST 2025
================
@@ -8266,6 +8266,37 @@ void Clang::AddClangCLArgs(const ArgList &Args, types::ID InputType,
<< "/kernel";
}
+ if (Args.hasArg(options::OPT__SLASH_vlen_default)) {
+ // Override /vlen= options.
----------------
phoebewang wrote:
Yes, MSVC also takes precedence of the last flag: https://godbolt.org/z/43Ga39WhE
https://github.com/llvm/llvm-project/pull/166375
More information about the cfe-commits
mailing list