[flang-commits] [flang] [flang] Use saturated intrinsic for floating point conversions (PR #130686)

via flang-commits flang-commits at lists.llvm.org
Tue Mar 11 02:27:49 PDT 2025


================
@@ -0,0 +1,236 @@
+! RUN: %flang -funsigned %s -o %t && %t | FileCheck %s
----------------
jeanPerier wrote:

Lit tests should not contain end-to-end tests, they belong to https://github.com/llvm/llvm-test-suite/tree/main/Fortran/UnitTests (this is a "whole program test" for https://llvm.org/docs/TestingGuide.html#llvm-testing-infrastructure-organization).

It is a great end to end test, so I would encourage you to add it there.

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


More information about the flang-commits mailing list