doubt regarding gvnpre


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,

sample_pre.c (238 Bytes)

The gvnpre pass is unmaintained, and has been removed for LLVM 2.7.