Displaying 1 result from an estimated 1 matches for "picoblazeinstrinfo".
2013 Jan 18
0
[LLVMdev] llvm backend porting question ,
...imple C program:
eg :
int f1(int a)
{
return a+1;
}
but it failed with this :
char f()
{
char a;
a++; a++; a++; a++; a++; a++; a++; a++; a++; a++; a++;
a++; a++; a++; a++; a++; a++; a++; a++; a++; a++; a++;
return a;
}
I think something is wrong with
PicoblazeInstrInfo::storeRegToStackSlot and
PicoblazeInstrInfo::loadRegFromStackSlot ,since if I remove some
a++ from the above c program,
It can generate the right picoblaze asm code .
below is my code , the whole porting with this error can by found at github :
https://github.com/huangjielg/llvm-picoblaze/tree/a...