[LLVMdev] how to eliminate dead infinite loops?
rafael.espindola at gmail.com
Mon Nov 29 04:33:03 PST 2010
> a function attribute would be suboptimal if you inline C++ code into an
> Ada function or vice versa, though it could be made to be conservatively
It would be ok for C being inlined into ADA since ADA is the more
restrictive one. If we inline any ADA function with loops into a C++
one we would have to drop the attribute from the caller.
To do better we would have to mark the loops. That looks a bit harder
to track :-)
More information about the llvm-dev