Closed
Description
https://lab.llvm.org/buildbot/#/builders/230/builds/22628/steps/11/logs/stdio
FAILED: SingleSource/UnitTests/CMakeFiles/matrix-types-spec.dir/matrix-types-spec.cpp.o
/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/test/build-test-suite/tools/timeit --summary SingleSource/UnitTests/CMakeFiles/matrix-types-spec.dir/matrix-types-spec.cpp.o.time /home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang++ -DNDEBUG -O3 -DNDEBUG -w -Werror=date-time -ffp-contract=off -Wno-implicit-function-declaration -Wno-implicit-int -fenable-matrix -MD -MT SingleSource/UnitTests/CMakeFiles/matrix-types-spec.dir/matrix-types-spec.cpp.o -MF SingleSource/UnitTests/CMakeFiles/matrix-types-spec.dir/matrix-types-spec.cpp.o.d -o SingleSource/UnitTests/CMakeFiles/matrix-types-spec.dir/matrix-types-spec.cpp.o -c /home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/test/test-suite/SingleSource/UnitTests/matrix-types-spec.cpp
Unknown rematerializable operation!
UNREACHABLE executed at /home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:1072!
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/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang++ -DNDEBUG -O3 -DNDEBUG -w -Werror=date-time -ffp-contract=off -Wno-implicit-function-declaration -Wno-implicit-int -fenable-matrix -MD -MT SingleSource/UnitTests/CMakeFiles/matrix-types-spec.dir/matrix-types-spec.cpp.o -MF SingleSource/UnitTests/CMakeFiles/matrix-types-spec.dir/matrix-types-spec.cpp.o.d -o SingleSource/UnitTests/CMakeFiles/matrix-types-spec.dir/matrix-types-spec.cpp.o -c /home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/test/test-suite/SingleSource/UnitTests/matrix-types-spec.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module '/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/test/test-suite/SingleSource/UnitTests/matrix-types-spec.cpp'.
4. Running pass 'Greedy Register Allocator' on function '@_Z13testTransposeIfLj31ELj17EEvv'
#0 0x0000000013b4d500 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x13b4d500)
#1 0x0000000013b4ae54 llvm::sys::CleanupOnSignal(unsigned long) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x13b4ae54)
#2 0x0000000013a65098 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
#3 0x00007fff814904d8 (linux-vdso64.so.1+0x4d8)
#4 0x00007fff80d2a498 raise (/lib64/libc.so.6+0x4a498)
#5 0x00007fff80d04a54 abort (/lib64/libc.so.6+0x24a54)
#6 0x0000000013a75240 llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x13a75240)
#7 0x0000000011cf25d0 llvm::PPCInstrInfo::isReallyTriviallyReMaterializable(llvm::MachineInstr const&) const (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x11cf25d0)
#8 0x0000000013170074 llvm::LiveRangeEdit::scanRemattable() (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x13170074)
#9 0x000000001317052c llvm::LiveRangeEdit::anyRematerializable() (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x1317052c)
#10 0x0000000012fa9af4 llvm::SplitEditor::reset(llvm::LiveRangeEdit&, llvm::SplitEditor::ComplementSpillMode) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x12fa9af4)
#11 0x0000000012ef1a44 llvm::RAGreedy::doRegionSplit(llvm::LiveInterval const&, unsigned int, bool, llvm::SmallVectorImpl<llvm::Register>&) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x12ef1a44)
#12 0x0000000012efbf48 llvm::RAGreedy::tryRegionSplit(llvm::LiveInterval const&, llvm::AllocationOrder&, llvm::SmallVectorImpl<llvm::Register>&) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x12efbf48)
#13 0x0000000012eff16c llvm::RAGreedy::selectOrSplitImpl(llvm::LiveInterval const&, llvm::SmallVectorImpl<llvm::Register>&, llvm::SmallSet<llvm::Register, 16u, std::less<llvm::Register>>&, llvm::SmallVector<std::pair<llvm::LiveInterval const*, llvm::MCRegister>, 8u>&, unsigned int) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x12eff16c)
#14 0x0000000012f00eb4 llvm::RAGreedy::selectOrSplit(llvm::LiveInterval const&, llvm::SmallVectorImpl<llvm::Register>&) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x12f00eb4)
#15 0x00000000131bb924 llvm::RegAllocBase::allocatePhysRegs() (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x131bb924)
#16 0x0000000012efcccc llvm::RAGreedy::runOnMachineFunction(llvm::MachineFunction&) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x12efcccc)
#17 0x0000000012d16ec8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.78) MachineFunctionPass.cpp:0:0
#18 0x00000000133e52d8 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x133e52d8)
#19 0x00000000133e55f8 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x133e55f8)
#20 0x00000000133e6528 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x133e6528)
#21 0x0000000013e113ac clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x13e113ac)
#22 0x00000000144b1b8c clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x144b1b8c)
#23 0x0000000016412ab4 clang::ParseAST(clang::Sema&, bool, bool) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x16412ab4)
#24 0x000000001473bc88 clang::ASTFrontendAction::ExecuteAction() (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x1473bc88)
#25 0x00000000144b0c30 clang::CodeGenAction::ExecuteAction() (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x144b0c30)
#26 0x00000000147419b8 clang::FrontendAction::Execute() (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x147419b8)
#27 0x00000000146c6a00 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x146c6a00)
#28 0x0000000014844b88 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x14844b88)
#29 0x000000001074c62c cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x1074c62c)
#30 0x000000001074283c ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) driver.cpp:0:0
#31 0x00000000144fa4d8 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::'lambda'()>(long) Job.cpp:0:0
#32 0x0000000013a65910 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x13a65910)
#33 0x00000000144fae58 clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (.part.284) Job.cpp:0:0
#34 0x00000000144bfca0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x144bfca0)
#35 0x00000000144c0848 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x144c0848)
#36 0x00000000144cbbcc clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x144cbbcc)
#37 0x00000000107490cc clang_main(int, char**, llvm::ToolContext const&) (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x107490cc)
#38 0x000000001066e750 main (/home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang+++0x1066e750)
#39 0x00007fff80d0a96c generic_start_main.isra.0 (/lib64/libc.so.6+0x2a96c)
#40 0x00007fff80d0ab04 __libc_start_main (/lib64/libc.so.6+0x2ab04)
clang++: error: clang frontend command failed with exit code 134 (use -v to see invocation)
clang version 18.0.0git (https://github.com/llvm/llvm-project.git f1ea77f7be8acda2aa4b08ba27f454512a872057)
Target: powerpc64le-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/buildbots/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin
clang++: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /tmp/matrix-types-spec-17d063.cpp
clang++: note: diagnostic msg: /tmp/matrix-types-spec-17d063.sh
clang++: note: diagnostic msg:
********************