[Mlir-commits] [clang] [llvm] [mlir] [clang][APFloat] Print floating-point literals in the shortest round-trip form (PR #218471)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Aug 24 12:01:57 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 140288 tests passed
* 3729 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.CodeGen/PowerPC/ppc64-complex-parms.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple powerpc64-unknown-linux-gnu -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\PowerPC\ppc64-complex-parms.c | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\PowerPC\ppc64-complex-parms.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple powerpc64-unknown-linux-gnu -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\PowerPC\ppc64-complex-parms.c'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\PowerPC\ppc64-complex-parms.c'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGen\PowerPC\ppc64-complex-parms.c:114:11: error: CHECK: expected string not found in input
# | // CHECK: store ppc_fp128 -2.500000e+00, ptr %[[VAR23]]
# |           ^
# | <stdin>:169:49: note: scanning from here
# |  store ppc_fp128 2.000000e+00, ptr %coerce.realp, align 16
# |                                                 ^
# | <stdin>:169:49: note: with "VAR23" equal to "coerce.imagp"
# |  store ppc_fp128 2.000000e+00, ptr %coerce.realp, align 16
# |                                                 ^
# | <stdin>:185:2: note: possible intended match here
# |  store ppc_fp128 2.000000e+00, ptr %coerce.realp, align 16
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CodeGen\PowerPC\ppc64-complex-parms.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            164: define dso_local void @bar_long_double() #0 { 
# |            165: entry: 
# |            166:  %coerce = alloca { ppc_fp128, ppc_fp128 }, align 16 
# |            167:  %coerce.realp = getelementptr inbounds nuw { ppc_fp128, ppc_fp128 }, ptr %coerce, i32 0, i32 0 
# |            168:  %coerce.imagp = getelementptr inbounds nuw { ppc_fp128, ppc_fp128 }, ptr %coerce, i32 0, i32 1 
# |            169:  store ppc_fp128 2.000000e+00, ptr %coerce.realp, align 16 
# | check:114'0                                                    {             search range start (exclusive)
# | check:114'1                                                                  error: no match found in search range
# | check:114'2                                                                  with "VAR23" equal to "coerce.imagp"
# |            170:  store ppc_fp128 f0x8000000000000000C004000000000000, ptr %coerce.imagp, align 16 
# |            171:  %0 = getelementptr inbounds nuw { ppc_fp128, ppc_fp128 }, ptr %coerce, i32 0, i32 0 
# |            172:  %1 = load ppc_fp128, ptr %0, align 16 
# |            173:  %2 = getelementptr inbounds nuw { ppc_fp128, ppc_fp128 }, ptr %coerce, i32 0, i32 1 
# |            174:  %3 = load ppc_fp128, ptr %2, align 16 
# |              .
# |              .
# |              .
# |            180: define dso_local void @bar_ibm128() #0 { 
# |            181: entry: 
# |            182:  %coerce = alloca { ppc_fp128, ppc_fp128 }, align 16 
# |            183:  %coerce.realp = getelementptr inbounds nuw { ppc_fp128, ppc_fp128 }, ptr %coerce, i32 0, i32 0 
# |            184:  %coerce.imagp = getelementptr inbounds nuw { ppc_fp128, ppc_fp128 }, ptr %coerce, i32 0, i32 1 
# |            185:  store ppc_fp128 2.000000e+00, ptr %coerce.realp, align 16 
# | check:114'3      ?                                                           possible intended match
# |            186:  store ppc_fp128 f0x8000000000000000C004000000000000, ptr %coerce.imagp, align 16 
# |            187:  %0 = getelementptr inbounds nuw { ppc_fp128, ppc_fp128 }, ptr %coerce, i32 0, i32 0 
# |            188:  %1 = load ppc_fp128, ptr %0, align 16 
# |            189:  %2 = getelementptr inbounds nuw { ppc_fp128, ppc_fp128 }, ptr %coerce, i32 0, i32 1 
# |            190:  %3 = load ppc_fp128, ptr %2, align 16 
# |              .
# |              .
# |              .
# |            276:  
# |            277: !llvm.module.flags = !{!0} 
# |            278: !llvm.ident = !{!1} 
# |            279:  
# |            280: !0 = !{i32 1, !"long-double-type", !"ppc_fp128"} 
# |            281: !1 = !{!"clang version 24.0.0git (https://github.com/llvm/llvm-project dc1afa638d56fac3b33dd9ca37883858f835b039)"} 
# | check:114'4                                                                                                                        } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the Mlir-commits mailing list