[llvm] [DirectX] Add ObjectFile boilerplate for objdump (PR #151434)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 11:22:37 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-qemu` running on `sanitizer-buildbot3` while building `llvm` at step 2 "annotate".

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

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

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[44/63] Linking CXX static library lib/linux/libclang_rt.gwp_asan-x86_64.a
[45/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/report.cpp.o
[46/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/linux.cpp.o
[47/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-x86_64.dir/timing.cpp.o
[48/63] Building CXX object lib/gwp_asan/CMakeFiles/RTGwpAsanOptionsParser.x86_64.dir/optional/options_parser.cpp.o
[49/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/timing.cpp.o
[50/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-x86_64.dir/string_utils.cpp.o
[51/63] Building CXX object lib/gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/guarded_pool_allocator.cpp.o
[52/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/string_utils.cpp.o
[53/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o
FAILED: lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o 
/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang++ --target=x86_64-linux-gnu  -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/../.. -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/include -fPIC -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -fno-lto -Werror=conversion -Wall -Wextra -pedantic -g -nostdinc++ -fvisibility=hidden -fno-exceptions -Wno-pedantic -O3 -Werror=thread-safety -fno-omit-frame-pointer -DGWP_ASAN_HOOKS -MD -MT lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -MF lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o.d -o lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -c /home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp
Cannot find interchangeable instruction.
UNREACHABLE executed at /home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:997!
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/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang++ --target=x86_64-linux-gnu -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/../.. -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/include -fPIC -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -fno-lto -Werror=conversion -Wall -Wextra -pedantic -g -nostdinc++ -fvisibility=hidden -fno-exceptions -Wno-pedantic -O3 -Werror=thread-safety -fno-omit-frame-pointer -DGWP_ASAN_HOOKS -MD -MT lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -MF lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o.d -o lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -c /home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp
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/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp"
4.	Running pass "slp-vectorizer" on function "_ZN5scudo18PageReleaseContext21markRangeAsAllCountedEmmmmm"
 #0 0x000056dcb84bdef8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x87e4ef8)
 #1 0x000056dcb84bb615 llvm::sys::RunSignalHandlers() (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x87e2615)
 #2 0x000056dcb84231a6 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
 #3 0x0000710b1fa45250 (/lib/x86_64-linux-gnu/libc.so.6+0x45250)
 #4 0x0000710b1faa3f1c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0xa3f1c)
 #5 0x0000710b1fa4519e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4519e)
 #6 0x0000710b1fa28902 abort (/lib/x86_64-linux-gnu/libc.so.6+0x28902)
 #7 0x000056dcb842b9ff (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x87529ff)
 #8 0x000056dcb9af4391 (anonymous namespace)::InstructionsState::getMatchingMainOpOrAltOp(llvm::Instruction*) const SLPVectorizer.cpp:0:0
 #9 0x000056dcb9a81e3e getSameOpcode(llvm::ArrayRef<llvm::Value*>, llvm::TargetLibraryInfo const&) SLPVectorizer.cpp:0:0
#10 0x000056dcb9a7f1c7 (anonymous namespace)::InstructionsCompatibilityAnalysis::buildInstructionsState(llvm::ArrayRef<llvm::Value*>, llvm::slpvectorizer::BoUpSLP const&, bool, bool, bool) SLPVectorizer.cpp:0:0
#11 0x000056dcb9ad6eb0 llvm::SLPVectorizerPass::vectorizeStoreChain(llvm::ArrayRef<llvm::Value*>, llvm::slpvectorizer::BoUpSLP&, unsigned int, unsigned int, unsigned int&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9dfdeb0)
#12 0x000056dcb9ad9592 llvm::SLPVectorizerPass::vectorizeStores(llvm::ArrayRef<llvm::StoreInst*>, llvm::slpvectorizer::BoUpSLP&, llvm::DenseSet<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, llvm::DenseMapInfo<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, void>>&)::$_0::operator()(std::map<long, unsigned int, std::less<long>, std::allocator<std::pair<long const, unsigned int>>> const&) const SLPVectorizer.cpp:0:0
#13 0x000056dcb9ad829b llvm::SLPVectorizerPass::vectorizeStores(llvm::ArrayRef<llvm::StoreInst*>, llvm::slpvectorizer::BoUpSLP&, llvm::DenseSet<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, llvm::DenseMapInfo<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, void>>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9dff29b)
#14 0x000056dcb9ad3549 llvm::SLPVectorizerPass::vectorizeStoreChains(llvm::slpvectorizer::BoUpSLP&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9dfa549)
#15 0x000056dcb9ad1c3b llvm::SLPVectorizerPass::runImpl(llvm::Function&, llvm::ScalarEvolution*, llvm::TargetTransformInfo*, llvm::TargetLibraryInfo*, llvm::AAResults*, llvm::LoopInfo*, llvm::DominatorTree*, llvm::AssumptionCache*, llvm::DemandedBits*, llvm::OptimizationRemarkEmitter*) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9df8c3b)
#16 0x000056dcb9ad11f6 llvm::SLPVectorizerPass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9df81f6)
#17 0x000056dcb966c48d llvm::detail::PassModel<llvm::Function, llvm::SLPVectorizerPass, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) PassBuilder.cpp:0:0
#18 0x000056dcb7eb728a llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x81de28a)
#19 0x000056dcb5d69c0d llvm::detail::PassModel<llvm::Function, llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) AMDGPUTargetMachine.cpp:0:0
#20 0x000056dcb7ebb117 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x81e2117)
#21 0x000056dcb5d6a35d llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) AMDGPUTargetMachine.cpp:0:0
#22 0x000056dcb7eb636a llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x81dd36a)
#23 0x000056dcb8c20a1f (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
#24 0x000056dcb8c18056 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/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x8f3f056)
#25 0x000056dcb8c2a205 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x8f51205)
#26 0x000056dcba66aa59 clang::ParseAST(clang::Sema&, bool, bool) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0xa991a59)
#27 0x000056dcb91bf506 clang::FrontendAction::Execute() (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x94e6506)
Step 11 (scudo x86_64) failure: scudo x86_64 (failure)
...
[44/63] Linking CXX static library lib/linux/libclang_rt.gwp_asan-x86_64.a
[45/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/report.cpp.o
[46/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/linux.cpp.o
[47/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-x86_64.dir/timing.cpp.o
[48/63] Building CXX object lib/gwp_asan/CMakeFiles/RTGwpAsanOptionsParser.x86_64.dir/optional/options_parser.cpp.o
[49/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/timing.cpp.o
[50/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-x86_64.dir/string_utils.cpp.o
[51/63] Building CXX object lib/gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/guarded_pool_allocator.cpp.o
[52/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/string_utils.cpp.o
[53/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o
FAILED: lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o 
/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang++ --target=x86_64-linux-gnu  -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/../.. -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/include -fPIC -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -fno-lto -Werror=conversion -Wall -Wextra -pedantic -g -nostdinc++ -fvisibility=hidden -fno-exceptions -Wno-pedantic -O3 -Werror=thread-safety -fno-omit-frame-pointer -DGWP_ASAN_HOOKS -MD -MT lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -MF lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o.d -o lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -c /home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp
Cannot find interchangeable instruction.
UNREACHABLE executed at /home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:997!
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/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang++ --target=x86_64-linux-gnu -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/../.. -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/include -fPIC -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -fno-lto -Werror=conversion -Wall -Wextra -pedantic -g -nostdinc++ -fvisibility=hidden -fno-exceptions -Wno-pedantic -O3 -Werror=thread-safety -fno-omit-frame-pointer -DGWP_ASAN_HOOKS -MD -MT lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -MF lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o.d -o lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -c /home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp
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/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp"
4.	Running pass "slp-vectorizer" on function "_ZN5scudo18PageReleaseContext21markRangeAsAllCountedEmmmmm"
 #0 0x000056dcb84bdef8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x87e4ef8)
 #1 0x000056dcb84bb615 llvm::sys::RunSignalHandlers() (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x87e2615)
 #2 0x000056dcb84231a6 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
 #3 0x0000710b1fa45250 (/lib/x86_64-linux-gnu/libc.so.6+0x45250)
 #4 0x0000710b1faa3f1c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0xa3f1c)
 #5 0x0000710b1fa4519e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4519e)
 #6 0x0000710b1fa28902 abort (/lib/x86_64-linux-gnu/libc.so.6+0x28902)
 #7 0x000056dcb842b9ff (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x87529ff)
 #8 0x000056dcb9af4391 (anonymous namespace)::InstructionsState::getMatchingMainOpOrAltOp(llvm::Instruction*) const SLPVectorizer.cpp:0:0
 #9 0x000056dcb9a81e3e getSameOpcode(llvm::ArrayRef<llvm::Value*>, llvm::TargetLibraryInfo const&) SLPVectorizer.cpp:0:0
#10 0x000056dcb9a7f1c7 (anonymous namespace)::InstructionsCompatibilityAnalysis::buildInstructionsState(llvm::ArrayRef<llvm::Value*>, llvm::slpvectorizer::BoUpSLP const&, bool, bool, bool) SLPVectorizer.cpp:0:0
#11 0x000056dcb9ad6eb0 llvm::SLPVectorizerPass::vectorizeStoreChain(llvm::ArrayRef<llvm::Value*>, llvm::slpvectorizer::BoUpSLP&, unsigned int, unsigned int, unsigned int&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9dfdeb0)
#12 0x000056dcb9ad9592 llvm::SLPVectorizerPass::vectorizeStores(llvm::ArrayRef<llvm::StoreInst*>, llvm::slpvectorizer::BoUpSLP&, llvm::DenseSet<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, llvm::DenseMapInfo<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, void>>&)::$_0::operator()(std::map<long, unsigned int, std::less<long>, std::allocator<std::pair<long const, unsigned int>>> const&) const SLPVectorizer.cpp:0:0
#13 0x000056dcb9ad829b llvm::SLPVectorizerPass::vectorizeStores(llvm::ArrayRef<llvm::StoreInst*>, llvm::slpvectorizer::BoUpSLP&, llvm::DenseSet<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, llvm::DenseMapInfo<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, void>>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9dff29b)
#14 0x000056dcb9ad3549 llvm::SLPVectorizerPass::vectorizeStoreChains(llvm::slpvectorizer::BoUpSLP&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9dfa549)
#15 0x000056dcb9ad1c3b llvm::SLPVectorizerPass::runImpl(llvm::Function&, llvm::ScalarEvolution*, llvm::TargetTransformInfo*, llvm::TargetLibraryInfo*, llvm::AAResults*, llvm::LoopInfo*, llvm::DominatorTree*, llvm::AssumptionCache*, llvm::DemandedBits*, llvm::OptimizationRemarkEmitter*) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9df8c3b)
#16 0x000056dcb9ad11f6 llvm::SLPVectorizerPass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9df81f6)
#17 0x000056dcb966c48d llvm::detail::PassModel<llvm::Function, llvm::SLPVectorizerPass, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) PassBuilder.cpp:0:0
#18 0x000056dcb7eb728a llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x81de28a)
#19 0x000056dcb5d69c0d llvm::detail::PassModel<llvm::Function, llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) AMDGPUTargetMachine.cpp:0:0
#20 0x000056dcb7ebb117 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x81e2117)
#21 0x000056dcb5d6a35d llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) AMDGPUTargetMachine.cpp:0:0
#22 0x000056dcb7eb636a llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x81dd36a)
#23 0x000056dcb8c20a1f (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
#24 0x000056dcb8c18056 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/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x8f3f056)
#25 0x000056dcb8c2a205 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x8f51205)
#26 0x000056dcba66aa59 clang::ParseAST(clang::Sema&, bool, bool) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0xa991a59)
#27 0x000056dcb91bf506 clang::FrontendAction::Execute() (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x94e6506)
Step 12 (scudo x86_64_qemu) failure: scudo x86_64_qemu (failure)
...
[44/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/timing.cpp.o
[45/63] Building CXX object lib/gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/guarded_pool_allocator.cpp.o
[46/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-x86_64.dir/report.cpp.o
[47/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-x86_64.dir/string_utils.cpp.o
[48/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-x86_64.dir/linux.cpp.o
[49/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/flags_parser.cpp.o
[50/63] Building CXX object lib/gwp_asan/CMakeFiles/clang_rt.gwp_asan-x86_64.dir/guarded_pool_allocator.cpp.o
[51/63] Linking CXX static library lib/linux/libclang_rt.gwp_asan-x86_64.a
[52/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/string_utils.cpp.o
[53/63] Building CXX object lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o
FAILED: lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o 
/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang++ --target=x86_64-linux-gnu  -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/../.. -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/include -fPIC -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -fno-lto -Werror=conversion -Wall -Wextra -pedantic -g -nostdinc++ -fvisibility=hidden -fno-exceptions -Wno-pedantic -O3 -Werror=thread-safety -fno-omit-frame-pointer -DGWP_ASAN_HOOKS -MD -MT lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -MF lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o.d -o lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -c /home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp
Cannot find interchangeable instruction.
UNREACHABLE executed at /home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:997!
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/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang++ --target=x86_64-linux-gnu -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/../.. -I/home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/include -fPIC -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -fno-lto -Werror=conversion -Wall -Wextra -pedantic -g -nostdinc++ -fvisibility=hidden -fno-exceptions -Wno-pedantic -O3 -Werror=thread-safety -fno-omit-frame-pointer -DGWP_ASAN_HOOKS -MD -MT lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -MF lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o.d -o lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-x86_64.dir/wrappers_cpp.cpp.o -c /home/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp
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/b/sanitizer-x86_64-linux-qemu/build/llvm-project/compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp"
4.	Running pass "slp-vectorizer" on function "_ZN5scudo18PageReleaseContext21markRangeAsAllCountedEmmmmm"
 #0 0x00005a3c5e751ef8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x87e4ef8)
 #1 0x00005a3c5e74f615 llvm::sys::RunSignalHandlers() (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x87e2615)
 #2 0x00005a3c5e6b71a6 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
 #3 0x0000766471245250 (/lib/x86_64-linux-gnu/libc.so.6+0x45250)
 #4 0x00007664712a3f1c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0xa3f1c)
 #5 0x000076647124519e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4519e)
 #6 0x0000766471228902 abort (/lib/x86_64-linux-gnu/libc.so.6+0x28902)
 #7 0x00005a3c5e6bf9ff (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x87529ff)
 #8 0x00005a3c5fd88391 (anonymous namespace)::InstructionsState::getMatchingMainOpOrAltOp(llvm::Instruction*) const SLPVectorizer.cpp:0:0
 #9 0x00005a3c5fd15e3e getSameOpcode(llvm::ArrayRef<llvm::Value*>, llvm::TargetLibraryInfo const&) SLPVectorizer.cpp:0:0
#10 0x00005a3c5fd131c7 (anonymous namespace)::InstructionsCompatibilityAnalysis::buildInstructionsState(llvm::ArrayRef<llvm::Value*>, llvm::slpvectorizer::BoUpSLP const&, bool, bool, bool) SLPVectorizer.cpp:0:0
#11 0x00005a3c5fd6aeb0 llvm::SLPVectorizerPass::vectorizeStoreChain(llvm::ArrayRef<llvm::Value*>, llvm::slpvectorizer::BoUpSLP&, unsigned int, unsigned int, unsigned int&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9dfdeb0)
#12 0x00005a3c5fd6d592 llvm::SLPVectorizerPass::vectorizeStores(llvm::ArrayRef<llvm::StoreInst*>, llvm::slpvectorizer::BoUpSLP&, llvm::DenseSet<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, llvm::DenseMapInfo<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, void>>&)::$_0::operator()(std::map<long, unsigned int, std::less<long>, std::allocator<std::pair<long const, unsigned int>>> const&) const SLPVectorizer.cpp:0:0
#13 0x00005a3c5fd6c29b llvm::SLPVectorizerPass::vectorizeStores(llvm::ArrayRef<llvm::StoreInst*>, llvm::slpvectorizer::BoUpSLP&, llvm::DenseSet<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, llvm::DenseMapInfo<std::tuple<llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, unsigned int>, void>>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9dff29b)
#14 0x00005a3c5fd67549 llvm::SLPVectorizerPass::vectorizeStoreChains(llvm::slpvectorizer::BoUpSLP&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9dfa549)
#15 0x00005a3c5fd65c3b llvm::SLPVectorizerPass::runImpl(llvm::Function&, llvm::ScalarEvolution*, llvm::TargetTransformInfo*, llvm::TargetLibraryInfo*, llvm::AAResults*, llvm::LoopInfo*, llvm::DominatorTree*, llvm::AssumptionCache*, llvm::DemandedBits*, llvm::OptimizationRemarkEmitter*) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9df8c3b)
#16 0x00005a3c5fd651f6 llvm::SLPVectorizerPass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x9df81f6)
#17 0x00005a3c5f90048d llvm::detail::PassModel<llvm::Function, llvm::SLPVectorizerPass, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) PassBuilder.cpp:0:0
#18 0x00005a3c5e14b28a llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x81de28a)
#19 0x00005a3c5bffdc0d llvm::detail::PassModel<llvm::Function, llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) AMDGPUTargetMachine.cpp:0:0
#20 0x00005a3c5e14f117 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x81e2117)
#21 0x00005a3c5bffe35d llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) AMDGPUTargetMachine.cpp:0:0
#22 0x00005a3c5e14a36a llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x81dd36a)
#23 0x00005a3c5eeb4a1f (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
#24 0x00005a3c5eeac056 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/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x8f3f056)
#25 0x00005a3c5eebe205 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x8f51205)
#26 0x00005a3c608fea59 clang::ParseAST(clang::Sema&, bool, bool) (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0xa991a59)
#27 0x00005a3c5f453506 clang::FrontendAction::Execute() (/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang+++0x94e6506)

```

</details>

https://github.com/llvm/llvm-project/pull/151434


More information about the llvm-commits mailing list