function instead of 'goto' in C backend

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

function instead of 'goto' in C backend

Seung Jae Lee
Hello, guys.
You know LLVM C backend emits 'goto' statement for branching, being based on the bytecode which is composed of units of the basic block.

Therefore, I wonder if it would be hard to modify the C backend so as to spits out functions instead of 'goto' statements for branching.

I'm just a novice so I have no good sense on this if this would be feasible.
How do you think of this, guys?

Thanks,
Seung J. Lee
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev