> On Sep 30, 2014, at 10:37 PM, GangRyung Uh <guh at boisestate.edu> wrote: > > > Hi, > > I wonder what PRE algorithm is used for the GVN.cpp in LLVM. Any reference will be appreciated. GVN does not implement any real PRE algorithm. There is some ad-hoc code to catch some simple cases, but that’s all.