GBuella added inline comments.
================ Comment at: lib/Basic/Targets/X86.cpp:188 setFeatureEnabledImpl(Features, "mpx", true); if (Kind != CK_SkylakeServer) // SKX inherits all SKL features, except SGX setFeatureEnabledImpl(Features, "sgx", true); ---------------- craig.topper wrote: > Not related to this patch, but does IcelakeServer have SGX? The adding > icelake-server patch and removing sgx from skylakeserver intersected here. As far as I know both icelake-client & icelake-server has it. https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf says: "ENCLV - Ice Lake Server and later ; Future Tremont and later" enclv is an SGX leaf. https://reviews.llvm.org/D43817 _______________________________________________ cfe-commits mailing list firstname.lastname@example.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits