[clang] [llvm] [X86][MC] Added support for -msse2avx option in llvm-mc (PR #96860)
Shengchen Kan via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 9 00:12:09 PDT 2024
================
@@ -8359,6 +8359,9 @@ void ClangAs::AddX86TargetArgs(const ArgList &Args,
addX86AlignBranchArgs(getToolChain().getDriver(), Args, CmdArgs,
/*IsLTO=*/false);
+ if (Args.hasFlag(options::OPT_msse2avx, options::OPT_mno_sse2avx, true))
+ Args.addOptInFlag(CmdArgs, options::OPT_msse2avx, options::OPT_mno_sse2avx);
+
----------------
KanRobert wrote:
No need this if group is set correctly.
https://github.com/llvm/llvm-project/pull/96860
More information about the cfe-commits
mailing list