================
@@ -70,6 +71,32 @@ extern cl::opt<bool> EnableSingleByteCoverage;
namespace {
+bool isSoftX87LongDoubleVector(const CodeGenFunction &CGF, QualType Ty) {
+ const auto *VT = Ty->getAs<VectorType>();
+ return VT && CGF.getTarget().hasSoftX87LongDouble() &&
+ VT->getElementType()->isSpecificBuiltinType(BuiltinType::LongDouble);
+}
+
+bool isSoftX87LongDoubleOrVector(const CodeGenFunction &CGF, QualType Ty) {
+ return CGF.getTarget().hasSoftX87LongDouble() &&
+ (Ty->isSpecificBuiltinType(BuiltinType::LongDouble) ||
+ isSoftX87LongDoubleVector(CGF, Ty));
----------------
lhmouse wrote:
Fixed in 3a6e894c4949cab0c01728872d17f5f616c1d98e
https://github.com/llvm/llvm-project/pull/237057
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits