dead basic blocks

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

dead basic blocks

Ryan M. Lefever
Am I correct that basic blocks, other than the entry basic block to a
function, are unreachable if has no uses, i.e., (bb->use_empty == true),
or are there exceptions to that rule?

Regards,
Ryan
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: dead basic blocks

Chris Lattner
On Mon, 27 Nov 2006, Ryan M. Lefever wrote:
> Am I correct that basic blocks, other than the entry basic block to a
> function, are unreachable if has no uses, i.e., (bb->use_empty == true),
> or are there exceptions to that rule?

That is right.

-Chris

--
http://nondot.org/sabre/
http://llvm.org/
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev