[clang] [llvm] [HLSL][DXIL][SPIRV] Added WaveActiveBitOr HLSL intrinsic (PR #165156)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 22 07:58:15 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 166234 tests passed
* 2858 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGenHLSL/builtins/WaveActiveBitOr.hlsl</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -std=hlsl2021 -finclude-default-header -triple dxil-pc-shadermodel6.3-compute /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/WaveActiveBitOr.hlsl -emit-llvm -disable-llvm-passes -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/WaveActiveBitOr.hlsl --check-prefixes=CHECK,DXCHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -std=hlsl2021 -finclude-default-header -triple dxil-pc-shadermodel6.3-compute /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/WaveActiveBitOr.hlsl -emit-llvm -disable-llvm-passes -o -
# .---command stderr------------
# | warning: support for HLSL language version hlsl2021 is incomplete, recommend using hlsl202x instead
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:248: const T &llvm::ArrayRef<llvm::Type *>::operator[](size_t) const [T = llvm::Type *]: Assertion `Index < Length && "Invalid index!"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -std=hlsl2021 -finclude-default-header -triple dxil-pc-shadermodel6.3-compute /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/WaveActiveBitOr.hlsl -emit-llvm -disable-llvm-passes -o -
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/WaveActiveBitOr.hlsl:22:1: current parser token 'uint64_t'
# | 2. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/WaveActiveBitOr.hlsl:12:6: LLVM IR generation of declaration 'test_uint'
# | 3. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/WaveActiveBitOr.hlsl:12:6: Generating code for declaration 'test_uint'
# | #0 0x0000000008e17e68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
# | #1 0x0000000008e15575 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:105:18
# | #2 0x0000000008e18c31 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# | #3 0x00007b32b675c330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007b32b67b5b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007b32b675c27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007b32b673f8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007b32b673f81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007b32b6752517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000875801d dyn_cast<llvm::VectorType, llvm::Type> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:656:3
# | #10 0x000000000875801d DecodeFixedType(llvm::ArrayRef<llvm::Intrinsic::IITDescriptor>&, llvm::ArrayRef<llvm::Type*>, llvm::LLVMContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Intrinsics.cpp:0:0
# | #11 0x0000000008757917 llvm::Intrinsic::getType(llvm::LLVMContext&, unsigned int, llvm::ArrayRef<llvm::Type*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Intrinsics.cpp:583:20
# | #12 0x000000000875c3e1 llvm::Intrinsic::getOrInsertDeclaration(llvm::Module*, unsigned int, llvm::ArrayRef<llvm::Type*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Intrinsics.cpp:734:14
# | #13 0x0000000009468f95 clang::CodeGen::CodeGenFunction::EmitHLSLBuiltinExpr(unsigned int, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGHLSLBuiltins.cpp:0:9
# | #14 0x0000000009457910 clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(clang::GlobalDecl, unsigned int, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:6490:14
# | #15 0x000000000924da54 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::CallBase**) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExpr.cpp:6013:5
# | #16 0x000000000926c20a isScalar /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:64:41
# | #17 0x000000000926c20a getScalarVal /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:73:5
# | #18 0x000000000926c20a (anonymous namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:637:36
# | #19 0x000000000925964d Visit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:453:52
# | #20 0x000000000925964d clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:5890:8
# | #21 0x00000000091bcb0b clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:1695:26
# | #22 0x00000000091b8d3d clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:462:5
# | #23 0x00000000091c6da1 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGStmt.cpp:587:10
# | #24 0x00000000091a500d EmitFunctionBody /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:0:5
# | #25 0x00000000091a500d clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1625:5
# | #26 0x0000000009070ef4 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:6475:3
# | #27 0x00000000090687df ~TimeTraceScope /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/TimeProfiler.h:200:9
# | #28 0x00000000090687df clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4554:3
# | #29 0x000000000906d80e clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4265:5
# | #30 0x00000000090672e1 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:7386:5
# | #31 0x00000000095b981c (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:196:20
# | #32 0x00000000095b0d36 clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:173:22
# | #33 0x000000000b2a30fa clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:174:17
# | #34 0x0000000009b149d3 clang::HLSLFrontendAction::ExecuteAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendActions.cpp:0:35
# | #35 0x0000000009ad93e6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1316:10
# | #36 0x0000000009a4126d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #37 0x0000000009a4126d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #38 0x0000000009a4126d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1003:23
# | #39 0x0000000009bcd28c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25
# | #40 0x000000000615f113 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:300:15
# | #41 0x000000000615ae65 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:225:12
# | #42 0x0000000006159ecd clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:268:12
# | #43 0x000000000616aeb7 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #44 0x00007b32b67411ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #45 0x00007b32b674128b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #46 0x00000000061588a5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x61588a5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/WaveActiveBitOr.hlsl --check-prefixes=CHECK,DXCHECK
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/builtins/WaveActiveBitOr.hlsl --check-prefixes=CHECK,DXCHECK
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.SemaHLSL/BuiltIns/WaveActiveBitOr-errors.hlsl</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.6-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/WaveActiveBitOr-errors.hlsl -emit-llvm-only -disable-llvm-passes -verify
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.6-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/WaveActiveBitOr-errors.hlsl -emit-llvm-only -disable-llvm-passes -verify
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTDiagnostic.cpp:428: void clang::FormatASTNodeDiagnosticArgument(DiagnosticsEngine::ArgumentKind, intptr_t, StringRef, StringRef, ArrayRef<DiagnosticsEngine::ArgumentValue>, SmallVectorImpl<char> &, void *, ArrayRef<intptr_t>): Assertion `Modifier.empty() && Argument.empty() && "Invalid modifier for QualType argument"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -finclude-default-header -triple dxil-pc-shadermodel6.6-library /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/WaveActiveBitOr-errors.hlsl -emit-llvm-only -disable-llvm-passes -verify
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/WaveActiveBitOr-errors.hlsl:19:46: current parser token ')'
# | 2. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/WaveActiveBitOr-errors.hlsl:18:43: parsing function body 'test_expr_float_type_check'
# | 3. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/BuiltIns/WaveActiveBitOr-errors.hlsl:18:43: in compound statement ('{}')
# | #0 0x0000000008e17e68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
# | #1 0x0000000008e15575 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:105:18
# | #2 0x0000000008e18c31 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# | #3 0x000078cedbcd5330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x000078cedbd2eb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x000078cedbcd527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x000078cedbcb88ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x000078cedbcb881b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x000078cedbccb517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000beeecdc clang::FormatASTNodeDiagnosticArgument(clang::DiagnosticsEngine::ArgumentKind, long, llvm::StringRef, llvm::StringRef, llvm::ArrayRef<std::pair<clang::DiagnosticsEngine::ArgumentKind, long>>, llvm::SmallVectorImpl<char>&, void*, llvm::ArrayRef<long>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTDiagnostic.cpp:370:7
# | #10 0x0000000008ff3cc1 ConvertArgToString /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/Diagnostic.h:0:5
# | #11 0x0000000008ff3cc1 clang::Diagnostic::FormatDiagnostic(char const*, char const*, llvm::SmallVectorImpl<char>&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Basic/Diagnostic.cpp:1309:19
# | #12 0x0000000009bbc52c clang::TextDiagnosticBuffer::HandleDiagnostic(clang::DiagnosticsEngine::Level, clang::Diagnostic const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/TextDiagnosticBuffer.cpp:30:3
# | #13 0x0000000009bc4e5f clang::VerifyDiagnosticConsumer::HandleDiagnostic(clang::DiagnosticsEngine::Level, clang::Diagnostic const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp:776:1
# | #14 0x0000000008ff32ee Report /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Basic/Diagnostic.cpp:625:7
# | #15 0x0000000008ff32ee clang::DiagnosticsEngine::ProcessDiag(clang::DiagnosticBuilder const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Basic/Diagnostic.cpp:704:3
# | #16 0x000000000b40cdfc clang::Sema::EmitDiagnostic(unsigned int, clang::DiagnosticBuilder const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/Sema.cpp:1766:7
# | #17 0x000000000b45f777 clang::SemaBase::ImmediateDiagBuilder::~ImmediateDiagBuilder() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaBase.cpp:31:1
# | #18 0x000000000b40d9cf clang::SemaBase::SemaDiagnosticBuilder::~SemaDiagnosticBuilder() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/Sema.cpp:2088:9
# | #19 0x000000000b83c368 clang::SemaHLSL::CheckBuiltinFunctionCall(unsigned int, clang::CallExpr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaHLSL.cpp:0:0
# | #20 0x000000000b475cd6 clang::Sema::CheckBuiltinFunctionCall(clang::FunctionDecl*, unsigned int, clang::CallExpr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaChecking.cpp:3591:36
# | #21 0x000000000b6fd42a clang::Sema::BuildResolvedCallExpr(clang::Expr*, clang::NamedDecl*, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, clang::CallExpr::ADLCallKind) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:7109:14
# | #22 0x000000000b6e4533 clang::Sema::BuildCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:6794:10
# | #23 0x000000000b6facdb clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:6534:7
# | #24 0x000000000b2d2780 clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:1893:23
# | #25 0x000000000b2d6167 clang::Parser::ParseCastExpression(clang::CastParseKind, bool, bool&, clang::TypoCorrectionTypeBehavior, bool, bool*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:1622:9
# | #26 0x000000000b2d0389 ParseCastExpression /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:567:20
# | #27 0x000000000b2d0389 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
# | #28 0x000000000b2d0289 clang::Parser::ParseExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:49:10
# | #29 0x000000000b364e55 isInvalid /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Ownership.h:200:41
# | #30 0x000000000b364e55 clang::Parser::ParseReturnStatement() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:2363:11
# | #31 0x000000000b35ec38 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::LabelDecl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:308:11
# | #32 0x000000000b35d274 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::LabelDecl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:77:20
# | #33 0x000000000b3674f1 clang::Parser::ParseCompoundStatementBody(bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:1162:11
# | #34 0x000000000b3684a5 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:2430:21
# | #35 0x000000000b2b3200 clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:0
# | #36 0x000000000b320877 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:0
# | #37 0x000000000b2b227a clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10
# | #38 0x000000000b2b1a96 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1209:12
# | #39 0x000000000b2b0a47 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14
# | #40 0x000000000b2aed30 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:745:10
# | #41 0x000000000b2a30de clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #42 0x0000000009b149d3 clang::HLSLFrontendAction::ExecuteAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendActions.cpp:0:35
# | #43 0x0000000009ad93e6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1316:10
# | #44 0x0000000009a4126d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #45 0x0000000009a4126d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #46 0x0000000009a4126d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1003:23
# | #47 0x0000000009bcd28c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25
# | #48 0x000000000615f113 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:300:15
# | #49 0x000000000615ae65 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:225:12
# | #50 0x0000000006159ecd clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:268:12
# | #51 0x000000000616aeb7 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #52 0x000078cedbcba1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #53 0x000078cedbcba28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #54 0x00000000061588a5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x61588a5)
# `-----------------------------
# error: command failed with exit status: -6
--
```
</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/165156
More information about the llvm-commits
mailing list