[llvm] [AMDGPU] Add fneg pattern for v4f16 and v4bf16 (PR #198466)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 20 04:15:57 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 134914 tests passed
* 3298 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.Target/LLVMIR/openmp-llvm.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe -mlir-to-llvmir -split-input-file C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-llvm.mlir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-llvm.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe' -mlir-to-llvmir -split-input-file 'C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-llvm.mlir'
# .---command stderr------------
# | Assertion failed: Extractor->isEligible() && "Expected OpenMP outlining to be possible!", file C:\_work\llvm-project\llvm-project\llvm\lib\Frontend\OpenMP\OMPIRBuilder.cpp, line 926
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\mlir-translate.exe -mlir-to-llvmir -split-input-file C:\\_work\\llvm-project\\llvm-project\\mlir\\test\\Target\\LLVMIR\\openmp-llvm.mlir
# | Exception Code: 0xC000001D
# | #0 0x00007ff79ce7a9c6 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0xc8a9c6)
# | #1 0x00007ffd9b4dbb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# | #2 0x00007ffd9b4dcad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# | #3 0x00007ffd9b4de4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# | #4 0x00007ffd9b4de6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# | #5 0x00007ff79d1e387b mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0xff387b)
# | #6 0x00007ff79c7c4e01 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0x5d4e01)
# | #7 0x00007ff79c1f93a6 (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0x93a6)
# | #8 0x00007ff79c248c98 (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0x58c98)
# | #9 0x00007ff79c1f5820 (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0x5820)
# | #10 0x00007ff79c2658a4 (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0x758a4)
# | #11 0x00007ff79c2657a0 (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0x757a0)
# | #12 0x00007ff79c265329 (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0x75329)
# | #13 0x00007ff79c265561 (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0x75561)
# | #14 0x00007ff79c1f17c6 (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0x17c6)
# | #15 0x00007ff79c1f1078 (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0x1078)
# | #16 0x00007ff79e89f244 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe+0x26af244)
# | #17 0x00007ffda31a4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #18 0x00007ffdaf13edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-llvm.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-llvm.mlir:1275:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: @collapse_wsloop
# | ^
# | <stdin>:5343:26: note: scanning from here
# | define void @omp_critical(ptr %0, i32 %1) {
# | ^
# | <stdin>:5410:113: note: possible intended match here
# | call void @__kmpc_critical_with_hint(ptr @1, i32 %omp_global_thread_num17, ptr @.gomp_critical_user_mutex_nonspeculative_uncontended.var, i32 5)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\openmp-llvm.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 5338: @.gomp_critical_user_mutex_nonspeculative_contended.var = common global [8 x i32] zeroinitializer, align 8
# | 5339: @.gomp_critical_user_mutex_speculative.var = common global [8 x i32] zeroinitializer, align 8
# | 5340: @.gomp_critical_user_mutex_speculative_uncontended.var = common global [8 x i32] zeroinitializer, align 8
# | 5341: @.gomp_critical_user_mutex_speculative_contended.var = common global [8 x i32] zeroinitializer, align 8
# | 5342:
# | 5343: define void @omp_critical(ptr %0, i32 %1) {
# | label:1275'0 X~~~~~~~~~~~~~~~~~~ error: no match found
# | 5344: %omp_global_thread_num = call i32 @__kmpc_global_thread_num(ptr @1)
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5345: call void @__kmpc_critical(ptr @1, i32 %omp_global_thread_num, ptr @.gomp_critical_user_.var)
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5346: br label %omp.critical.region
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5347:
# | label:1275'0 ~
# | 5348: omp.critical.region: ; preds = %2
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 5405: br label %omp_region.finalize14
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5406:
# | label:1275'0 ~
# | 5407: omp_region.finalize14: ; preds = %omp.region.cont15
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5408: call void @__kmpc_end_critical(ptr @1, i32 %omp_global_thread_num13, ptr @.gomp_critical_user_mutex_nonspeculative.var)
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5409: %omp_global_thread_num17 = call i32 @__kmpc_global_thread_num(ptr @1)
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5410: call void @__kmpc_critical_with_hint(ptr @1, i32 %omp_global_thread_num17, ptr @.gomp_critical_user_mutex_nonspeculative_uncontended.var, i32 5)
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:1275'1 ? possible intended match
# | 5411: br label %omp.critical.region20
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5412:
# | label:1275'0 ~
# | 5413: omp.critical.region20: ; preds = %omp_region.finalize14
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5414: store i32 %1, ptr %0, align 4
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5415: br label %omp.region.cont19
# | label:1275'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/198466
More information about the llvm-commits
mailing list