[PATCH] D121169: Cleanup codegen includes

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 04:09:46 PST 2022


shchenz added a comment.

PPC buildbot too, https://lab.llvm.org/buildbot/#/builders/57/builds/15884/steps/6/logs/FAIL__LLVM__nary-slsr_ll

one example:

  ******************** TEST 'LLVM :: Transforms/NaryReassociate/NVPTX/nary-slsr.ll' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/opt < /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/NaryReassociate/NVPTX/nary-slsr.ll -slsr -nary-reassociate -S | /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/NaryReassociate/NVPTX/nary-slsr.ll
  : 'RUN: at line 2';   /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/opt < /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/NaryReassociate/NVPTX/nary-slsr.ll -slsr -S | /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/opt -passes='nary-reassociate' -S | /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/NaryReassociate/NVPTX/nary-slsr.ll
  : 'RUN: at line 3';   /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/llc < /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/NaryReassociate/NVPTX/nary-slsr.ll -march=nvptx64 -mcpu=sm_20 | /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/NaryReassociate/NVPTX/nary-slsr.ll --check-prefix=PTX
  --
  Exit Code: 2
  Command Output (stderr):
  --
  Pass ID not registered
  UNREACHABLE executed at /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/lib/CodeGen/TargetPassConfig.cpp:783!
  PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
  Stack dump:
  0.	Program arguments: /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/llc -march=nvptx64 -mcpu=sm_20
   #0 0x000070659c661074 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMSupport.so.15git+0x221074)
   #1 0x000070659c661494 PrintStackTraceSignalHandler(void*) Signals.cpp:0:0
   #2 0x000070659c65e018 llvm::sys::RunSignalHandlers() (/home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMSupport.so.15git+0x21e018)
   #3 0x000070659c6618ec SignalHandler(int) Signals.cpp:0:0
   #4 0x00007065a42604d8  0x4d8 abort
   #5 0x00007065a42604d8 /usr/src/debug/glibc-2.17-c758a686/stdlib/abort.c:75:0 
   #6 0x00007065a42604d8 llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) (+0x4d8)
   #7 0x000070659bfd2134 llvm::TargetPassConfig::addPass(void const*) (/lib64/libc.so.6+0x42134)
   #8 0x000070659c54a9f4 (anonymous namespace)::NVPTXPassConfig::addInstSelector() NVPTXTargetMachine.cpp:0:0
   #9 0x000070659e4631f0 llvm::TargetPassConfig::addCoreISelPasses() (/home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMCodeGen.so.15git+0x6731f0)
  #10 0x00007065a1e79524 llvm::TargetPassConfig::addISelPasses() (/home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMNVPTXCodeGen.so.15git+0x79524)
  #11 0x000070659e463e54 llvm::LLVMTargetMachine::addPassesToEmitFile(llvm::legacy::PassManagerBase&, llvm::raw_pwrite_stream&, llvm::raw_pwrite_stream*, llvm::CodeGenFileType, bool, llvm::MachineModuleInfoWrapperPass*) (/home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMCodeGen.so.15git+0x673e54)
  #12 0x000070659e46437c main (/home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMCodeGen.so.15git+0x67437c)
  #13 0x000070659e084120 generic_start_main.isra.0 /usr/src/debug/glibc-2.17-c758a686/csu/../csu/libc-start.c:266:0
  #14 0x000000001000e49c __libc_start_main /usr/src/debug/glibc-2.17-c758a686/csu/../sysdeps/unix/sysv/linux/powerpc/libc-start.c:81:0
  Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMSupport.so.15git(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamEi+0x44)[0x70659c661074]
  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMSupport.so.15git(+0x221494)[0x70659c661494]
  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMSupport.so.15git(_ZN4llvm3sys17RunSignalHandlersEv+0xc8)[0x70659c65e018]
  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMSupport.so.15git(+0x2218ec)[0x70659c6618ec]
  [0x7065a42604d8]
  /lib64/libc.so.6(abort+0x2b4)[0x70659bfd2134]
  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMSupport.so.15git(_ZN4llvm25llvm_unreachable_internalEPKcS1_j+0x284)[0x70659c54a9f4]
  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMCodeGen.so.15git(_ZN4llvm16TargetPassConfig7addPassEPKv+0xc0)[0x70659e4631f0]
  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMNVPTXCodeGen.so.15git(+0x79524)[0x7065a1e79524]
  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMCodeGen.so.15git(_ZN4llvm16TargetPassConfig17addCoreISelPassesEv+0xa4)[0x70659e463e54]
  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMCodeGen.so.15git(_ZN4llvm16TargetPassConfig13addISelPassesEv+0x12c)[0x70659e46437c]
  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/../lib/libLLVMCodeGen.so.15git(_ZN4llvm17LLVMTargetMachine19addPassesToEmitFileERNS_6legacy15PassManagerBaseERNS_17raw_pwrite_streamEPS4_NS_15CodeGenFileTypeEbPNS_28MachineModuleInfoWrapperPassE+0x100)[0x70659e084120]
  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/llc(main+0x1f2c)[0x1000e49c]
  /lib64/libc.so.6(+0x25300)[0x70659bfb5300]
  /lib64/libc.so.6(__libc_start_main+0xc4)[0x70659bfb54f4]
  FileCheck error: '<stdin>' is empty.
  FileCheck command line:  /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck /home/buildbots/docker-RHEL-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/NaryReassociate/NVPTX/nary-slsr.ll --check-prefix=PTX
  --
  ********************


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121169/new/

https://reviews.llvm.org/D121169



More information about the llvm-commits mailing list