[llvm-commits] [llvm-gcc-4.2] r85835 - in /llvm-gcc-4.2/trunk/gcc: llvm-convert.cpp llvm-internal.h
Duncan Sands
baldrick at free.fr
Tue Nov 3 03:11:09 PST 2009
Hi Bob, thanks for doing this.
> +Constant *TreeToLLVM::EmitLV_LABEL_DECL(tree exp) {
> + // GCC kindly diverts labels for unreachable basic blocks to reachable blocks,
> + // so we are not obliged to output unreachable blocks even if the original
> + // code took the address of one.
this comment is only really relevant to dragonegg, which outputs basic basic
blocks in dom order (in order to translate phi nodes), and as a side-effect
only outputs reachable basic blocks.
Ciao,
Duncan.
More information about the llvm-commits
mailing list