[llvm] [NFC][LLVM] Refactor IIT_ANY payload for vector/element constraint (PR #203506)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 05:19:59 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 175501 tests passed
* 3482 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.CodeGenHLSL/resources/Texture2D-GetDimensions.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/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes -finclude-default-header -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/Texture2D-GetDimensions.hlsl | llvm-cxxfilt | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/Texture2D-GetDimensions.hlsl --check-prefixes=CHECK,DXIL
# 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/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes -finclude-default-header -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/Texture2D-GetDimensions.hlsl
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:247: const T &llvm::ArrayRef<unsigned char>::operator[](size_t) const [T = unsigned char]: Assertion `Index < Length && "Invalid index!"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | 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/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes -finclude-default-header -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources/Texture2D-GetDimensions.hlsl
# | 1.	<eof> parser at end of file
# | 2.	Per-file LLVM IR generation
# | 3.	Generating code for declaration 'hlsl::Texture2D<>::GetDimensions'
# |  #0 0x000000000933e618 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:881:13
# |  #1 0x000000000933b581 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x000000000933f431 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x000000000933f288 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2072:8
# |  #4 0x000000000933f288 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2117:14
# |  #5 0x000000000933f288 find<const int *, int> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:3897:14
# |  #6 0x000000000933f288 is_contained<const int (&)[10], int> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1952:12
# |  #7 0x000000000933f288 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:464:7
# |  #8 0x00007b4ea4750330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #9 0x00007b4ea47a9b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #10 0x00007b4ea475027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #11 0x00007b4ea47338ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #12 0x00007b4ea473381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #13 0x00007b4ea4746517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #14 0x0000000008c539b2 size /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:32
# | #15 0x0000000008c539b2 ArrayRef<llvm::SmallVectorImpl<llvm::Intrinsic::IITDescriptor>, void> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:94:34
# | #16 0x0000000008c539b2 llvm::Intrinsic::getIntrinsicInfoTableEntries(unsigned int, llvm::SmallVectorImpl<llvm::Intrinsic::IITDescriptor>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Intrinsics.cpp:518:38
# | #17 0x0000000008c54140 _M_head /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tuple:269:66
# | #18 0x0000000008c54140 __get_helper<0UL, llvm::ArrayRef<llvm::Intrinsic::IITDescriptor>, unsigned int, bool> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tuple:1788:14
# | #19 0x0000000008c54140 get<0UL, llvm::ArrayRef<llvm::Intrinsic::IITDescriptor>, unsigned int, bool> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tuple:1818:43
# | #20 0x0000000008c54140 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:628:9
# | #21 0x0000000008c58fea 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:795:10
# | #22 0x0000000008c5f9e8 llvm::IRBuilderBase::CreateIntrinsic(unsigned int, llvm::ArrayRef<llvm::Type*>, llvm::ArrayRef<llvm::Value*>, llvm::FMFSource, llvm::Twine const&, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*>>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/IRBuilder.cpp:943:10
# | #23 0x0000000009b410e1 emitGetDimensions(clang::CodeGen::CodeGenFunction&, clang::CallExpr const*, unsigned int, unsigned int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGHLSLBuiltins.cpp:518:19
# | #24 0x0000000009b283d2 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:7113:14
# | #25 0x00000000099134c5 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:6490:5
# | #26 0x0000000009933c4a isScalar /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:64:41
# | #27 0x0000000009933c4a getScalarVal /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGValue.h:73:12
# | #28 0x0000000009933c4a (anonymous namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:684:36
# | #29 0x00000000099201cd Visit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:495:52
# | #30 0x00000000099201cd clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:6171:8
# | #31 0x00000000098e657d clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGExpr.cpp:260:5
# | #32 0x0000000009879146 GetInsertBlock /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/IRBuilder.h:201:47
# | #33 0x0000000009879146 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:132:42
# | #34 0x0000000009880c51 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:578:10
# | #35 0x000000000986321b getLangOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenFunction.h:2204:51
# | #36 0x000000000986321b 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:1632:7
# | #37 0x0000000009712139 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:6923:5
# | #38 0x0000000009709c29 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:0:9
# | #39 0x00000000096f7f66 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20
# | #40 0x00000000096f7f66 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:884:16
# | #41 0x00000000096f7f66 empty /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:1089:16
# | #42 0x00000000096f7f66 clang::CodeGen::CodeGenModule::EmitDeferred() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:3946:26
# | #43 0x00000000096f461a clang::CodeGen::CodeGenModule::Release() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:1080:3
# | #44 0x0000000009ca00bb (anonymous namespace)::CodeGeneratorImpl::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:313:11
# | #45 0x0000000009c97d01 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:250:24
# | #46 0x000000000b984889 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20
# | #47 0x000000000b984889 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16
# | #48 0x000000000b984889 finalize<std::vector<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> >, std::allocator<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> > > > > /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/TemplateInstCallback.h:54:16
# | #49 0x000000000b984889 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3
# | #50 0x000000000a24f4c5 clang::HLSLFrontendAction::ExecuteAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendActions.cpp:0:35
# | #51 0x000000000a216426 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #52 0x000000000a173f19 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #53 0x000000000a173f19 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #54 0x000000000a173f19 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1027:23
# | #55 0x000000000a30feb8 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
# | #56 0x000000000a30feb8 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
# | #57 0x000000000a30feb8 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
# | #58 0x000000000a30feb8 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:314:12
# | #59 0x000000000a30feb8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
# | #60 0x0000000006511473 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:296:13
# | #61 0x000000000650d1d5 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:229:12
# | #62 0x000000000650c19f clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:277:12
# | #63 0x000000000651d61d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #64 0x00007b4ea47351ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #65 0x00007b4ea473528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #66 0x000000000650ab65 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x650ab65)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: llvm-cxxfilt
# note: command had no output on stdout or stderr
# 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/resources/Texture2D-GetDimensions.hlsl --check-prefixes=CHECK,DXIL
# .---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/resources/Texture2D-GetDimensions.hlsl --check-prefixes=CHECK,DXIL
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>

### LLVM
<details>
<summary>LLVM.CodeGen/SPIRV/hlsl-resources/GetDimensions.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=spirv1.6-vulkan1.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/hlsl-resources/GetDimensions.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/hlsl-resources/GetDimensions.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=spirv1.6-vulkan1.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/hlsl-resources/GetDimensions.ll -o -
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:247: const T &llvm::ArrayRef<unsigned char>::operator[](size_t) const [T = unsigned char]: Assertion `Index < Length && "Invalid index!"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=spirv1.6-vulkan1.3-library /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/hlsl-resources/GetDimensions.ll -o -
# |  #0 0x0000000008652d68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:881:13
# |  #1 0x000000000864fcd1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x0000000008653b81 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007e51b2bb0330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007e51b2c09b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007e51b2bb027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007e51b2b938ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007e51b2b9381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007e51b2ba6517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x000000000783b022 size /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:32
# | #10 0x000000000783b022 ArrayRef<llvm::SmallVectorImpl<llvm::Intrinsic::IITDescriptor>, void> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:94:34
# | #11 0x000000000783b022 llvm::Intrinsic::getIntrinsicInfoTableEntries(unsigned int, llvm::SmallVectorImpl<llvm::Intrinsic::IITDescriptor>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Intrinsics.cpp:518:38
# | #12 0x00000000078415a3 _M_head /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tuple:269:66
# | #13 0x00000000078415a3 __get_helper<0UL, llvm::ArrayRef<llvm::Intrinsic::IITDescriptor>, unsigned int, bool> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tuple:1788:14
# | #14 0x00000000078415a3 get<0UL, llvm::ArrayRef<llvm::Intrinsic::IITDescriptor>, unsigned int, bool> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tuple:1818:43
# | #15 0x00000000078415a3 llvm::Intrinsic::isSignatureValid(unsigned int, llvm::FunctionType*, llvm::SmallVectorImpl<llvm::Type*>&, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Intrinsics.cpp:1385:9
# | #16 0x0000000007832334 llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Function.cpp:507:9
# | #17 0x0000000009347547 Create /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Function.h:0:30
# | #18 0x0000000009347547 llvm::LLParser::parseFunctionHeader(llvm::Function*&, bool, unsigned int&, llvm::SmallVectorImpl<unsigned int>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/AsmParser/LLParser.cpp:7213:8
# | #19 0x0000000009344109 llvm::LLParser::parseDeclare() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/AsmParser/LLParser.cpp:768:7
# | #20 0x00000000093402bc llvm::LLParser::parseTopLevelEntities() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/AsmParser/LLParser.cpp:631:11
# | #21 0x000000000933fdea llvm::LLParser::Run(bool, llvm::function_ref<std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> (llvm::StringRef, llvm::StringRef)>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/AsmParser/LLParser.cpp:91:34
# | #22 0x000000000933d33a parseAssemblyInto(llvm::MemoryBufferRef, llvm::Module*, llvm::ModuleSummaryIndex*, llvm::SMDiagnostic&, llvm::SlotMapping*, bool, llvm::function_ref<std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> (llvm::StringRef, llvm::StringRef)>, llvm::AsmParserContext*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/AsmParser/Parser.cpp:37:8
# | #23 0x000000000933d42c llvm::parseAssembly(llvm::MemoryBufferRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::SlotMapping*, llvm::function_ref<std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> (llvm::StringRef, llvm::StringRef)>, llvm::AsmParserContext*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/AsmParser/Parser.cpp:57:7
# | #24 0x0000000007ac0643 ~_Function_base /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:243:11
# | #25 0x0000000007ac0643 llvm::parseIR(llvm::MemoryBufferRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::ParserCallbacks, llvm::AsmParserContext*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IRReader/IRReader.cpp:89:3
# | #26 0x0000000007ac0d2c _M_reset /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/optional:317:12
# | #27 0x0000000007ac0d2c ~_Optional_payload /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/optional:441:57
# | #28 0x0000000007ac0d2c ~_Optional_base /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/optional:512:12
# | #29 0x0000000007ac0d2c ~ParserCallbacks /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Bitcode/BitcodeReader.h:74:8
# | #30 0x0000000007ac0d2c llvm::parseIRFile(llvm::StringRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::ParserCallbacks, llvm::AsmParserContext*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IRReader/IRReader.cpp:107:3
# | #31 0x000000000508a185 release /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:217:16
# | #32 0x000000000508a185 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:191:12
# | #33 0x000000000508a185 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:243:61
# | #34 0x000000000508a185 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:414:51
# | #35 0x000000000508a185 compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:671:7
# | #36 0x0000000005088a13 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #37 0x00007e51b2b951ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #38 0x00007e51b2b9528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #39 0x00000000050845e5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x50845e5)
# `-----------------------------
# 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/llvm/test/CodeGen/SPIRV/hlsl-resources/GetDimensions.ll
# .---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/llvm/test/CodeGen/SPIRV/hlsl-resources/GetDimensions.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</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/203506


More information about the llvm-commits mailing list