[PATCH] D121169: Cleanup codegen includes
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 10 03:21:58 PST 2022
foad added a comment.
This seems to have broken almost all NVPTX CodeGen tests in my Release build. They fail with something like:
********************
FAIL: LLVM :: CodeGen/NVPTX/bug17709.ll (195 of 195)
******************** TEST 'LLVM :: CodeGen/NVPTX/bug17709.ll' FAILED ********************
Script:
--
: 'RUN: at line 1'; /home/jayfoad2/llvm-release/bin/llc < /home/jayfoad2/git/llvm-project/llvm/test/CodeGen/NVPTX/bug17709.ll -march=nvptx -mcpu=sm_20 -verify-machineinstrs | /home/jayfoad2/llvm-release/bin/FileCheck /home/jayfoad2/git/llvm-project/llvm/test/CodeGen/NVPTX/bug17709.ll
--
Exit Code: 2
Command Output (stderr):
--
+ : 'RUN: at line 1'
+ /home/jayfoad2/llvm-release/bin/llc -march=nvptx -mcpu=sm_20 -verify-machineinstrs
+ /home/jayfoad2/llvm-release/bin/FileCheck /home/jayfoad2/git/llvm-project/llvm/test/CodeGen/NVPTX/bug17709.ll
Pass ID not registered
UNREACHABLE executed at /home/jayfoad2/git/llvm-project/llvm/lib/CodeGen/TargetPassConfig.cpp:783!
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: /home/jayfoad2/llvm-release/bin/llc -march=nvptx -mcpu=sm_20 -verify-machineinstrs
#0 0x000000000531b903 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/jayfoad2/llvm-release/bin/llc+0x531b903)
#1 0x000000000531963e llvm::sys::RunSignalHandlers() (/home/jayfoad2/llvm-release/bin/llc+0x531963e)
#2 0x000000000531bc8f SignalHandler(int) Signals.cpp:0:0
#3 0x00007f5443db43c0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x143c0)
#4 0x00007f544384703b raise /build/glibc-sMfBJT/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:51:1
#5 0x00007f5443826859 abort /build/glibc-sMfBJT/glibc-2.31/stdlib/abort.c:81:7
#6 0x00000000052848c1 (/home/jayfoad2/llvm-release/bin/llc+0x52848c1)
#7 0x00000000048b6fd9 (/home/jayfoad2/llvm-release/bin/llc+0x48b6fd9)
#8 0x000000000397f1af (anonymous namespace)::NVPTXPassConfig::addInstSelector() NVPTXTargetMachine.cpp:0:0
#9 0x00000000048b773e llvm::TargetPassConfig::addCoreISelPasses() (/home/jayfoad2/llvm-release/bin/llc+0x48b773e)
#10 0x00000000048b7a8b llvm::TargetPassConfig::addISelPasses() (/home/jayfoad2/llvm-release/bin/llc+0x48b7a8b)
#11 0x00000000045b371c llvm::LLVMTargetMachine::addPassesToEmitFile(llvm::legacy::PassManagerBase&, llvm::raw_pwrite_stream&, llvm::raw_pwrite_stream*, llvm::CodeGenFileType, bool, llvm::MachineModuleInfoWrapperPass*) (/home/jayfoad2/llvm-release/bin/llc+0x45b371c)
#12 0x0000000002ead528 main (/home/jayfoad2/llvm-release/bin/llc+0x2ead528)
#13 0x00007f54438280b3 __libc_start_main /build/glibc-sMfBJT/glibc-2.31/csu/../csu/libc-start.c:342:3
#14 0x0000000002eaab6e _start (/home/jayfoad2/llvm-release/bin/llc+0x2eaab6e)
FileCheck error: '<stdin>' is empty.
FileCheck command line: /home/jayfoad2/llvm-release/bin/FileCheck /home/jayfoad2/git/llvm-project/llvm/test/CodeGen/NVPTX/bug17709.ll
Also, what happened to this:
> Yes - please ensure your summary references the https://discourse.llvm.org/t/include-what-you-use-include-cleanup/5831 conversation URL
?
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