Hahnfeld added a comment. LGTM. The change for `__kmpc_for_static_fini` may be applied to much more functions. I don't know whether this is relevant for the performance or the compiler is smart enough... http://reviews.llvm.org/D13502