Skip to content

Conversation

@ranapratap55
Copy link
Contributor

Removing the 'e' handling for the amdgcn builtins as we decided to use _Float16 for both HIP/C++ and OpenCL

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

🐧 Linux x64 Test Results

  • 84982 tests passed
  • 1151 tests skipped
  • 3 tests failed

Failed Tests

(click on a test name to see its output)

Clang

Clang.CodeGen/builtins-extended-image.c
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/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 -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/builtins-extended-image.c -emit-llvm -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/builtins-extended-image.c
# 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 -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/builtins-extended-image.c -emit-llvm -o -
# .---command stderr------------
# | Unknown builtin type letter!
# | UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12421!
# | 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 -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/builtins-extended-image.c -emit-llvm -o -
# | 1.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/builtins-extended-image.c:758:55: current parser token '('
# | 2.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/builtins-extended-image.c:756:120: parsing function body 'test_amdgcn_image_sample_lz_1d_v4f16_f32'
# | 3.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/builtins-extended-image.c:756:120: in compound statement ('{}')
# |  #0 0x0000000008d5c488 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 0x0000000008d59b95 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:105:18
# |  #2 0x0000000008d5d251 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# |  #3 0x00007f4c8e0f0330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007f4c8e149b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007f4c8e0f027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007f4c8e0d38ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x0000000008cc953f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x8cc953f)
# |  #8 0x000000000bbb81d2 DecodeTypeFromStr(char const*&, clang::ASTContext const&, clang::ASTContext::GetBuiltinTypeError&, bool&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12559:7
# |  #9 0x000000000bbb7563 DecodeTypeFromStr(char const*&, clang::ASTContext const&, clang::ASTContext::GetBuiltinTypeError&, bool&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12571:5
# | #10 0x000000000bbb82b3 clang::ASTContext::GetBuiltinType(unsigned int, clang::ASTContext::GetBuiltinTypeError&, unsigned int*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12706:13
# | #11 0x000000000b27504c clang::Sema::LazilyCreateBuiltin(clang::IdentifierInfo*, unsigned int, clang::Scope*, bool, clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:2416:24
# | #12 0x000000000b550148 clang::Sema::LookupBuiltin(clang::LookupResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaLookup.cpp:981:24
# | #13 0x000000000b55eafd clang::Sema::LookupName(clang::LookupResult&, clang::Scope*, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaLookup.cpp:2315:31
# | #14 0x000000000b3b4bbb wasNotFoundInCurrentInstantiation /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Lookup.h:496:23
# | #15 0x000000000b3b4bbb clang::Sema::ActOnIdExpression(clang::Scope*, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool, clang::CorrectionCandidateCallback*, bool, clang::Token*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:2793:11
# | #16 0x000000000afa3d92 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:1015:19
# | #17 0x000000000af9e529 ParseCastExpression /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:567:20
# | #18 0x000000000af9e529 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
# | #19 0x000000000af9e429 clang::Parser::ParseExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:49:10
# | #20 0x000000000b033115 isInvalid /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Ownership.h:200:41
# | #21 0x000000000b033115 clang::Parser::ParseReturnStatement() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:2363:11
# | #22 0x000000000b02ced8 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
# | #23 0x000000000b02b514 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
# | #24 0x000000000b0357b1 clang::Parser::ParseCompoundStatementBody(bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:1162:11
# | #25 0x000000000b036785 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:2430:21
# | #26 0x000000000af813a0 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
# | #27 0x000000000afeeaf7 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
# | #28 0x000000000af802bf 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
# | #29 0x000000000af7fbc6 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:1204:12
# | #30 0x000000000af7eb77 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
# | #31 0x000000000af7ce60 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
# | #32 0x000000000af7120e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #33 0x0000000009a23376 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1316:10
# | #34 0x000000000998ae5d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #35 0x000000000998ae5d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #36 0x000000000998ae5d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1003:23
# | #37 0x0000000009b1535c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25
# | #38 0x0000000006076a93 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:301:15
# | #39 0x00000000060727e5 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
# | #40 0x000000000607184d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:268:12
# | #41 0x0000000006082837 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #42 0x00007f4c8e0d51ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #43 0x00007f4c8e0d528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #44 0x0000000006070225 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x6070225)
# `-----------------------------
# 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/CodeGen/builtins-extended-image.c
# .---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/CodeGen/builtins-extended-image.c
# `-----------------------------
# error: command failed with exit status: 2

