[llvm] [AtomicExpandPass] Preserve atomic and volatile nature of emulated operations (PR #188361)
Akshay Deodhar via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 29 17:29:37 PDT 2026
akshayrdeodhar wrote:
> You can get the build log through the GitHub UI: https://github.com/llvm/llvm-project/commit/ef02c5fcff26332c43a10d9d2f654100a568d74b/checks/72961828084/logs .
>
> Are you sure you have the SPIRV target enabled in your build?
>
> CMake invocation, for reference:
>
> ```
> cmake -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm -B /home/gha/actions-runner/_work/llvm-project/llvm-project/build -D 'LLVM_ENABLE_PROJECTS=bolt;clang;clang-tools-extra;cross-project-tests;flang;lld;lldb;llvm;mlir;polly' -D 'LLVM_ENABLE_RUNTIMES=libcxx;libcxxabi;libunwind' -G Ninja -D CMAKE_PREFIX_PATH=/home/gha/.local -D CMAKE_BUILD_TYPE=Release -D CLANG_ENABLE_CIR=OFF -D LLVM_ENABLE_ASSERTIONS=ON -D LLVM_BUILD_EXAMPLES=ON -D COMPILER_RT_BUILD_LIBFUZZER=OFF -D 'LLVM_LIT_ARGS=-v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct' -D LLVM_ENABLE_LLD=ON -D CMAKE_CXX_FLAGS=-gmlt -D CMAKE_C_COMPILER_LAUNCHER=sccache -D CMAKE_CXX_COMPILER_LAUNCHER=sccache -D CMAKE_DISABLE_PRECOMPILE_HEADERS=ON -D LIBCXX_CXX_ABI=libcxxabi -D MLIR_ENABLE_BINDINGS_PYTHON=ON -D LLDB_ENABLE_PYTHON=ON -D LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON -D CMAKE_INSTALL_PREFIX=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/install -D CMAKE_EXE_LINKER_FLAGS=-no-pie -D LLVM_ENABLE_WERROR=ON -D LLVM_BINUTILS_INCDIR=/usr
> ```
Thanks! SPIRV was enabled locally. The test runs, but the Machine code produced is slightly different. Tried rerunning the CI to check if it was caused by a state sccache binary. The issue was that I had a stale _local_ ccache. On a clean build, I'm able to reproduce the issue. I'll be disabling SPIRV in this PR (since there is a crash, I'll fix it in a separate PR, just like the other crashing backends). I'll update this MR with the root cause for the SPIRV crash before landing.
https://github.com/llvm/llvm-project/pull/188361
More information about the llvm-commits
mailing list