[clang] [llvm] [RISCV][P-ext] Rename pm4add/pm2add/pm2sub intrinsics to match latest spec. (PR #242085)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 12 20:03:42 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 59462 tests passed
* 561 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CIR/CodeGen/constructor-destructor-return-this.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
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 C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGen\constructor-destructor-return-this.cpp -fclangir -emit-cir -o - -triple=aarch64-unknown-linux-gnu -fctor-dtor-return-this -Wno-inaccessible-base | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=CIRRET C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGen\constructor-destructor-return-this.cpp
# 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 'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGen\constructor-destructor-return-this.cpp' -fclangir -emit-cir -o - -triple=aarch64-unknown-linux-gnu -fctor-dtor-return-this -Wno-inaccessible-base
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=CIRRET 'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGen\constructor-destructor-return-this.cpp'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGen\constructor-destructor-return-this.cpp:141:12: error: CIRRET: expected string not found in input
# | // CIRRET: %[[FN:.*]] = cir.load {{.*}} : {{.*}}, !cir.ptr<!cir.func<(!cir.ptr<!rec_E>) -> !cir.ptr<!rec_E>>>
# | ^
# | <stdin>:380:171: note: scanning from here
# | %3 = cir.call @_ZN1EC1Ev(%0) : (!cir.ptr<!rec_E> {llvm.align = 8 : i64, llvm.dereferenceable = 8 : i64, llvm.nonnull, llvm.noundef}) -> (!cir.ptr<!rec_E> {llvm.noundef}) loc(#loc50)
# | ^
# | <stdin>:380:171: note: pattern attempts to capture variables: "FN"
# | %3 = cir.call @_ZN1EC1Ev(%0) : (!cir.ptr<!rec_E> {llvm.align = 8 : i64, llvm.dereferenceable = 8 : i64, llvm.nonnull, llvm.noundef}) -> (!cir.ptr<!rec_E> {llvm.noundef}) loc(#loc50)
# | ^
# | <stdin>:389:2: note: possible intended match here
# | %9 = cir.call %8(%5) nothrow : (!cir.ptr<!cir.func<(!cir.ptr<!rec_E>) -> !cir.ptr<!rec_E>>>, !cir.ptr<!rec_E> {llvm.align = 8 : i64, llvm.dead_on_return = 8 : i64, llvm.dereferenceable = 8 : i64, llvm.nonnull, llvm.noundef}) -> (!cir.ptr<!rec_E> {llvm.noundef}) loc(#loc82)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGen\constructor-destructor-return-this.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 375: } loc(#loc76)
# | 376: cir.func no_inline dso_local @_Z15test_destructorv() requires_call_conv_lowering attributes {mustprogress, nothrow, optnone} {
# | 377: %0 = cir.alloca "ref.tmp0" align(8) : !cir.ptr<!rec_E> loc(#loc78)
# | 378: %1 = cir.alloca "e1" align(8) init const : !cir.ptr<!cir.ptr<!rec_E>> loc(#loc79)
# | 379: %2 = cir.alloca "e2" align(8) init : !cir.ptr<!cir.ptr<!rec_E>> loc(#loc80)
# | 380: %3 = cir.call @_ZN1EC1Ev(%0) : (!cir.ptr<!rec_E> {llvm.align = 8 : i64, llvm.dereferenceable = 8 : i64, llvm.nonnull, llvm.noundef}) -> (!cir.ptr<!rec_E> {llvm.noundef}) loc(#loc50)
# | check:141'0 { search range start (exclusive)
# | check:141'1 error: no match found in search range
# | check:141'2 pattern attempts to capture variables: "FN"
# | 381: cir.cleanup.scope {
# | 382: cir.store align(8) %0, %1 : !cir.ptr<!rec_E>, !cir.ptr<!cir.ptr<!rec_E>> loc(#loc78)
# | 383: %4 = cir.call @_Z4getev() : () -> (!cir.ptr<!rec_E> {llvm.noundef}) loc(#loc81)
# | 384: cir.store align(8) %4, %2 : !cir.ptr<!rec_E>, !cir.ptr<!cir.ptr<!rec_E>> loc(#loc81)
# | 385: %5 = cir.load align(8) %2 : !cir.ptr<!cir.ptr<!rec_E>>, !cir.ptr<!rec_E> loc(#loc56)
# | 386: %6 = cir.vtable.get_vptr %5 : !cir.ptr<!rec_E> -> !cir.ptr<!cir.vptr> loc(#loc56)
# | 387: %7 = cir.load align(8) %6 : !cir.ptr<!cir.vptr>, !cir.vptr loc(#loc56)
# | 388: %8 = cir.vtable.get_virtual_fn %7[0] : !cir.vptr -> !cir.ptr<!cir.func<(!cir.ptr<!rec_E>) -> !cir.ptr<!rec_E>>> loc(#loc56)
# | 389: %9 = cir.call %8(%5) nothrow : (!cir.ptr<!cir.func<(!cir.ptr<!rec_E>) -> !cir.ptr<!rec_E>>>, !cir.ptr<!rec_E> {llvm.align = 8 : i64, llvm.dead_on_return = 8 : i64, llvm.dereferenceable = 8 : i64, llvm.nonnull, llvm.noundef}) -> (!cir.ptr<!rec_E> {llvm.noundef}) loc(#loc82)
# | check:141'3 ? possible intended match
# | 390: cir.yield loc(#loc21)
# | 391: } cleanup normal {
# | 392: %4 = cir.call @_ZN1ED1Ev(%0) nothrow : (!cir.ptr<!rec_E> {llvm.align = 8 : i64, llvm.dead_on_return = 8 : i64, llvm.dereferenceable = 8 : i64, llvm.nonnull, llvm.noundef}) -> (!cir.ptr<!rec_E> {llvm.noundef}) loc(#loc82)
# | 393: cir.yield loc(#loc21)
# | 394: } loc(#loc21)
# | .
# | .
# | .
# | 465: #loc79 = loc(fused[#loc52, #loc51])
# | 466: #loc80 = loc(fused[#loc53, #loc54])
# | 467: #loc81 = loc(fused[#loc55, #loc54])
# | 468: #loc82 = loc(fused[#loc57, #loc58])
# | 469: #loc83 = loc(fused[#loc59, #loc60])
# | 470: #loc84 = loc(fused[#loc61, #loc62])
# | check:141'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/242085
More information about the cfe-commits
mailing list