[llvm] [Coroutines] Move materialization code into its own utils (PR #108240)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 13 12:13:30 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `bolt-aarch64-ubuntu-clang` running on `bolt-worker-aarch64` while building `llvm` at step 6 "test-build-clang-bolt-stage2-clang-bolt".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/128/builds/636
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-clang-bolt-stage2-clang-bolt) failure: test (failure)
...
0.289 [288/6/119] Generating outline_atomic_helpers.dir/outline_atomic_ldset4_5.S
0.292 [287/6/120] Generating outline_atomic_helpers.dir/outline_atomic_ldset4_4.S
0.298 [286/6/121] Generating outline_atomic_helpers.dir/outline_atomic_ldset8_1.S
0.299 [285/6/122] Generating outline_atomic_helpers.dir/outline_atomic_ldset8_3.S
0.299 [285/5/123] Generating outline_atomic_helpers.dir/outline_atomic_ldset8_4.S
0.301 [285/4/124] Generating outline_atomic_helpers.dir/outline_atomic_ldset8_2.S
0.304 [285/3/125] Generating outline_atomic_helpers.dir/outline_atomic_ldset8_5.S
0.322 [281/6/126] Building C object clang_rt.crtend.o
0.335 [280/6/127] Building C object clang_rt.crtbegin.o
1.018 [279/6/128] Building C object CMakeFiles/clang_rt.builtins-aarch64.dir/extenddftf2.c.o
FAILED: CMakeFiles/clang_rt.builtins-aarch64.dir/extenddftf2.c.o
/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang --target=aarch64-unknown-linux-gnu -DHAS_ASM_LSE -DVISIBILITY_HIDDEN -O3 -DNDEBUG -march=armv8-a -fno-lto -std=c11 -fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer -DCOMPILER_RT_HAS_FLOAT16 -MD -MT CMakeFiles/clang_rt.builtins-aarch64.dir/extenddftf2.c.o -MF CMakeFiles/clang_rt.builtins-aarch64.dir/extenddftf2.c.o.d -o CMakeFiles/clang_rt.builtins-aarch64.dir/extenddftf2.c.o -c /home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/llvm-project/compiler-rt/lib/builtins/extenddftf2.c
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/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang --target=aarch64-unknown-linux-gnu -DHAS_ASM_LSE -DVISIBILITY_HIDDEN -O3 -DNDEBUG -march=armv8-a -fno-lto -std=c11 -fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer -DCOMPILER_RT_HAS_FLOAT16 -MD -MT CMakeFiles/clang_rt.builtins-aarch64.dir/extenddftf2.c.o -MF CMakeFiles/clang_rt.builtins-aarch64.dir/extenddftf2.c.o.d -o CMakeFiles/clang_rt.builtins-aarch64.dir/extenddftf2.c.o -c /home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/llvm-project/compiler-rt/lib/builtins/extenddftf2.c
1. <eof> parser at end of file
2. Optimizer
3. Running pass "function<eager-inv>(float2int,lower-constant-intrinsics,chr,loop(loop-rotate<header-duplication;no-prepare-for-lto>,loop-deletion),loop-distribute,inject-tli-mappings,loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only;>,infer-alignment,loop-load-elim,instcombine<max-iterations=1;no-verify-fixpoint>,simplifycfg<bonus-inst-threshold=1;forward-switch-cond;switch-range-to-icmp;switch-to-lookup;no-keep-loops;hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,slp-vectorizer,vector-combine,instcombine<max-iterations=1;no-verify-fixpoint>,loop-unroll<O3>,transform-warning,sroa<preserve-cfg>,infer-alignment,instcombine<max-iterations=1;no-verify-fixpoint>,loop-mssa(licm<allowspeculation>),alignment-from-assumptions,loop-sink,instsimplify,div-rem-pairs,tailcallelim,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-lookup;keep-loops;no-hoist-common-insts;hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;speculate-unpredictables>)" on module "/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/llvm-project/compiler-rt/lib/builtins/extenddftf2.c"
4. Running pass "slp-vectorizer" on function "__extenddftf2"
#0 0x0000aaaace6863d4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0xa4863d4)
#1 0x0000aaaace6843bc llvm::sys::RunSignalHandlers() (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0xa4843bc)
#2 0x0000aaaace5f8b24 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
#3 0x0000ffff912527dc (linux-vdso.so.1+0x7dc)
#4 0x0000aaaacfded92c llvm::SLPVectorizerPass::runImpl(llvm::Function&, llvm::ScalarEvolution*, llvm::TargetTransformInfo*, llvm::TargetLibraryInfo*, llvm::AAResults*, llvm::LoopInfo*, llvm::DominatorTree*, llvm::AssumptionCache*, llvm::DemandedBits*, llvm::OptimizationRemarkEmitter*) (.part.0) SLPVectorizer.cpp:0:0
#5 0x0000aaaacfdee9d0 llvm::SLPVectorizerPass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0xbbee9d0)
#6 0x0000aaaacf91baec llvm::detail::PassModel<llvm::Function, llvm::SLPVectorizerPass, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) PassBuilder.cpp:0:0
#7 0x0000aaaacceba9e0 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8cba9e0)
#8 0x0000aaaacee23c6c llvm::detail::PassModel<llvm::Function, llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) BackendUtil.cpp:0:0
#9 0x0000aaaacceba4b8 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8cba4b8)
#10 0x0000aaaacceba2ec llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) BackendUtil.cpp:0:0
#11 0x0000aaaacceba08c llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8cba08c)
#12 0x0000aaaaccfeb170 (anonymous namespace)::EmitAssemblyHelper::RunOptimizationPipeline(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>&, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>&, clang::BackendConsumer*) BackendUtil.cpp:0:0
#13 0x0000aaaaccf59c00 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/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8d59c00)
#14 0x0000aaaaccf5bd3c clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8d5bd3c)
#15 0x0000aaaaccd56840 clang::ParseAST(clang::Sema&, bool, bool) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8b56840)
#16 0x0000aaaaccfd7cd4 clang::FrontendAction::Execute() (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8dd7cd4)
#17 0x0000aaaaccfd7b20 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8dd7b20)
#18 0x0000aaaaccfd7930 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8dd7930)
#19 0x0000aaaaccfc8e08 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8dc8e08)
#20 0x0000aaaaccfc5d0c ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) driver.cpp:0:0
#21 0x0000aaaaccfc5be0 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
#22 0x0000aaaaccfc5b8c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8dc5b8c)
#23 0x0000aaaaccfc5988 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.0) Job.cpp:0:0
#24 0x0000aaaaccfc5784 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8dc5784)
#25 0x0000aaaaccfc565c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8dc565c)
#26 0x0000aaaaccfc557c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8dc557c)
#27 0x0000aaaaccfc7524 clang_main(int, char**, llvm::ToolContext const&) (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8dc7524)
#28 0x0000aaaaccfdb45c main (/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/./bin/clang+0x8ddb45c)
#29 0x0000ffff90d573fc __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3
```
</details>
https://github.com/llvm/llvm-project/pull/108240
More information about the llvm-commits
mailing list