[llvm] AMDGPU: Match and Select BITOP3 on gfx950 (PR #117843)
Vladimir Vereschaka via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 27 15:08:50 PST 2024
vvereschaka wrote:
Hi @arsenm ,
here is a problem with `bitop3.ll` test of the expensive test builders
* https://lab.llvm.org/buildbot/#/builders/187/builds/2801
```
*** Bad machine code: illegal copy from vector register to SGPR ***
- function: uniform_4_op
- basic block: %bb.0 (0x55cc20ecdc48)
- instruction: %7:sreg_32 = COPY killed %10:vgpr_32
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.
Stack dump:
0. Program arguments: /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc -global-isel -march=amdgcn -mcpu=gfx950
1. Running pass 'CallGraph Pass Manager' on module '<stdin>'.
2. Running pass 'Verify generated machine code' on function '@uniform_4_op'
#0 0x000055cbf4868a0c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/Support/Unix/Signals.inc:723:22
#1 0x000055cbf4868e2d PrintStackTraceSignalHandler(void*) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/Support/Unix/Signals.inc:798:1
#2 0x000055cbf486627d llvm::sys::RunSignalHandlers() /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/Support/Signals.cpp:105:20
#3 0x000055cbf48682a4 SignalHandler(int) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/Support/Unix/Signals.inc:413:1
#4 0x00007f13cdde4520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#5 0x00007f13cde389fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
#6 0x00007f13cdde4476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
#7 0x00007f13cddca7f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
#8 0x000055cbf478d463 llvm::report_fatal_error(llvm::Twine const&, bool) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/Support/ErrorHandling.cpp:126:9
#9 0x000055cbf32af872 (anonymous namespace)::MachineVerifier::ReportedErrors::~ReportedErrors() /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/CodeGen/MachineVerifier.cpp:262:33
#10 0x000055cbf32afa0c (anonymous namespace)::MachineVerifier::~MachineVerifier() /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/CodeGen/MachineVerifier.cpp:102:8
#11 0x000055cbf32afb57 (anonymous namespace)::MachineVerifierLegacyPass::runOnMachineFunction(llvm::MachineFunction&) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/CodeGen/MachineVerifier.cpp:389:12
#12 0x000055cbf3129b05 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:94:33
#13 0x000055cbf3a0d420 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1406:20
#14 0x000055cbf2811d07 (anonymous namespace)::CGPassManager::RunPassOnSCC(llvm::Pass*, llvm::CallGraphSCC&, llvm::CallGraph&, bool&, bool&) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:17
#15 0x000055cbf2812df1 (anonymous namespace)::CGPassManager::RunAllPassesOnSCC(llvm::CallGraphSCC&, llvm::CallGraph&, bool&) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:469:21
#16 0x000055cbf2813248 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:534:15
#17 0x000055cbf3a0dc51 (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1521:20
#18 0x000055cbf3a08b11 llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:539:13
#19 0x000055cbf3a0e59b llvm::legacy::PassManager::run(llvm::Module&) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1649:1
#20 0x000055cbef89b0ef compileModule(char**, llvm::LLVMContext&) /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/tools/llc/llc.cpp:753:34
#21 0x000055cbef8988c3 main /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/tools/llc/llc.cpp:411:35
#22 0x00007f13cddcbd90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#23 0x00007f13cddcbe40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#24 0x000055cbef897465 _start (/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc+0xd1d465)
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/CodeGen/AMDGPU/bitop3.ll:263:14: error: GCN-LABEL: expected string not found in input
; GCN-LABEL: uniform_4_op:
```
https://github.com/llvm/llvm-project/pull/117843
More information about the llvm-commits
mailing list