[clang] [llvm] [X86][MC] Added support for -msse2avx option in llvm-mc (PR #96860)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 01:25:16 PDT 2024


================
@@ -8367,6 +8369,9 @@ void ClangAs::AddX86TargetArgs(const ArgList &Args,
   addX86AlignBranchArgs(getToolChain().getDriver(), Args, CmdArgs,
                         /*IsLTO=*/false);
 
+  if (Args.hasArg(options::OPT_msse2avx))
+    Args.AddLastArg(CmdArgs, options::OPT_msse2avx);
+
----------------
JaydeepChauhan14 wrote:

Done

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


More information about the llvm-commits mailing list