[flang-commits] [flang] [Flang] remove real 10 test for ppc (NFC) (PR #73911)

via flang-commits flang-commits at lists.llvm.org
Thu Nov 30 01:17:10 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-flang-semantics

Author: None (madanial0)

<details>
<summary>Changes</summary>

Remove real 10 tests for powerpc

---
Full diff: https://github.com/llvm/llvm-project/pull/73911.diff


1 Files Affected:

- (modified) flang/unittests/Evaluate/real.cpp (+4) 


``````````diff
diff --git a/flang/unittests/Evaluate/real.cpp b/flang/unittests/Evaluate/real.cpp
index 9701082898388be..6c37c28d913c7ff 100644
--- a/flang/unittests/Evaluate/real.cpp
+++ b/flang/unittests/Evaluate/real.cpp
@@ -14,7 +14,9 @@ using Real2 = Scalar<Type<TypeCategory::Real, 2>>;
 using Real3 = Scalar<Type<TypeCategory::Real, 3>>;
 using Real4 = Scalar<Type<TypeCategory::Real, 4>>;
 using Real8 = Scalar<Type<TypeCategory::Real, 8>>;
+#ifndef __PPC__
 using Real10 = Scalar<Type<TypeCategory::Real, 10>>;
+#endif
 using Real16 = Scalar<Type<TypeCategory::Real, 16>>;
 using Integer4 = Scalar<Type<TypeCategory::Integer, 4>>;
 using Integer8 = Scalar<Type<TypeCategory::Integer, 8>>;
@@ -538,7 +540,9 @@ void roundTest(int rm, Rounding rounding, std::uint32_t opds) {
   basicTests<Real3>(rm, rounding);
   basicTests<Real4>(rm, rounding);
   basicTests<Real8>(rm, rounding);
+  #ifndef __PPC__
   basicTests<Real10>(rm, rounding);
+  #endif
   basicTests<Real16>(rm, rounding);
   ScopedHostFloatingPointEnvironment::SetRounding(rounding);
   subsetTests<std::uint32_t, float, Real4>(rm, rounding, opds);

``````````

</details>


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


More information about the flang-commits mailing list