================
@@ -477,6 +477,13 @@ llvm::Type *CodeGenTypes::ConvertType(QualType T) {
       break;
     case BuiltinType::LongDouble:
       LongDoubleReferenced = true;
+      if (getTarget().hasSoftX87LongDouble()) {
+        // For ARM64EC, the software x87 `long double` is an integer image
+        // of the value in a 16-byte slot.  All computation goes through
+        // `double` via runtime helper calls.
+        ResultType = llvm::IntegerType::get(getLLVMContext(), 128);
----------------
lhmouse wrote:

Added software lowering in 13466c8a8f6943a19f971c9809e6b8f7a5b4583f

https://github.com/llvm/llvm-project/pull/237057
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to