Issue |
149666
|
Summary |
[Xtensa] `CodeGen/Xtensa/select-cc-fp.ll` test fails with assertions
|
Labels |
new issue
|
Assignees |
andreisfr
|
Reporter |
mgorny
|
I haven't tested prior to 265fb3605d1d070a004fd4d9db54ad2ae6f722c7, but I'm guessing it failed from day one.
```
FAIL: LLVM :: CodeGen/Xtensa/select-cc-fp.ll (30017 of 59592)
******************** TEST 'LLVM :: CodeGen/Xtensa/select-cc-fp.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/llc -mtriple=xtensa -mattr=+fp -disable-block-placement -verify-machineinstrs < /var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm/test/CodeGen/Xtensa/select-cc-fp.ll | /var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/FileCheck /var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm/test/CodeGen/Xtensa/select-cc-fp.ll # RUN: at line 2
+ /var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/llc -mtriple=xtensa -mattr=+fp -disable-block-placement -verify-machineinstrs
+ /var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/FileCheck /var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm/test/CodeGen/Xtensa/select-cc-fp.ll
llc: /var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:4398: bool {anonymous}::SelectionDAGLegalize::ExpandNode(llvm::SDNode*): Assertion `!NeedInvert && "Don't know how to invert BR_CC!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/llc -mtriple=xtensa -mattr=+fp -disable-block-placement -verify-machineinstrs
1. Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'Xtensa DAG->DAG Pattern Instruction Selection' on function '@brcc_ueq'
#0 0xffffffffed2b0230 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/../lib/libLLVM.so.22.0gitbaf29530+0x10d3230)
#1 0xffffffffed2b07bf PrintStackTraceSignalHandler(void*) Signals.cpp:0:0
#2 0xffffffffed2acc05 llvm::sys::RunSignalHandlers() (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/../lib/libLLVM.so.22.0gitbaf29530+0x10cfc05)
#3 0xffffffffed2acdaf SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#4 0xfffffffff7f6b5a0 (linux-gate.so.1+0x5a0)
#5 0xfffffffff7f6b579 (linux-gate.so.1+0x579)
#6 0xffffffffebd87c57 (/usr/lib/libc.so.6+0x94c57)
#7 0xffffffffebd2c141 raise (/usr/lib/libc.so.6+0x39141)
#8 0xffffffffebd12dd9 abort (/usr/lib/libc.so.6+0x1fdd9)
#9 0xffffffffebd12d26 __assert_perror_fail (/usr/lib/libc.so.6+0x1fd26)
#10 0xffffffffebd2416b __assert_fail (/usr/lib/libc.so.6+0x3116b)
#11 0xffffffffec80f49c (anonymous namespace)::SelectionDAGLegalize::ExpandNode(llvm::SDNode*) (.cold) LegalizeDAG.cpp:0:0
#12 0xffffffffede31449 .L7338 LegalizeDAG.cpp:0:0
#13 0xffffffffede345a1 llvm::SelectionDAG::Legalize() (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/../lib/libLLVM.so.22.0gitbaf29530+0x1c575a1)
#14 0xffffffffee04c2d2 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/../lib/libLLVM.so.22.0gitbaf29530+0x1e6f2d2)
#15 0xffffffffee050102 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/../lib/libLLVM.so.22.0gitbaf29530+0x1e73102)
#16 0xffffffffee051c31 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/../lib/libLLVM.so.22.0gitbaf29530+0x1e74c31)
#17 0xfffffffff287bed7 (anonymous namespace)::XtensaDAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&) XtensaISelDAGToDAG.cpp:0:0
#18 0xffffffffee03fc2a llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/../lib/libLLVM.so.22.0gitbaf29530+0x1e62c2a)
#19 0xffffffffed8aff7b llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/../lib/libLLVM.so.22.0gitbaf29530+0x16d2f7b)
#20 0xffffffffed4af575 llvm::FPPassManager::runOnFunction(llvm::Function&) (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/../lib/libLLVM.so.22.0gitbaf29530+0x12d2575)
#21 0xffffffffed4af766 llvm::FPPassManager::runOnModule(llvm::Module&) (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/../lib/libLLVM.so.22.0gitbaf29530+0x12d2766)
#22 0xffffffffed4b00ad llvm::legacy::PassManagerImpl::run(llvm::Module&) (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/../lib/libLLVM.so.22.0gitbaf29530+0x12d30ad)
#23 0x565f00d6 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
#24 0x565e3968 main (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/llc+0x13968)
#25 0xffffffffebd15103 (/usr/lib/libc.so.6+0x22103)
#26 0xffffffffebd151c8 __libc_start_main (/usr/lib/libc.so.6+0x221c8)
#27 0x565e4577 _start (/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm_build-abi_x86_32.x86/bin/llc+0x14577)
/var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm/test/CodeGen/Xtensa/select-cc-fp.ll:198:16: error: CHECK-LABEL: expected string not found in input
; CHECK-LABEL: brcc_ord:
^
<stdin>:150:10: note: scanning from here
brcc_one: # @brcc_one
^
<stdin>:175:10: note: possible intended match here
.global brcc_ord # -- Begin function brcc_ord
^
Input file: <stdin>
Check file: /var/tmp/portage/llvm-core/llvm-22.0.0.9999/work/llvm/test/CodeGen/Xtensa/select-cc-fp.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
145: .literal .LCPI5_1, 1082130432
146: .text
147: .global brcc_one # -- Begin function brcc_one
148: .p2align 2
149: .type brcc_one,@function
150: brcc_one: # @brcc_one
label:198'0 X~~~~~~~~~~~~ error: no match found
151: # %bb.0:
label:198'0 ~~~~~~~~~
152: wfr f8, a3
label:198'0 ~~~~~~~~~~~~
153: wfr f9, a2
label:198'0 ~~~~~~~~~~~~
154: ueq.s b0, f9, f8
label:198'0 ~~~~~~~~~~~~~~~~~~
155: bt b0, .LBB5_2
label:198'0 ~~~~~~~~~~~~~~~~
.
.
.
170: # -- End function
label:198'0 ~~~~~~~~~~~~~~~~~~~
171: .literal_position
label:198'0 ~~~~~~~~~~~~~~~~~~~
172: .literal .LCPI6_0, 1090519040
label:198'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
173: .literal .LCPI6_1, 1082130432
label:198'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174: .text
label:198'0 ~~~~~~~
175: .global brcc_ord # -- Begin function brcc_ord
label:198'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:198'1 ? possible intended match
176: .p2align 2
label:198'0 ~~~~~~~~~~~~
177: .type brcc_or
label:198'0 ~~~~~~~~~~~~~~
>>>>>>
--
********************
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs