github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 88260 tests passed
* 771 tests skipped
* 6 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CIR/CodeGen/virtual-fn-calls-eh.cpp</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/23/include
-nostdsysteminc -triple x86_64-unknown-linux-gnu -mconstructor-aliases
-fcxx-exceptions -fexceptions -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/virtual-fn-calls-eh.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
# 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 x86_64-unknown-linux-gnu -mconstructor-aliases
-fcxx-exceptions -fexceptions -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/virtual-fn-calls-eh.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--check-prefix=CIR
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/virtual-fn-calls-eh.cpp
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--check-prefix=CIR
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/virtual-fn-calls-eh.cpp
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
--cir-flatten-cfg
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp-flat.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
--cir-flatten-cfg
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp-flat.cir
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir:17:168:
error: custom op 'cir.func' expected attribute of a different type
# | cir.func private @_ZN1BD1Ev(!cir.ptr<!rec_B> {llvm.align = 8 : i64,
llvm.dereferenceable = 8 : i64, llvm.nonnull, llvm.noundef})
special_member<#cir.cxx_dtor<!rec_B>> attributes {nothrow} loc(#loc15)
# |
^
# | cir-opt:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../mlir/include/mlir/IR/OperationSupport.h:1076:
void mlir::OperationState::addAttribute(StringAttr, Attribute): Assertion
`attr && "attribute cannot be null"' 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/cir-opt
--cir-flatten-cfg
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp-flat.cir
# | 1. MLIR Parser: custom op parser 'builtin.module'
# | 2. MLIR Parser: custom op parser 'cir.func'
# | #0 0x0000000001dc8b18 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x0000000001dc5af1 llvm::sys::RunSignalHandlers()
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x0000000001dc9931 SignalHandler(int, siginfo_t*, void*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007e9dee3b9330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007e9dee412b2c pthread_kill
(/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007e9dee3b927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007e9dee39c8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007e9dee39c81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007e9dee3af517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x0000000000a8d556
(/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt+0xa8d556)
# | #10 0x0000000000a96b9f cir::FuncOp::parse(mlir::OpAsmParser&,
mlir::OperationState&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CIR/Dialect/IR/CIRDialect.cpp:2229:16
# | #11 0x0000000001c3726e parseOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1653:9
# | #12 0x0000000001c3726e parseCustomOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2192:19
# | #13 0x0000000001c3726e (anonymous
namespace)::OperationParser::parseOperation()
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1306:10
# | #14 0x0000000001c433c3 parseBlockBody
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2478:9
# | #15 0x0000000001c433c3 (anonymous
namespace)::OperationParser::parseBlock(mlir::Block*&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2408:12
# | #16 0x0000000001c41097 parseRegionBody
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2366:7
# | #17 0x0000000001c41097 (anonymous
namespace)::OperationParser::parseRegion(mlir::Region&,
llvm::ArrayRef<mlir::OpAsmParser::Argument>, bool)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2295:7
# | #18 0x000000000131899e mlir::ModuleOp::parse(mlir::OpAsmParser&,
mlir::OperationState&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/IR/BuiltinOps.cpp.inc:307:7
# | #19 0x0000000001c3726e parseOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1653:9
# | #20 0x0000000001c3726e parseCustomOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2192:19
# | #21 0x0000000001c3726e (anonymous
namespace)::OperationParser::parseOperation()
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1306:10
# | #22 0x0000000001c3600d parse
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:0:0
# | #23 0x0000000001c3600d mlir::parseAsmSourceFile(llvm::SourceMgr const&,
mlir::Block*, mlir::ParserConfig const&, mlir::AsmParserState*,
mlir::AsmParserCodeCompleteContext*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2968:41
# | #24 0x00000000013e4473
mlir::parseSourceFile(std::shared_ptr<llvm::SourceMgr> const&, mlir::Block*,
mlir::ParserConfig const&, mlir::LocationAttr*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Parser/Parser.cpp:65:1
# | #25 0x00000000013a047e parseSourceFile<mlir::ModuleOp, const
std::shared_ptr<llvm::SourceMgr> &>
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Parser/Parser.h:158:7
# | #26 0x00000000013a047e parseSourceFile<mlir::ModuleOp>
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Parser/Parser.h:188:10
# | #27 0x00000000013a047e
mlir::parseSourceFileForTool(std::shared_ptr<llvm::SourceMgr> const&,
mlir::ParserConfig const&, bool)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Tools/ParseUtilities.h:31:12
# | #28 0x000000000139f11a stop
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/Timing.h:218:9
# | #29 0x000000000139f11a stop
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/Timing.h:301:11
# | #30 0x000000000139f11a performActions(llvm::raw_ostream&,
std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*,
mlir::MlirOptMainConfig const&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:528:16
# | #31 0x000000000139ee98 processBuffer
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:681:12
# | #32 0x000000000139ee98 operator()
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:779:12
# | #33 0x000000000139ee98 llvm::LogicalResult
llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&,
llvm::raw_ostream&)>::callback_fn<mlir::MlirOptMain(llvm::raw_ostream&,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_0>(long,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
llvm::MemoryBufferRef const&, llvm::raw_ostream&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
# | #34 0x0000000001c935c5 operator()
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:69:12
# | #35 0x0000000001c935c5
mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>,
llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&,
llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Support/ToolUtilities.cpp:30:12
# | #36 0x00000000013936c6 mlir::MlirOptMain(llvm::raw_ostream&,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:784:26
# | #37 0x00000000013939f5 mlir::MlirOptMain(int, char**, llvm::StringRef,
llvm::StringRef, mlir::DialectRegistry&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:830:14
# | #38 0x0000000001393c6b mlir::MlirOptMain(int, char**, llvm::StringRef,
mlir::DialectRegistry&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:846:10
# | #39 0x00000000009e4b39 main
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/cir-opt/cir-opt.cpp:72:33
# | #40 0x00007e9dee39e1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #41 0x00007e9dee39e28b __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #42 0x00000000009e45d5 _start
(/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt+0x9e45d5)
# `-----------------------------
# error: command failed with exit status: -6
--
```
</details>
<details>
<summary>Clang.CIR/IR/func.cir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/func.cir
--verify-roundtrip |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/func.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/func.cir
--verify-roundtrip
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/func.cir:182:66:
error: custom op 'cir.func' expected attribute of a different type
# | cir.func @Foo_destructor() special_member<#cir.cxx_dtor<!rec_Foo>> {
# | ^
# | cir-opt:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../mlir/include/mlir/IR/OperationSupport.h:1076:
void mlir::OperationState::addAttribute(StringAttr, Attribute): Assertion
`attr && "attribute cannot be null"' 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/cir-opt
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/func.cir
--verify-roundtrip
# | 1. MLIR Parser: custom op parser 'cir.func'
# | #0 0x0000000001dc8b18 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x0000000001dc5af1 llvm::sys::RunSignalHandlers()
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x0000000001dc9931 SignalHandler(int, siginfo_t*, void*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007a67a8050330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007a67a80a9b2c pthread_kill
(/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007a67a805027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007a67a80338ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007a67a803381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007a67a8046517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x0000000000a8d556
(/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt+0xa8d556)
# | #10 0x0000000000a96b9f cir::FuncOp::parse(mlir::OpAsmParser&,
mlir::OperationState&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CIR/Dialect/IR/CIRDialect.cpp:2229:16
# | #11 0x0000000001c3726e parseOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1653:9
# | #12 0x0000000001c3726e parseCustomOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2192:19
# | #13 0x0000000001c3726e (anonymous
namespace)::OperationParser::parseOperation()
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1306:10
# | #14 0x0000000001c3600d parse
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:0:0
# | #15 0x0000000001c3600d mlir::parseAsmSourceFile(llvm::SourceMgr const&,
mlir::Block*, mlir::ParserConfig const&, mlir::AsmParserState*,
mlir::AsmParserCodeCompleteContext*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2968:41
# | #16 0x00000000013e4473
mlir::parseSourceFile(std::shared_ptr<llvm::SourceMgr> const&, mlir::Block*,
mlir::ParserConfig const&, mlir::LocationAttr*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Parser/Parser.cpp:65:1
# | #17 0x00000000013a047e parseSourceFile<mlir::ModuleOp, const
std::shared_ptr<llvm::SourceMgr> &>
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Parser/Parser.h:158:7
# | #18 0x00000000013a047e parseSourceFile<mlir::ModuleOp>
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Parser/Parser.h:188:10
# | #19 0x00000000013a047e
mlir::parseSourceFileForTool(std::shared_ptr<llvm::SourceMgr> const&,
mlir::ParserConfig const&, bool)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Tools/ParseUtilities.h:31:12
# | #20 0x000000000139f11a stop
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/Timing.h:218:9
# | #21 0x000000000139f11a stop
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/Timing.h:301:11
# | #22 0x000000000139f11a performActions(llvm::raw_ostream&,
std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*,
mlir::MlirOptMainConfig const&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:528:16
# | #23 0x000000000139ee98 processBuffer
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:681:12
# | #24 0x000000000139ee98 operator()
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:779:12
# | #25 0x000000000139ee98 llvm::LogicalResult
llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&,
llvm::raw_ostream&)>::callback_fn<mlir::MlirOptMain(llvm::raw_ostream&,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_0>(long,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
llvm::MemoryBufferRef const&, llvm::raw_ostream&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
# | #26 0x0000000001c935c5 operator()
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:69:12
# | #27 0x0000000001c935c5
mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>,
llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&,
llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Support/ToolUtilities.cpp:30:12
# | #28 0x00000000013936c6 mlir::MlirOptMain(llvm::raw_ostream&,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:784:26
# | #29 0x00000000013939f5 mlir::MlirOptMain(int, char**, llvm::StringRef,
llvm::StringRef, mlir::DialectRegistry&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:830:14
# | #30 0x0000000001393c6b mlir::MlirOptMain(int, char**, llvm::StringRef,
mlir::DialectRegistry&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:846:10
# | #31 0x00000000009e4b39 main
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/cir-opt/cir-opt.cpp:72:33
# | #32 0x00007a67a80351ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #33 0x00007a67a803528b __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #34 0x00000000009e45d5 _start
(/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt+0x9e45d5)
# `-----------------------------
# 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/CIR/IR/func.cir
# .---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/CIR/IR/func.cir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.CIR/IR/invalid-linkage.cir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-linkage.cir
-verify-diagnostics
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-linkage.cir
-verify-diagnostics
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-linkage.cir:7:17:
error: unexpected error: custom op 'cir.global' expected attribute of a
different type
# | cir.global @a = #cir.const_array<[0 : !u8i, -23 : !u8i, 33 : !u8i] :
!cir.array<!u32i x 3>>
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-linkage.cir:6:6:
error: expected error "expected string or keyword containing one of the
following enum values for attribute 'linkage' [external, available_externally,
linkonce, linkonce_odr, weak, weak_odr, appending, internal, cir_private,
extern_weak, common]" was not produced
# | // expected-error@+1 {{expected string or keyword containing one of the
following enum values for attribute 'linkage' [external, available_externally,
linkonce, linkonce_odr, weak, weak_odr, appending, internal, cir_private,
extern_weak, common]}}
# |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGen/virtual-fn-calls-eh.cpp</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/23/include
-nostdsysteminc -triple x86_64-unknown-linux-gnu -mconstructor-aliases
-fcxx-exceptions -fexceptions -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/virtual-fn-calls-eh.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
# 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 x86_64-unknown-linux-gnu -mconstructor-aliases
-fcxx-exceptions -fexceptions -fclangir -emit-cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/virtual-fn-calls-eh.cpp
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--check-prefix=CIR
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/virtual-fn-calls-eh.cpp
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
--check-prefix=CIR
--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGen/virtual-fn-calls-eh.cpp
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
--cir-flatten-cfg
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp-flat.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
--cir-flatten-cfg
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp-flat.cir
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir:17:168:
error: custom op 'cir.func' expected attribute of a different type
# | cir.func private @_ZN1BD1Ev(!cir.ptr<!rec_B> {llvm.align = 8 : i64,
llvm.dereferenceable = 8 : i64, llvm.nonnull, llvm.noundef})
special_member<#cir.cxx_dtor<!rec_B>> attributes {nothrow} loc(#loc15)
# |
^
# | cir-opt:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../mlir/include/mlir/IR/OperationSupport.h:1076:
void mlir::OperationState::addAttribute(StringAttr, Attribute): Assertion
`attr && "attribute cannot be null"' 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/cir-opt
--cir-flatten-cfg
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp.cir
-o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGen/Output/virtual-fn-calls-eh.cpp.tmp-flat.cir
# | 1. MLIR Parser: custom op parser 'builtin.module'
# | 2. MLIR Parser: custom op parser 'cir.func'
# | #0 0x0000000001dc8b18 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x0000000001dc5af1 llvm::sys::RunSignalHandlers()
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x0000000001dc9931 SignalHandler(int, siginfo_t*, void*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007f564341b330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007f5643474b2c pthread_kill
(/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007f564341b27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007f56433fe8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007f56433fe81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007f5643411517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x0000000000a8d556
(/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt+0xa8d556)
# | #10 0x0000000000a96b9f cir::FuncOp::parse(mlir::OpAsmParser&,
mlir::OperationState&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CIR/Dialect/IR/CIRDialect.cpp:2229:16
# | #11 0x0000000001c3726e parseOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1653:9
# | #12 0x0000000001c3726e parseCustomOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2192:19
# | #13 0x0000000001c3726e (anonymous
namespace)::OperationParser::parseOperation()
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1306:10
# | #14 0x0000000001c433c3 parseBlockBody
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2478:9
# | #15 0x0000000001c433c3 (anonymous
namespace)::OperationParser::parseBlock(mlir::Block*&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2408:12
# | #16 0x0000000001c41097 parseRegionBody
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2366:7
# | #17 0x0000000001c41097 (anonymous
namespace)::OperationParser::parseRegion(mlir::Region&,
llvm::ArrayRef<mlir::OpAsmParser::Argument>, bool)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2295:7
# | #18 0x000000000131899e mlir::ModuleOp::parse(mlir::OpAsmParser&,
mlir::OperationState&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/IR/BuiltinOps.cpp.inc:307:7
# | #19 0x0000000001c3726e parseOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1653:9
# | #20 0x0000000001c3726e parseCustomOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2192:19
# | #21 0x0000000001c3726e (anonymous
namespace)::OperationParser::parseOperation()
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1306:10
# | #22 0x0000000001c3600d parse
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:0:0
# | #23 0x0000000001c3600d mlir::parseAsmSourceFile(llvm::SourceMgr const&,
mlir::Block*, mlir::ParserConfig const&, mlir::AsmParserState*,
mlir::AsmParserCodeCompleteContext*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2968:41
# | #24 0x00000000013e4473
mlir::parseSourceFile(std::shared_ptr<llvm::SourceMgr> const&, mlir::Block*,
mlir::ParserConfig const&, mlir::LocationAttr*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Parser/Parser.cpp:65:1
# | #25 0x00000000013a047e parseSourceFile<mlir::ModuleOp, const
std::shared_ptr<llvm::SourceMgr> &>
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Parser/Parser.h:158:7
# | #26 0x00000000013a047e parseSourceFile<mlir::ModuleOp>
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Parser/Parser.h:188:10
# | #27 0x00000000013a047e
mlir::parseSourceFileForTool(std::shared_ptr<llvm::SourceMgr> const&,
mlir::ParserConfig const&, bool)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Tools/ParseUtilities.h:31:12
# | #28 0x000000000139f11a stop
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/Timing.h:218:9
# | #29 0x000000000139f11a stop
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/Timing.h:301:11
# | #30 0x000000000139f11a performActions(llvm::raw_ostream&,
std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*,
mlir::MlirOptMainConfig const&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:528:16
# | #31 0x000000000139ee98 processBuffer
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:681:12
# | #32 0x000000000139ee98 operator()
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:779:12
# | #33 0x000000000139ee98 llvm::LogicalResult
llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&,
llvm::raw_ostream&)>::callback_fn<mlir::MlirOptMain(llvm::raw_ostream&,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_0>(long,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
llvm::MemoryBufferRef const&, llvm::raw_ostream&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
# | #34 0x0000000001c935c5 operator()
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:69:12
# | #35 0x0000000001c935c5
mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>,
llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&,
llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Support/ToolUtilities.cpp:30:12
# | #36 0x00000000013936c6 mlir::MlirOptMain(llvm::raw_ostream&,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:784:26
# | #37 0x00000000013939f5 mlir::MlirOptMain(int, char**, llvm::StringRef,
llvm::StringRef, mlir::DialectRegistry&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:830:14
# | #38 0x0000000001393c6b mlir::MlirOptMain(int, char**, llvm::StringRef,
mlir::DialectRegistry&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:846:10
# | #39 0x00000000009e4b39 main
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/cir-opt/cir-opt.cpp:72:33
# | #40 0x00007f56434001ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #41 0x00007f564340028b __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #42 0x00000000009e45d5 _start
(/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt+0x9e45d5)
# `-----------------------------
# error: command failed with exit status: -6
--
```
</details>
<details>
<summary>Clang.CIR/IR/func.cir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/func.cir
--verify-roundtrip |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/func.cir
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/func.cir
--verify-roundtrip
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/func.cir:182:66:
error: custom op 'cir.func' expected attribute of a different type
# | cir.func @Foo_destructor() special_member<#cir.cxx_dtor<!rec_Foo>> {
# | ^
# | cir-opt:
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../mlir/include/mlir/IR/OperationSupport.h:1076:
void mlir::OperationState::addAttribute(StringAttr, Attribute): Assertion
`attr && "attribute cannot be null"' 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/cir-opt
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/func.cir
--verify-roundtrip
# | 1. MLIR Parser: custom op parser 'cir.func'
# | #0 0x0000000001dc8b18 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x0000000001dc5af1 llvm::sys::RunSignalHandlers()
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x0000000001dc9931 SignalHandler(int, siginfo_t*, void*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007e4298e7f330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007e4298ed8b2c pthread_kill
(/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007e4298e7f27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007e4298e628ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007e4298e6281b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007e4298e75517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x0000000000a8d556
(/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt+0xa8d556)
# | #10 0x0000000000a96b9f cir::FuncOp::parse(mlir::OpAsmParser&,
mlir::OperationState&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CIR/Dialect/IR/CIRDialect.cpp:2229:16
# | #11 0x0000000001c3726e parseOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1653:9
# | #12 0x0000000001c3726e parseCustomOperation
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2192:19
# | #13 0x0000000001c3726e (anonymous
namespace)::OperationParser::parseOperation()
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:1306:10
# | #14 0x0000000001c3600d parse
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:0:0
# | #15 0x0000000001c3600d mlir::parseAsmSourceFile(llvm::SourceMgr const&,
mlir::Block*, mlir::ParserConfig const&, mlir::AsmParserState*,
mlir::AsmParserCodeCompleteContext*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/AsmParser/Parser.cpp:2968:41
# | #16 0x00000000013e4473
mlir::parseSourceFile(std::shared_ptr<llvm::SourceMgr> const&, mlir::Block*,
mlir::ParserConfig const&, mlir::LocationAttr*)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Parser/Parser.cpp:65:1
# | #17 0x00000000013a047e parseSourceFile<mlir::ModuleOp, const
std::shared_ptr<llvm::SourceMgr> &>
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Parser/Parser.h:158:7
# | #18 0x00000000013a047e parseSourceFile<mlir::ModuleOp>
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Parser/Parser.h:188:10
# | #19 0x00000000013a047e
mlir::parseSourceFileForTool(std::shared_ptr<llvm::SourceMgr> const&,
mlir::ParserConfig const&, bool)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Tools/ParseUtilities.h:31:12
# | #20 0x000000000139f11a stop
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/Timing.h:218:9
# | #21 0x000000000139f11a stop
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/Timing.h:301:11
# | #22 0x000000000139f11a performActions(llvm::raw_ostream&,
std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*,
mlir::MlirOptMainConfig const&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:528:16
# | #23 0x000000000139ee98 processBuffer
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:681:12
# | #24 0x000000000139ee98 operator()
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:779:12
# | #25 0x000000000139ee98 llvm::LogicalResult
llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&,
llvm::raw_ostream&)>::callback_fn<mlir::MlirOptMain(llvm::raw_ostream&,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_0>(long,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
llvm::MemoryBufferRef const&, llvm::raw_ostream&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
# | #26 0x0000000001c935c5 operator()
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:69:12
# | #27 0x0000000001c935c5
mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>,
llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&,
llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Support/ToolUtilities.cpp:30:12
# | #28 0x00000000013936c6 mlir::MlirOptMain(llvm::raw_ostream&,
std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>,
mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:784:26
# | #29 0x00000000013939f5 mlir::MlirOptMain(int, char**, llvm::StringRef,
llvm::StringRef, mlir::DialectRegistry&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:830:14
# | #30 0x0000000001393c6b mlir::MlirOptMain(int, char**, llvm::StringRef,
mlir::DialectRegistry&)
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:846:10
# | #31 0x00000000009e4b39 main
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/cir-opt/cir-opt.cpp:72:33
# | #32 0x00007e4298e641ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #33 0x00007e4298e6428b __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #34 0x00000000009e45d5 _start
(/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt+0x9e45d5)
# `-----------------------------
# 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/CIR/IR/func.cir
# .---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/CIR/IR/func.cir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.CIR/IR/invalid-linkage.cir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-linkage.cir
-verify-diagnostics
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-linkage.cir
-verify-diagnostics
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-linkage.cir:7:17:
error: unexpected error: custom op 'cir.global' expected attribute of a
different type
# | cir.global @a = #cir.const_array<[0 : !u8i, -23 : !u8i, 33 : !u8i] :
!cir.array<!u32i x 3>>
# | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-linkage.cir:6:6:
error: expected error "expected string or keyword containing one of the
following enum values for attribute 'linkage' [external, available_externally,
linkonce, linkonce_odr, weak, weak_odr, appending, internal, cir_private,
extern_weak, common]" was not produced
# | // expected-error@+1 {{expected string or keyword containing one of the
following enum values for attribute 'linkage' [external, available_externally,
linkonce, linkonce_odr, weak, weak_odr, appending, internal, cir_private,
extern_weak, common]}}
# |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# `-----------------------------
# error: command failed with exit status: 1
--
```
</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/187516
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits