<div>Hi everyone</div>
<div> </div>
<div>The c code is like below</div>
<div> </div>
<div>extern int function_0(int, int);</div>
<div> </div>
<div>int main(){</div>
<div> return function_0(8, 9);</div>
<div>}</div>
<div> </div>
<div>I compile it as below</div>
<div> </div>
<div>llvm-gcc main.c -emit-llvm -c -O3 -o main.bc</div>
<div>llc main.bc -relocation-model=static -march=mips -O0 -o main.s</div>
<div> </div>
<div>It seems no argument is provided to function_0</div>
<div> </div>
<div> ...</div>
<div> addiu $sp, $sp, -8</div>
<div> sw $ra, 0($sp)</div>
<div> jal function_0</div>
<div> nop</div>
<div> ...</div>
<div> </div>
<div>What's the reason?</div>
<div> </div>
<div>Thanks</div>
<div> </div>