Test Regression/CodeGen/X86/2004-02-08-UnwindSupport.llx fails #1010
Labels
backend:Sparc
bugzilla
Issues migrated from bugzilla
compile-fail
Use [accepts-invalid] and [rejects-valid] instead
Extended Description
This test (which is really a generic code generator test) fails on SparcV9 with
the following output:
Assertion failed: 0 && "*** SWITCH instruction is not implemented yet.", file
/home/vadve/criswell/rel16/llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp, line 3179
!****** Outputing Function: test ******
.section ".rodata",#alloc
.section ".text"
.align 4
.global test
.type test, 2
test:
.L_test_ltmp_0_1:
save %o6, -192, %o6
ba .L_test_l1_dounwind
nop
.L_test_l1_dounwind:
sethi %lm(llvm_2E_sjljeh_2E_jblist), %o0
sethi %hh(llvm_2E_sjljeh_2E_jblist), %o1
or %o1, %hm(llvm_2E_sjljeh_2E_jblist), %o1
sllx %o1, 32, %o1
or %o0, %o1, %o0
or %o0, %lo(llvm_2E_sjljeh_2E_jblist), %o0
ldx [%o0+0], %o0
brnz %o0, .L_test_l1_unwind
nop
ba .L_test_l1_unwinderror
nop
.L_test_l1_unwind:
sra %g0, 0, %o2
or %g0, 1, %o1
mulx %o2, 1608, %o2
add %o0, %o2, %o0
sra %g0, 0, %i0
sra %o1, 0, %o1
call longjmp
nop
jmpl %i7+8, %g0
restore %g0, 0, %g0
.L_test_l1_unwinderror:
sethi %lm(l2_abortmsg), %o1
sethi %hh(l2_abortmsg), %o3
or %g0, 2, %o0
sra %o0, 0, %o0
or %g0, 41, %o2
or %o3, %hm(l2_abortmsg), %o3
sllx %o3, 32, %o3
sra %o2, 0, %o2
or %o1, %o3, %o1
or %o1, %lo(l2_abortmsg), %o1
sra %g0, 0, %i0
call write
nop
call abort
nop
jmpl %i7+8, %g0
restore %g0, 0, %g0
.EndOf_test:
.size test, .EndOf_test-test
The text was updated successfully, but these errors were encountered: