Displaying 1 result from an estimated 1 matches for "function_0".
Did you mean:
function_b
2010 Jan 28
1
[LLVMdev] question when -march=mips
Hi everyone
The c code is like below
extern int function_0(int, int);
int main(){
return function_0(8, 9);
}
I compile it as below
llvm-gcc main.c -emit-llvm -c -O3 -o main.bc
llc main.bc -relocation-model=static -march=mips -O0 -o main.s
It seems no argument is provided to function_0
...
addiu $sp, $sp, -8
sw $...