[LLVMdev] a pseudo instruction - code modified

Seung Jae Lee lee225 at uiuc.edu
Fri Feb 2 08:50:17 PST 2007


Oh.. I am sorry. I missed one.

If I code a simple function like this: 

void sum(int i, int j) 
{ 
   int k; 
   k = i + j; 
} 

On the assembly mnemonics, it should be shown as follows: 

Enter sum;  i,j, _mem_sync:1
reg k 
add i,j;k 
Exit sum; _mem_sync:1

I missed "_mem_sync" part. Sorry.



More information about the llvm-dev mailing list