--

Clang.SemaOpenCL/builtins-extended-image-param-gfx1100-err.cl
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 -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts -S -verify=expected -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx1100-err.cl
# 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 -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts -S -verify=expected -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx1100-err.cl
# .---command stderr------------
# | Unknown builtin type letter!
# | UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12421!
# | 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 -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts -S -verify=expected -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx1100-err.cl
# | 1.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx1100-err.cl:116:55: current parser token '('
# | 2.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx1100-err.cl:114:120: parsing function body 'test_amdgcn_image_sample_lz_1d_v4f16_f32'
# | 3.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx1100-err.cl:114:120: in compound statement ('{}')
# |  #0 0x0000000008d5c488 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 0x0000000008d59b95 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:105:18
# |  #2 0x0000000008d5d251 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# |  #3 0x000079bd6aaf4330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x000079bd6ab4db2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x000079bd6aaf427e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x000079bd6aad78ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x0000000008cc953f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x8cc953f)
# |  #8 0x000000000bbb81d2 DecodeTypeFromStr(char const*&, clang::ASTContext const&, clang::ASTContext::GetBuiltinTypeError&, bool&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12559:7
# |  #9 0x000000000bbb7563 DecodeTypeFromStr(char const*&, clang::ASTContext const&, clang::ASTContext::GetBuiltinTypeError&, bool&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12571:5
# | #10 0x000000000bbb82b3 clang::ASTContext::GetBuiltinType(unsigned int, clang::ASTContext::GetBuiltinTypeError&, unsigned int*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12706:13
# | #11 0x000000000b27504c clang::Sema::LazilyCreateBuiltin(clang::IdentifierInfo*, unsigned int, clang::Scope*, bool, clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:2416:24
# | #12 0x000000000b550148 clang::Sema::LookupBuiltin(clang::LookupResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaLookup.cpp:981:24
# | #13 0x000000000b55eafd clang::Sema::LookupName(clang::LookupResult&, clang::Scope*, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaLookup.cpp:2315:31
# | #14 0x000000000b3b4bbb wasNotFoundInCurrentInstantiation /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Lookup.h:496:23
# | #15 0x000000000b3b4bbb clang::Sema::ActOnIdExpression(clang::Scope*, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool, clang::CorrectionCandidateCallback*, bool, clang::Token*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:2793:11
# | #16 0x000000000afa3d92 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:1015:19
# | #17 0x000000000af9e529 ParseCastExpression /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:567:20
# | #18 0x000000000af9e529 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
# | #19 0x000000000af9e429 clang::Parser::ParseExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:49:10
# | #20 0x000000000b033115 isInvalid /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Ownership.h:200:41
# | #21 0x000000000b033115 clang::Parser::ParseReturnStatement() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:2363:11
# | #22 0x000000000b02ced8 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
# | #23 0x000000000b02b514 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
# | #24 0x000000000b0357b1 clang::Parser::ParseCompoundStatementBody(bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:1162:11
# | #25 0x000000000b036785 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:2430:21
# | #26 0x000000000af813a0 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
# | #27 0x000000000afeeaf7 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
# | #28 0x000000000af802bf 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
# | #29 0x000000000af7fbc6 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:1204:12
# | #30 0x000000000af7eb77 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
# | #31 0x000000000af7ce60 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
# | #32 0x000000000af7120e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #33 0x0000000009a23376 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1316:10
# | #34 0x000000000998ae5d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #35 0x000000000998ae5d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #36 0x000000000998ae5d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1003:23
# | #37 0x0000000009b1535c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25
# | #38 0x0000000006076a93 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:301:15
# | #39 0x00000000060727e5 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
# | #40 0x000000000607184d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:268:12
# | #41 0x0000000006082837 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #42 0x000079bd6aad91ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #43 0x000079bd6aad928b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #44 0x0000000006070225 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x6070225)
# `-----------------------------
# error: command failed with exit status: -6

--

