TCE

if not added FU abs_add_and... error generated

Bug #1260920 reported by Vinogradov Viacheslav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TCE
New
Wishlist
Unassigned

Bug Description

When FU(abs_add, or any integer add,and) is not added next error is appeared
*** Compile: givens.c
tcecc givens.c -O3 -I. -DTCE -DMEMORY_INPUT -DSPECIAL_OPERATION_OUTPUT -DLONGLONGEMUL --emit-llvm -c -o givens.o
*** Compile: main.c
tcecc main.c -O3 -I. -DTCE -DMEMORY_INPUT -DSPECIAL_OPERATION_OUTPUT -DLONGLONGEMUL --emit-llvm -c -o main.o
*** Linking givens.o main.o
tcecc -O3 -I. -DTCE -DMEMORY_INPUT -DSPECIAL_OPERATION_OUTPUT -DLONGLONGEMUL --emit-llvm givens.o main.o -o main.bc
*** Scheduling
tcecc -O3 -I. -DTCE -DMEMORY_INPUT -DSPECIAL_OPERATION_OUTPUT -DLONGLONGEMUL --emit-llvm -a bus4_fp.adf -o main.tpef main.bc
Included from /tmp/tcecc-A32fcx/TCE.td:3:
/usr/local/include//TCEInstrInfo.td:330:54: error: Variable not defined: 'XORbbj'
def : Pat<(i1 (select R1Regs:$c, (i1 0), (i1 -1))), (XORbbj R1Regs:$c, 1)>;
                                                     ^
Error compiling '/tmp/tcecc-A32fcx/main.bc.intrinsics_lowered':
LLVMBackend.cc:731 'Failed to build compiler plugin for target architecture.
Failed command was: llvm-tblgen -I/usr/local/include/ -I/tmp/tcecc-A32fcx -I`llvm-config --includedir` -I`llvm-config --includedir`/Target -I`llvm-config --includedir`/llvm/Target -I/usr/include /tmp/tcecc-A32fcx/TCE.td -gen-register-info -o /tmp/tcecc-A32fcx/TCEGenRegisterInfo.inc'

make: *** [main.tpef] Error 1

Revision history for this message
Pekka Jääskeläinen (pekka-jaaskelainen) wrote :

Yep, the minimal operation set should be checked for a nicer error message before trying to build the backend in LLVMBackend. This can be added by using the MinimalOpSetCheck from src/applibs/mach.

Changed in tce:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.