[clang] [llvm] [HLSL][SPIRV][DXIL] Implement `WaveActiveSum` intrinsic (PR #118580)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 11:44:35 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clangd-ubuntu-tsan` running on `clangd-ubuntu-clang` while building `clang,llvm` at step 6 "test-build-clangd-clangd-index-server-clangd-in...".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/134/builds/11851

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-clangd-clangd-index-server-clangd-in...) failure: test (failure)
******************** TEST 'Clangd :: implementations.test' FAILED ********************
Exit Code: 66

Command Output (stderr):
--
RUN: at line 1: clangd -lit-test < /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/test/implementations.test | /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/bin/FileCheck -strict-whitespace /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/test/implementations.test
+ clangd -lit-test
+ /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/bin/FileCheck -strict-whitespace /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/test/implementations.test
WARNING: ThreadSanitizer: unexpected memory mapping 0x79ffffd72000-0x7a0000200000
FATAL: ThreadSanitizer: unexpectedly found incompatible memory layout.
FATAL: Please file a bug.
I[19:43:42.268] clangd version 20.0.0git (https://github.com/llvm/llvm-project.git 4446a9849aaa7e33e0d544fa6501d3d851b25fd6)
I[19:43:42.268] Features: linux+debug+tsan+grpc
I[19:43:42.268] PID: 21164
I[19:43:42.268] Working directory: /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/tools/extra/clangd/test
I[19:43:42.268] argv[0]: clangd
I[19:43:42.268] argv[1]: -lit-test
I[19:43:42.268] Starting LSP over stdin/stdout
V[19:43:42.269] <<< {
  "id": 0,
  "jsonrpc": "2.0",
  "method": "initialize",
  "params": {
    "capabilities": {},
    "processId": 123,
    "rootPath": "clangd",
    "trace": "off"
  }
}

I[19:43:42.269] <-- initialize(0)
I[19:43:42.270] --> reply:initialize(0) 1 ms
==================
WARNING: ThreadSanitizer: signal-unsafe call inside of a signal (pid=21164)
    #0 free <null> (clangd+0xddb29f) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #1 __call_tls_dtors <null> (libc.so.6+0x438b3) (BuildId: f7307432a8b162377e77a182b6cc2e53d771ec4b)
    #2 SignalHandler(int) /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/lib/Support/Unix/Signals.inc (clangd+0x100f55f) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #3 __tsan::CallUserSignalHandler(__tsan::ThreadState*, bool, bool, int, __sanitizer::__sanitizer_siginfo*, void*) tsan_interceptors_posix.cpp.o (clangd+0xde4155) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #4 llvm::raw_fd_ostream::write_impl(char const*, unsigned long) /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/lib/Support/raw_ostream.cpp:764:19 (clangd+0xff5762) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #5 llvm::raw_ostream::flush_nonempty() /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/lib/Support/raw_ostream.cpp:222:3 (clangd+0xff3c5b) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #6 flush /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/Support/raw_ostream.h:200:7 (clangd+0x2c81434) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #7 clang::clangd::(anonymous namespace)::JSONTransport::sendMessage(llvm::json::Value) /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/JSONTransport.cpp:141:9 (clangd+0x2c81434)
    #8 clang::clangd::(anonymous namespace)::JSONTransport::reply(llvm::json::Value, llvm::Expected<llvm::json::Value>) /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/JSONTransport.cpp:89:7 (clangd+0x2c7e3da) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #9 clang::clangd::ClangdLSPServer::MessageHandler::ReplyOnce::operator()(llvm::Expected<llvm::json::Value>) /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/ClangdLSPServer.cpp:381:24 (clangd+0x2a4056a) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #10 void llvm::detail::UniqueFunctionBase<void, llvm::Expected<llvm::json::Value>>::CallImpl<clang::clangd::ClangdLSPServer::MessageHandler::ReplyOnce>(void*, llvm::Expected<llvm::json::Value>&) /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:222:12 (clangd+0x2a41600) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #11 operator() /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:387:12 (clangd+0x2a1b4dd) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #12 clang::clangd::ClangdLSPServer::onInitialize(clang::clangd::InitializeParams const&, llvm::unique_function<void (llvm::Expected<llvm::json::Value>)>) /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/ClangdLSPServer.cpp:695:3 (clangd+0x2a1b4dd)
    #13 void clang::clangd::LSPBinder::method<clang::clangd::InitializeParams, llvm::json::Value, clang::clangd::ClangdLSPServer>(llvm::StringLiteral, clang::clangd::ClangdLSPServer*, void (clang::clangd::ClangdLSPServer::*)(clang::clangd::InitializeParams const&, llvm::unique_function<void (llvm::Expected<llvm::json::Value>)>))::'lambda'(llvm::json::Value, llvm::unique_function<void (llvm::Expected<llvm::json::Value>)>)::operator()(llvm::json::Value, llvm::unique_function<void (llvm::Expected<llvm::json::Value>)>) const /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/LSPBinder.h:141:5 (clangd+0x2a6946f) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #14 void llvm::detail::UniqueFunctionBase<void, llvm::json::Value, llvm::unique_function<void (llvm::Expected<llvm::json::Value>)>>::CallImpl<void clang::clangd::LSPBinder::method<clang::clangd::InitializeParams, llvm::json::Value, clang::clangd::ClangdLSPServer>(llvm::StringLiteral, clang::clangd::ClangdLSPServer*, void (clang::clangd::ClangdLSPServer::*)(clang::clangd::InitializeParams const&, llvm::unique_function<void (llvm::Expected<llvm::json::Value>)>))::'lambda'(llvm::json::Value, llvm::unique_function<void (llvm::Expected<llvm::json::Value>)>)>(void*, llvm::json::Value&, llvm::unique_function<void (llvm::Expected<llvm::json::Value>)>&) /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:222:12 (clangd+0x2a69198) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
    #15 operator() /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:387:12 (clangd+0x2a3d881) (BuildId: 2da58312f7339fa011604e1c2793d4934c4e0282)
...

```

</details>

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


More information about the llvm-commits mailing list