llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-with-thin-lto-ubuntu` running on `as-worker-92` while building `clang` 
at step 12 "build-stage2-compiler".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/127/builds/7379

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 12 (build-stage2-compiler) failure: build (failure)
...
296.498 [2517/72/4469] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIFrameLowering.cpp.o
296.502 [2516/72/4470] Building C object 
tools/clang/tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o
296.571 [2515/72/4471] Building CXX object 
lib/Target/AMDGPU/MCTargetDesc/CMakeFiles/LLVMAMDGPUDesc.dir/AMDGPUMCExpr.cpp.o
296.597 [2514/72/4472] Building CXX object 
tools/clang/tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o
296.622 [2513/72/4473] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIPreAllocateWWMRegs.cpp.o
296.741 [2512/72/4474] Building CXX object 
tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ModulesDriver.cpp.o
296.894 [2511/72/4475] Building CXX object 
tools/clang/tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o
296.926 [2510/72/4476] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SILowerControlFlow.cpp.o
296.930 [2509/72/4477] Linking CXX executable bin/llvm-profdata
297.166 [2508/72/4478] Building CXX object 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIMachineScheduler.cpp.o
FAILED: 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIMachineScheduler.cpp.o 
/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang++
 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE 
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage2/lib/Target/AMDGPU
 
-I/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/lib/Target/AMDGPU
 -I/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage2/include 
-I/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/include
 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden 
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion 
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported 
-fdiagnostics-color -ffunction-sections -fdata-sections -Xclang 
-fno-pch-timestamp -O3 -DNDEBUG -fvisibility=hidden -UNDEBUG -fno-exceptions 
-funwind-tables -fno-rtti -std=c++17 -Winvalid-pch -Xclang -include-pch -Xclang 
/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage2/lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/cmake_pch.hxx.pch
 -Xclang -include -Xclang 
/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage2/lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/cmake_pch.hxx
 -MD -MT 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIMachineScheduler.cpp.o -MF 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIMachineScheduler.cpp.o.d 
-o lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIMachineScheduler.cpp.o 
-c 
/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp
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/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang++
 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE 
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage2/lib/Target/AMDGPU
 
-I/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/lib/Target/AMDGPU
 -I/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage2/include 
-I/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/include
 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden 
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion 
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported 
-fdiagnostics-color -ffunction-sections -fdata-sections -Xclang 
-fno-pch-timestamp -O3 -DNDEBUG -fvisibility=hidden -UNDEBUG -fno-exceptions 
-funwind-tables -fno-rtti -std=c++17 -Winvalid-pch -Xclang -include-pch -Xclang 
/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage2/lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/cmake_pch.hxx.pch
 -Xclang -include -Xclang 
/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage2/lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/cmake_pch.hxx
 -MD -MT 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIMachineScheduler.cpp.o -MF 
lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIMachineScheduler.cpp.o.d 
-o lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIMachineScheduler.cpp.o 
-c 
/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp
1.      <eof> parser at end of file
2.      Optimizer
3.      Running pass 
"function<eager-inv>(drop-unnecessary-assumes,float2int,lower-constant-intrinsics,chr,loop(loop-rotate<header-duplication;no-prepare-for-lto;check-exit-count>,loop-deletion),loop-distribute,inject-tli-mappings,loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only;>,drop-unnecessary-assumes,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-arithmetic;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,mergeicmps,expand-memcmp,tailcallelim,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;switch-to-arithmetic;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/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp"
4.      Running pass 
"loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only;>" on 
function "_ZN4llvm22SIScheduleBlockCreator25regroupNoUserInstructionsEv"
 #0 0x00005645c65f0a00 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x40d5a00)
 #1 0x00005645c65ee594 llvm::sys::CleanupOnSignal(unsigned long) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x40d3594)
 #2 0x00005645c6528698 CrashRecoverySignalHandler(int) 
CrashRecoveryContext.cpp:0:0
 #3 0x00007ffa8120c520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007ffa8136a88d (/lib/x86_64-linux-gnu/libc.so.6+0x1a088d)
 #5 0x00005645c658f118 llvm::Twine::str[abi:cxx11]() const 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x4074118)
 #6 0x00005645c68cddb1 llvm::VPInstruction::VPInstruction(unsigned int, 
llvm::ArrayRef<llvm::VPValue*>, llvm::VPIRFlags const&, llvm::VPIRMetadata 
const&, llvm::DebugLoc, llvm::Twine const&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x43b2db1)
 #7 0x00005645c68553e1 std::_Function_handler<void (llvm::VPSingleDefRecipe*), 
llvm::LoopVectorizationPlanner::addReductionResultComputation(std::unique_ptr<llvm::VPlan,
 std::default_delete<llvm::VPlan>>&, llvm::VPRecipeBuilder&, 
llvm::ElementCount)::'lambda0'(llvm::VPSingleDefRecipe*)>::_M_invoke(std::_Any_data
 const&, llvm::VPSingleDefRecipe*&&) LoopVectorize.cpp:0:0
 #8 0x00005645c685d39d 
llvm::LoopVectorizationPlanner::addReductionResultComputation(std::unique_ptr<llvm::VPlan,
 std::default_delete<llvm::VPlan>>&, llvm::VPRecipeBuilder&, 
llvm::ElementCount) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x434239d)
 #9 0x00005645c685e7b5 
llvm::LoopVectorizationPlanner::tryToBuildVPlan(std::unique_ptr<llvm::VPlan, 
std::default_delete<llvm::VPlan>>, llvm::VFRange&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x43437b5)
#10 0x00005645c685f504 
llvm::LoopVectorizationPlanner::buildVPlans(llvm::ElementCount, 
llvm::ElementCount) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x4344504)
#11 0x00005645c6870009 llvm::LoopVectorizationPlanner::plan(llvm::ElementCount, 
unsigned int) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x4355009)
#12 0x00005645c687931c llvm::LoopVectorizePass::processLoop(llvm::Loop*) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x435e31c)
#13 0x00005645c687af80 llvm::LoopVectorizePass::runImpl(llvm::Function&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x435ff80)
#14 0x00005645c687b32b llvm::LoopVectorizePass::run(llvm::Function&, 
llvm::AnalysisManager<llvm::Function>&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x436032b)
#15 0x00005645c7765c06 llvm::detail::PassModel<llvm::Function, 
llvm::LoopVectorizePass, 
llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, 
llvm::AnalysisManager<llvm::Function>&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x524ac06)
#16 0x00005645c5f52c10 llvm::PassManager<llvm::Function, 
llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, 
llvm::AnalysisManager<llvm::Function>&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x3a37c10)
#17 0x00005645c38d8df6 llvm::detail::PassModel<llvm::Function, 
llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>, 
llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, 
llvm::AnalysisManager<llvm::Function>&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x13bddf6)
#18 0x00005645c5f53748 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, 
llvm::AnalysisManager<llvm::Module>&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x3a38748)
#19 0x00005645c38d94e6 llvm::detail::PassModel<llvm::Module, 
llvm::ModuleToFunctionPassAdaptor, 
llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, 
llvm::AnalysisManager<llvm::Module>&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x13be4e6)
#20 0x00005645c5f556f0 llvm::PassManager<llvm::Module, 
llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, 
llvm::AnalysisManager<llvm::Module>&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x3a3a6f0)
#21 0x00005645c69c19a6 (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
#22 0x00005645c69c58bd clang::emitBackendOutput(clang::CompilerInstance&, 
clang::CodeGenOptions&, 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/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x44aa8bd)
#23 0x00005645c7008388 
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x4aed388)
#24 0x00005645c8a18c7c clang::ParseAST(clang::Sema&, bool, bool) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x64fdc7c)
#25 0x00005645c737379e clang::FrontendAction::Execute() 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x4e5879e)
#26 0x00005645c72df405 
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x4dc4405)
#27 0x00005645c745d58c 
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0x4f4258c)
#28 0x00005645c3477269 cc1_main(llvm::ArrayRef<char const*>, char const*, 
void*) 
(/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/install/stage1/bin/clang+++0xf5c269)
#29 0x00005645c346eedb ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, 
llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) 
driver.cpp:0:0

```

</details>

https://github.com/llvm/llvm-project/pull/199455
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to