[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 03:01:47 PDT 2024
================
@@ -4761,6 +4761,7 @@ def mno_tls_direct_seg_refs : Flag<["-"], "mno-tls-direct-seg-refs">, Group<m_Gr
HelpText<"Disable direct TLS access through segment registers">,
MarshallingInfoFlag<CodeGenOpts<"IndirectTlsSegRefs">>;
def mno_relax_all : Flag<["-"], "mno-relax-all">, Group<m_Group>;
+def mno_sse2avx : Flag<["-"], "mno-sse2avx">, Group<m_Group>;
----------------
KanRobert wrote:
I wonder if we should support the negative flag in this PR. GNU assembler supports the CPU-specific optimization flags like `-march=CPU` while LLVM integrated assembler does not. IIUC, the negative flag is used to disable sse2avx opt while keeping the others. It seems useless for LLVM.
https://github.com/llvm/llvm-project/pull/96860
More information about the cfe-commits
mailing list