[clang] Fix complex long double division with -mno-x87. (PR #133152)

Joshua Cranmer via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 27 13:46:45 PDT 2025


================
@@ -0,0 +1,49 @@
+// RUN %clang_cc1 %s -O0 -emit-llvm -triple x86_64-unknown-unknown \
+// RUN -verify -complex-range=promoted -o - | FileCheck %s
+
+// RUN %clang_cc1 %s -O0 -emit-llvm -triple x86_64-unknown-unknown \
+// RUN -verify=nopromotion -complex-range=promoted -target-feature -x87 -o - | FileCheck %s --check-prefix=X87
----------------
jcranmer-intel wrote:

I'd rename the check prefix label here to "NOX87" to make it a little more clear what's actually being tested.

https://github.com/llvm/llvm-project/pull/133152


More information about the cfe-commits mailing list