================
@@ -3561,6 +3664,10 @@ ScalarExprEmitter::EmitScalarPrePostIncDec(const 
UnaryOperator *E, LValue LV,
     llvm::Value *amt;
     CodeGenFunction::CGFPOptionsRAII FPOptsRAII(CGF, E);
 
+    if (CGF.getTarget().hasSoftX87LongDouble() &&
+        type->isSpecificBuiltinType(BuiltinType::LongDouble))
+      value = CGF.EmitX87LongDoubleToDouble(value, E->getExprLoc());
----------------
lhmouse wrote:

Fixed in d0ff68c1c119112d9b3e0ee5e551d2c67c0e1276

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