[LLVMdev] SimplifyCFG
Andre Tavares
andrelct at dcc.ufmg.br
Fri Aug 28 10:11:42 PDT 2009
Hello,
in the description of SimplifyCFG, it says that it can "Eliminates PHI
nodes for basic blocks with a single predecessor."
I tested this pass with a program that has phi nodes with a single
predecessor and it did not remove it. I also looked in the code and
found nothing to remove it. I'm I missing something, or it does not
remove phis with a single predecessor?
My sample is attached.
--
Andre Tavares
Master Student in Computer Science - UFMG - Brasil
http://dcc.ufmg.br/~andrelct
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.o
Type: application/x-object
Size: 1024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090828/9135492e/attachment.o>
More information about the llvm-dev
mailing list