phoebewang wrote: > > LLVM Buildbot has detected a new failure on builder > > `llvm-clang-x86_64-expensive-checks-ubuntu` running on `as-builder-4` while > > building `clang,llvm` at step 7 "test-check-all". > > Full details are available at: > > https://lab.llvm.org/buildbot/#/builders/187/builds/17441 > > Here is the relevant piece of the build log for the reference > > ``` > > Step 7 (test-check-all) failure: Test just built components: check-all > > completed (failure) > > ******************** TEST 'LLVM :: CodeGen/X86/reserveRreg.ll' FAILED > > ******************** > > Exit Code: 2 > > > > Command Output (stdout): > > -- > > # RUN: at line 4 > > /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc < > > /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/CodeGen/X86/reserveRreg.ll > > -mtriple=x86_64-unknown-linux-gnu | > > /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/FileCheck > > > > /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/CodeGen/X86/reserveRreg.ll > > # executed command: > > /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc > > -mtriple=x86_64-unknown-linux-gnu > > # .---command stderr------------ > > # | > > # | # After Peephole Optimizations > > # | # Machine code for function t16: IsSSA, TracksLiveness > > # | > > # | bb.0 (%ir-block.0): > > # | $r16 = MOV32ri64 256 > > # | INLINEASM &"" [sideeffect] [attdialect], $0:[regdef], implicit-def > > $r16, $1:[reguse], $r16 > > # | RET 0 > > # | > > # | # End machine code for function t16. > > # | > > # | *** Bad machine code: Illegal physical register for instruction *** > > # | - function: t16 > > # | - basic block: %bb.0 (0x58eb82267f38) > > # | - instruction: $r16 = MOV32ri64 256 > > # | - operand 0: $r16 > > # | $r16 is not a GR64_NOREX2 register. > > # | LLVM ERROR: Found 1 machine code errors. > > # | PLEASE submit a bug report to > > https://github.com/llvm/llvm-project/issues/ and include the crash > > backtrace and instructions to reproduce the bug. > > # | Stack dump: > > # | 0. Program arguments: > > /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc > > -mtriple=x86_64-unknown-linux-gnu > > # | 1. Running pass 'Function Pass Manager' on module '<stdin>'. > > # | 2. Running pass 'Verify generated machine code' on function '@t16' > > # | #0 0x000058eb6f34d978 llvm::sys::PrintStackTrace(llvm::raw_ostream&, > > int) > > (/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc+0x86c9978) > > # | #1 0x000058eb6f34a8e5 llvm::sys::RunSignalHandlers() > > (/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc+0x86c68e5) > > # | #2 0x000058eb6f34e7d1 SignalHandler(int, siginfo_t*, void*) > > Signals.cpp:0:0 > > # | #3 0x0000743381845330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) > > # | #4 0x000074338189eb2c pthread_kill > > (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c) > > # | #5 0x000074338184527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e) > > # | #6 0x00007433818288ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff) > > # | #7 0x000058eb6f2aa8d5 llvm::report_fatal_error(llvm::Twine const&, > > bool) > > (/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc+0x86268d5) > > # | #8 0x000058eb6e120f2b > > (/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc+0x749cf2b) > > # | #9 0x000058eb6e121edf (anonymous > > namespace)::MachineVerifierLegacyPass::runOnMachineFunction(llvm::MachineFunction&) > > MachineVerifier.cpp:0:0 > > # | #10 0x000058eb6dffda03 > > llvm::MachineFunctionPass::runOnFunction(llvm::Function&) > > (/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc+0x7379a03) > > # | #11 0x000058eb6e572beb > > llvm::FPPassManager::runOnFunction(llvm::Function&) > > (/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc+0x78eebeb) > > # | #12 0x000058eb6e57ac62 llvm::FPPassManager::runOnModule(llvm::Module&) > > (/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc+0x78f6c62) > > # | #13 0x000058eb6e57370a > > llvm::legacy::PassManagerImpl::run(llvm::Module&) > > (/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc+0x78ef70a) > > # | #14 0x000058eb6bd579ef compileModule(char**, > > llvm::SmallVectorImpl<llvm::PassPlugin>&, llvm::LLVMContext&, > > std::__cxx11::basic_string<char, std::char_traits<char>, > > std::allocator<char>>&) llc.cpp:0:0 > > # | #15 0x000058eb6bd54cc3 main > > (/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc+0x50d0cc3) > > # | #16 0x000074338182a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca) > > # | #17 0x000074338182a28b __libc_start_main > > (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b) > > ... > > ``` > > Seems like MOV32ri64 is not valid for EGPR register now, do you think it > should be fixed to valid now? Or maybe I can avoid using it in the new added > littest first? @RKSimon @phoebewang
I created https://github.com/llvm/llvm-project/pull/184550 to fix this. https://github.com/llvm/llvm-project/pull/180242 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
