================
@@ -73,8 +73,6 @@ enum CPUFeatures {
   FEAT_SSBS,
   FEAT_SSBS2,
   FEAT_BTI,
-  FEAT_LS64,
-  FEAT_LS64_V,
----------------
Wilco1 wrote:

ABI compatibility means you can use different compilers to build object files, 
link them and they work correctly. If object A uses bit 36, object B uses bit 
35 and the runtime uses bit 34, how is it ever going to work?

So using an enum in the implementation is really a bug. The FEAT_xxx bits are 
defined as constants for a good reason. And yes, these are ABI too!

https://github.com/llvm/llvm-project/pull/108024
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to