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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 23:40:27 PDT 2024


================
@@ -68,6 +68,8 @@ class MCTargetOptions {
   // ELF.
   bool X86RelaxRelocations = true;
 
+  bool SSE2AVX : 1;
----------------
MaskRay wrote:

The size isn't an issue, so I think bit fields are not needed, especially if the bit is going to be used a lot.
If this is not hot and bit fields are intended, this should be placed before.

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


More information about the llvm-commits mailing list