Clang.SemaOpenCL/builtins-extended-image-param-gfx942-err.cl
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 -triple amdgcn-- -target-cpu gfx942 -verify=GFX94 -S -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx942-err.cl
# 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 -triple amdgcn-- -target-cpu gfx942 -verify=GFX94 -S -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx942-err.cl
# .---command stderr------------
# | Unknown builtin type letter!
# | UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12421!
# | 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 -triple amdgcn-- -target-cpu gfx942 -verify=GFX94 -S -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx942-err.cl
# | 1.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx942-err.cl:116:55: current parser token '('
# | 2.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx942-err.cl:114:120: parsing function body 'test_amdgcn_image_sample_lz_1d_v4f16_f32'
# | 3.	/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaOpenCL/builtins-extended-image-param-gfx942-err.cl:114:120: in compound statement ('{}')
# |  #0 0x0000000008d5c488 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 0x0000000008d59b95 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:105:18
# |  #2 0x0000000008d5d251 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# |  #3 0x00007ace8b8dd330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007ace8b936b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007ace8b8dd27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007ace8b8c08ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x0000000008cc953f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x8cc953f)
# |  #8 0x000000000bbb81d2 DecodeTypeFromStr(char const*&, clang::ASTContext const&, clang::ASTContext::GetBuiltinTypeError&, bool&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12559:7
# |  #9 0x000000000bbb7563 DecodeTypeFromStr(char const*&, clang::ASTContext const&, clang::ASTContext::GetBuiltinTypeError&, bool&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12571:5
# | #10 0x000000000bbb82b3 clang::ASTContext::GetBuiltinType(unsigned int, clang::ASTContext::GetBuiltinTypeError&, unsigned int*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ASTContext.cpp:12706:13
# | #11 0x000000000b27504c clang::Sema::LazilyCreateBuiltin(clang::IdentifierInfo*, unsigned int, clang::Scope*, bool, clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDecl.cpp:2416:24
# | #12 0x000000000b550148 clang::Sema::LookupBuiltin(clang::LookupResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaLookup.cpp:981:24
# | #13 0x000000000b55eafd clang::Sema::LookupName(clang::LookupResult&, clang::Scope*, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaLookup.cpp:2315:31
# | #14 0x000000000b3b4bbb wasNotFoundInCurrentInstantiation /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Lookup.h:496:23
# | #15 0x000000000b3b4bbb clang::Sema::ActOnIdExpression(clang::Scope*, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool, clang::CorrectionCandidateCallback*, bool, clang::Token*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExpr.cpp:2793:11
# | #16 0x000000000afa3d92 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:1015:19
# | #17 0x000000000af9e529 ParseCastExpression /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:567:20
# | #18 0x000000000af9e529 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
# | #19 0x000000000af9e429 clang::Parser::ParseExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:49:10
# | #20 0x000000000b033115 isInvalid /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/Ownership.h:200:41
# | #21 0x000000000b033115 clang::Parser::ParseReturnStatement() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:2363:11
# | #22 0x000000000b02ced8 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
# | #23 0x000000000b02b514 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
# | #24 0x000000000b0357b1 clang::Parser::ParseCompoundStatementBody(bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:1162:11
# | #25 0x000000000b036785 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseStmt.cpp:2430:21
# | #26 0x000000000af813a0 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
# | #27 0x000000000afeeaf7 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
# | #28 0x000000000af802bf 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
# | #29 0x000000000af7fbc6 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:1204:12
# | #30 0x000000000af7eb77 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
# | #31 0x000000000af7ce60 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
# | #32 0x000000000af7120e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #33 0x0000000009a23376 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1316:10
# | #34 0x000000000998ae5d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #35 0x000000000998ae5d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #36 0x000000000998ae5d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1003:23
# | #37 0x0000000009b1535c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:310:25
# | #38 0x0000000006076a93 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:301:15
# | #39 0x00000000060727e5 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
# | #40 0x000000000607184d clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:268:12
# | #41 0x0000000006082837 main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #42 0x00007ace8b8c21ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #43 0x00007ace8b8c228b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #44 0x0000000006070225 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x6070225)
# `-----------------------------
# error: command failed with exit status: -6

--

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.

@shiltian shiltian marked this pull request as ready for review December 3, 2025 19:04
@llvmbot llvmbot added clang Clang issues not falling into any other category clang:frontend Language frontend issues, e.g. anything involving "Sema" labels Dec 3, 2025
@llvmbot
Copy link
Member

llvmbot commented Dec 3, 2025

@llvm/pr-subscribers-clang

Author: Rana Pratap Reddy (ranapratap55)

Changes

