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>
On Thu, Apr 8, 2010 at 5:48 AM, Jagadish Bihani <jagadishb at cse.iitb.ac.in> wrote:> 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.The gvnpre pass is unmaintained, and has been removed for LLVM 2.7. -Eli