[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
Thu Jul 11 19:36:00 PDT 2024
================
@@ -140,6 +141,10 @@ llvm::mc::RegisterMCTargetOptionsFlags::RegisterMCTargetOptionsFlags() {
cl::init(true));
MCBINDOPT(X86RelaxRelocations);
+ static cl::opt<bool> X86Sse2Avx(
+ "x86-sse2avx", cl::desc("Convert SSE Instructions to AVX Instructions"));
----------------
KanRobert wrote:
Use the same help info as driver and GNU assembler.
Specify that the assembler should encode SSE instructions with VEX prefix
https://github.com/llvm/llvm-project/pull/96860
More information about the cfe-commits
mailing list