Removing the 'e' handling for the amdgcn builtins as we decided to use _Float16 for both HIP/C++ and OpenCL


Full diff: https://github.com/llvm/llvm-project/pull/170443.diff

2 Files Affected:

  • (modified) clang/include/clang/Basic/Builtins.def (-1)
  • (modified) clang/lib/AST/ASTContext.cpp (+2-6)
diff --git a/clang/include/clang/Basic/Builtins.def b/clang/include/clang/Basic/Builtins.def
index 3a5b72e20afab..b856ad145824d 100644
--- a/clang/include/clang/Basic/Builtins.def
+++ b/clang/include/clang/Basic/Builtins.def
@@ -43,7 +43,6 @@
 //  SJ -> sigjmp_buf
 //  K -> ucontext_t
 //  p -> pid_t
-//  e -> _Float16 for HIP/C++ and __fp16 for OpenCL
 //  . -> "...".  This may only occur at the end of the function list.
 //
 // Types may be prefixed with the following modifiers:
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index b359fc8350375..a04dcabdaa6b6 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -12402,12 +12402,8 @@ static QualType DecodeTypeFromStr(const char *&Str, const ASTContext &Context,
 
   // Read the base type.
   switch (*Str++) {
-  default: llvm_unreachable("Unknown builtin type letter!");
-  case 'e':
-    assert(HowLong == 0 && !Signed && !Unsigned &&
-           "Bad modifiers used with 'e'!");
-    Type = Context.getLangOpts().OpenCL ? Context.HalfTy : Context.Float16Ty;
-    break;
+  default:
+    llvm_unreachable("Unknown builtin type letter!");
   case 'x':
     assert(HowLong == 0 && !Signed && !Unsigned &&
            "Bad modifiers used with 'x'!");

@ranapratap55 ranapratap55 force-pushed the users/ranapratap55/Removal-of-e-handling branch from d3017f9 to b1b3629 Compare December 9, 2025 05:54
@github-actions
Copy link

github-actions bot commented Dec 9, 2025

🪟 Windows x64 Test Results

  • 51414 tests passed
  • 852 tests skipped
  • 3 tests failed

Failed Tests

(click on a test name to see its output)

Clang

Clang.CodeGen/builtins-extended-image.c
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\22\include -nostdsysteminc -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts C:\_work\llvm-project\llvm-project\clang\test\CodeGen\builtins-extended-image.c -emit-llvm -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\builtins-extended-image.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\22\include' -nostdsysteminc -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\builtins-extended-image.c' -emit-llvm -o -
# .---command stderr------------
# | Unknown builtin type letter!
# | UNREACHABLE executed at C:\_work\llvm-project\llvm-project\clang\lib\AST\ASTContext.cpp:12421!
# | 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: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe -cc1 -internal-isystem C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\22\\include -nostdsysteminc -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CodeGen\\builtins-extended-image.c -emit-llvm -o -
# | 1.	C:\_work\llvm-project\llvm-project\clang\test\CodeGen\builtins-extended-image.c:758:55: current parser token '('
# | 2.	C:\_work\llvm-project\llvm-project\clang\test\CodeGen\builtins-extended-image.c:756:120: parsing function body 'test_amdgcn_image_sample_lz_1d_v4f16_f32'
# | 3.	C:\_work\llvm-project\llvm-project\clang\test\CodeGen\builtins-extended-image.c:756:120: in compound statement ('{}')
# | Exception Code: 0xC000001D
# |  #0 0x00007ff60a5741e6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x7e41e6)
# |  #1 0x00007ffad49abb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ffad49acad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ff60a5b6a65 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x826a65)
# |  #4 0x00007ff60c604cf4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2874cf4)
# |  #5 0x00007ff60c604357 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2874357)
# |  #6 0x00007ff60c604dcf (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2874dcf)
# |  #7 0x00007ff60ec5c66a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4ecc66a)
# |  #8 0x00007ff60f0bef65 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x532ef65)
# |  #9 0x00007ff60f0cd4ea (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x533d4ea)
# | #10 0x00007ff60f0cef2a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x533ef2a)
# | #11 0x00007ff60f214cc7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x5484cc7)
# | #12 0x00007ff6108793fa (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ae93fa)
# | #13 0x00007ff6108712c9 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ae12c9)
# | #14 0x00007ff610871145 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ae1145)
# | #15 0x00007ff61086b6e9 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6adb6e9)
# | #16 0x00007ff610863050 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ad3050)
# | #17 0x00007ff610861b81 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ad1b81)
# | #18 0x00007ff61086e43a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ade43a)
# | #19 0x00007ff61086f55a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6adf55a)
# | #20 0x00007ff6105553d4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c53d4)
# | #21 0x00007ff6107e94a2 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6a594a2)
# | #22 0x00007ff610553d7a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c3d7a)
# | #23 0x00007ff61055356d (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c356d)
# | #24 0x00007ff610552364 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c2364)
# | #25 0x00007ff61054fe30 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67bfe30)
# | #26 0x00007ff60f558dee (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x57c8dee)
# | #27 0x00007ff60c9e0a6f (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2c50a6f)
# | #28 0x00007ff60a6adb14 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x91db14)
# | #29 0x00007ff60a751b73 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9c1b73)
# | #30 0x00007ff609d99245 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9245)
# | #31 0x00007ff609d94774 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4774)
# | #32 0x00007ff609d929ca (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x29ca)
# | #33 0x00007ff609da8ca7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x18ca7)
# | #34 0x00007ff610c3f6e4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6eaf6e4)
# | #35 0x00007ffad8c54cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #36 0x00007ffae5ededcb (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\clang\test\CodeGen\builtins-extended-image.c'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\builtins-extended-image.c
# `-----------------------------
# error: command failed with exit status: 2

--

Clang.SemaOpenCL/builtins-extended-image-param-gfx1100-err.cl
Exit Code: 3221225501

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\22\include -nostdsysteminc -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts -S -verify=expected -o - C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-extended-image-param-gfx1100-err.cl
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\22\include' -nostdsysteminc -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts -S -verify=expected -o - 'C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-extended-image-param-gfx1100-err.cl'
# .---command stderr------------
# | Unknown builtin type letter!
# | UNREACHABLE executed at C:\_work\llvm-project\llvm-project\clang\lib\AST\ASTContext.cpp:12421!
# | 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: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe -cc1 -internal-isystem C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\22\\include -nostdsysteminc -triple amdgcn-- -target-cpu gfx1100 -target-feature +extended-image-insts -S -verify=expected -o - C:\\_work\\llvm-project\\llvm-project\\clang\\test\\SemaOpenCL\\builtins-extended-image-param-gfx1100-err.cl
# | 1.	C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-extended-image-param-gfx1100-err.cl:116:55: current parser token '('
# | 2.	C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-extended-image-param-gfx1100-err.cl:114:120: parsing function body 'test_amdgcn_image_sample_lz_1d_v4f16_f32'
# | 3.	C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-extended-image-param-gfx1100-err.cl:114:120: in compound statement ('{}')
# | Exception Code: 0xC000001D
# |  #0 0x00007ff60a5741e6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x7e41e6)
# |  #1 0x00007ffad49abb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ffad49acad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ff60a5b6a65 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x826a65)
# |  #4 0x00007ff60c604cf4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2874cf4)
# |  #5 0x00007ff60c604357 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2874357)
# |  #6 0x00007ff60c604dcf (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2874dcf)
# |  #7 0x00007ff60ec5c66a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4ecc66a)
# |  #8 0x00007ff60f0bef65 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x532ef65)
# |  #9 0x00007ff60f0cd4ea (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x533d4ea)
# | #10 0x00007ff60f0cef2a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x533ef2a)
# | #11 0x00007ff60f214cc7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x5484cc7)
# | #12 0x00007ff6108793fa (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ae93fa)
# | #13 0x00007ff6108712c9 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ae12c9)
# | #14 0x00007ff610871145 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ae1145)
# | #15 0x00007ff61086b6e9 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6adb6e9)
# | #16 0x00007ff610863050 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ad3050)
# | #17 0x00007ff610861b81 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ad1b81)
# | #18 0x00007ff61086e43a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ade43a)
# | #19 0x00007ff61086f55a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6adf55a)
# | #20 0x00007ff6105553d4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c53d4)
# | #21 0x00007ff6107e94a2 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6a594a2)
# | #22 0x00007ff610553d7a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c3d7a)
# | #23 0x00007ff61055356d (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c356d)
# | #24 0x00007ff610552364 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c2364)
# | #25 0x00007ff61054fe30 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67bfe30)
# | #26 0x00007ff60f558dee (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x57c8dee)
# | #27 0x00007ff60c9e0a6f (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2c50a6f)
# | #28 0x00007ff60a6adb14 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x91db14)
# | #29 0x00007ff60a751b73 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9c1b73)
# | #30 0x00007ff609d99245 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9245)
# | #31 0x00007ff609d94774 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4774)
# | #32 0x00007ff609d929ca (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x29ca)
# | #33 0x00007ff609da8ca7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x18ca7)
# | #34 0x00007ff610c3f6e4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6eaf6e4)
# | #35 0x00007ffad8c54cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #36 0x00007ffae5ededcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d

--

Clang.SemaOpenCL/builtins-extended-image-param-gfx942-err.cl
Exit Code: 3221225501

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\22\include -nostdsysteminc -triple amdgcn-- -target-cpu gfx942 -verify=GFX94 -S -o - C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-extended-image-param-gfx942-err.cl
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\22\include' -nostdsysteminc -triple amdgcn-- -target-cpu gfx942 -verify=GFX94 -S -o - 'C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-extended-image-param-gfx942-err.cl'
# .---command stderr------------
# | Unknown builtin type letter!
# | UNREACHABLE executed at C:\_work\llvm-project\llvm-project\clang\lib\AST\ASTContext.cpp:12421!
# | 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: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe -cc1 -internal-isystem C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\22\\include -nostdsysteminc -triple amdgcn-- -target-cpu gfx942 -verify=GFX94 -S -o - C:\\_work\\llvm-project\\llvm-project\\clang\\test\\SemaOpenCL\\builtins-extended-image-param-gfx942-err.cl
# | 1.	C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-extended-image-param-gfx942-err.cl:116:55: current parser token '('
# | 2.	C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-extended-image-param-gfx942-err.cl:114:120: parsing function body 'test_amdgcn_image_sample_lz_1d_v4f16_f32'
# | 3.	C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-extended-image-param-gfx942-err.cl:114:120: in compound statement ('{}')
# | Exception Code: 0xC000001D
# |  #0 0x00007ff60a5741e6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x7e41e6)
# |  #1 0x00007ffad49abb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ffad49acad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ff60a5b6a65 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x826a65)
# |  #4 0x00007ff60c604cf4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2874cf4)
# |  #5 0x00007ff60c604357 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2874357)
# |  #6 0x00007ff60c604dcf (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2874dcf)
# |  #7 0x00007ff60ec5c66a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4ecc66a)
# |  #8 0x00007ff60f0bef65 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x532ef65)
# |  #9 0x00007ff60f0cd4ea (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x533d4ea)
# | #10 0x00007ff60f0cef2a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x533ef2a)
# | #11 0x00007ff60f214cc7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x5484cc7)
# | #12 0x00007ff6108793fa (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ae93fa)
# | #13 0x00007ff6108712c9 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ae12c9)
# | #14 0x00007ff610871145 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ae1145)
# | #15 0x00007ff61086b6e9 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6adb6e9)
# | #16 0x00007ff610863050 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ad3050)
# | #17 0x00007ff610861b81 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ad1b81)
# | #18 0x00007ff61086e43a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6ade43a)
# | #19 0x00007ff61086f55a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6adf55a)
# | #20 0x00007ff6105553d4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c53d4)
# | #21 0x00007ff6107e94a2 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6a594a2)
# | #22 0x00007ff610553d7a (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c3d7a)
# | #23 0x00007ff61055356d (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c356d)
# | #24 0x00007ff610552364 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67c2364)
# | #25 0x00007ff61054fe30 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67bfe30)
# | #26 0x00007ff60f558dee (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x57c8dee)
# | #27 0x00007ff60c9e0a6f (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2c50a6f)
# | #28 0x00007ff60a6adb14 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x91db14)
# | #29 0x00007ff60a751b73 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9c1b73)
# | #30 0x00007ff609d99245 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9245)
# | #31 0x00007ff609d94774 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4774)
# | #32 0x00007ff609d929ca (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x29ca)
# | #33 0x00007ff609da8ca7 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x18ca7)
# | #34 0x00007ff610c3f6e4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6eaf6e4)
# | #35 0x00007ffad8c54cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #36 0x00007ffae5ededcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d

--

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang:frontend Language frontend issues, e.g. anything involving "Sema" clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants