if not added FU abs_add_and... error generated
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_
*** Compile: main.c
tcecc main.c -O3 -I. -DTCE -DMEMORY_INPUT -DSPECIAL_
*** Linking givens.o main.o
tcecc -O3 -I. -DTCE -DMEMORY_INPUT -DSPECIAL_
*** Scheduling
tcecc -O3 -I. -DTCE -DMEMORY_INPUT -DSPECIAL_
Included from /tmp/tcecc-
/usr/local/
def : Pat<(i1 (select R1Regs:$c, (i1 0), (i1 -1))), (XORbbj R1Regs:$c, 1)>;
Error compiling '/tmp/tcecc-
LLVMBackend.cc:731 'Failed to build compiler plugin for target architecture.
Failed command was: llvm-tblgen -I/usr/
make: *** [main.tpef] Error 1
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.