I think it reduces verbosity and improves readability. I've made it an option because it might not be to everyone's taste, and also this breaks pure C89 support, though I suspect this is available as an extension in many non-C99 compilers.
Of course, this is quite simple code. (I chose it as an example because it's reasonably short.) In practice, the benefit is of course particularly pronounced for large functions with many instructions.
I think it reduces verbosity and improves readability. I've made it an option because it might not be to everyone's taste, and also this breaks pure C89 support, though I suspect this is available as an extension in many non-C99 compilers.
Example output without the change:
Example with the change:
It looks even better with https://github.com/JuliaComputing/llvm-cbe/pull/95:
Of course, this is quite simple code. (I chose it as an example because it's reasonably short.) In practice, the benefit is of course particularly pronounced for large functions with many instructions.