[LLVMdev] doubt regarding gvnpre

Jagadish Bihani jagadishb at cse.iitb.ac.in
Thu Apr 8 05:48:18 PDT 2010


Hello,

I am doing a course project of "Adding the strength reduction in existing
GVNPRE implementation".
But the problem which I am facing is that for many sample programs I
tried, the "gvnpre" pass of opt doesn't perform PRE and it leaves the code
as it is.

This is my sample program
and it should do PRE on it but opt is not performing it.
Kindly help me out in this part.


Thanks and Regards,
Jagadish  Bihani
M.Tech 1 ,
Indian Institute of Technology Bombay,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample_pre.c
Type: text/x-csrc
Size: 217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100408/2dd93f22/attachment.c>


More information about the llvm-dev mailing list