[llvm] [SPIRV] Translate {uinc/udec}_wrap as opaque intrinsics and preserve AMDGPU metadata through NonSemantic.AuxData (PR #213685)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 6 03:31:22 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>[code=1] lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVEmitIntrinsics.cpp.obj</summary>
```
FAILED: [code=1] lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVEmitIntrinsics.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\_work\llvm-project\llvm-project\build\lib\Target\SPIRV -IC:\_work\llvm-project\llvm-project\llvm\lib\Target\SPIRV -IC:\_work\llvm-project\llvm-project\build\include -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes /Folib\Target\SPIRV\CMakeFiles\LLVMSPIRVCodeGen.dir\SPIRVEmitIntrinsics.cpp.obj /Fdlib\Target\SPIRV\CMakeFiles\LLVMSPIRVCodeGen.dir\LLVMSPIRVCodeGen.pdb -c -- C:\_work\llvm-project\llvm-project\llvm\lib\Target\SPIRV\SPIRVEmitIntrinsics.cpp
C:\_work\llvm-project\llvm-project\llvm\lib\Target\SPIRV\SPIRVEmitIntrinsics.cpp(2627,29): error: no matching function for call to 'getMemScope'
2627 | static_cast<uint32_t>(getMemScope(I.getContext(), I.getSyncScopeID()));
| ^~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\SPIRV\SPIRVUtils.h(289,21): note: candidate function not viable: requires 3 arguments, but 2 were provided
289 | SPIRV::Scope::Scope getMemScope(const Triple &TT, LLVMContext &Ctx,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290 | SyncScope::ID Id);
| ~~~~~~~~~~~~~~~~
1 error generated.
```
</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/213685
More information about the llvm-commits
mailing list