================
@@ -806,6 +806,19 @@ llvm::X86::getCpuSupportsMask(ArrayRef<StringRef>
FeatureStrs) {
return FeatureMask;
}
+void llvm::X86::expandAPXFeatures(bool Negative, const bool IsOsWindows,
+ std::vector<StringRef> &Features) {
+ if (Negative) {
+ Features.insert(Features.end(), {"-egpr", "-ndd", "-ccmp", "-nf", "-zu",
+ "-push2pop2", "-ppx", "-cf"});
+ } else {
+ Features.insert(Features.end(), {"+egpr", "+ndd", "+ccmp", "+nf", "+zu"});
+ if (!IsOsWindows) {
----------------
Andarwinux wrote:
Is this still necessary? Windows now fully supported egpr/ppx/push2pop2.
https://github.com/llvm/llvm-project/pull/184078
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits