This should fix build-bot failures after r233804.
The patch also adds a "systemz" feature, and renames the
"transactional-execution" feature to "htm", since it turns
out "-" is not a legal character in module feature names.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233807
91177308-0d34-0410-b5e6-
96231b3b80d8
bool hasFeature(StringRef Feature) const override {
return llvm::StringSwitch<bool>(Feature)
- .Case("transactional-execution", HasTransactionalExecution)
+ .Case("systemz", true)
+ .Case("htm", HasTransactionalExecution)
.Default(false);
}
};
float.h
fma4intrin.h
fmaintrin.h
+ htmintrin.h
+ htmxlintrin.h
ia32intrin.h
immintrin.h
Intrin.h
prfchwintrin.h
rdseedintrin.h
rtmintrin.h
+ s390intrin.h
shaintrin.h
smmintrin.h
stdalign.h
header "__wmmintrin_pclmul.h"
}
}
+
+ explicit module systemz {
+ requires systemz
+ export *
+
+ header "s390intrin.h"
+
+ explicit module htm {
+ requires htm
+ header "htmintrin.h"
+ header "htmxlintrin.h"
+ }
+ }
}
module _Builtin_stddef_max_align_t [system] [extern_c] {