[LLVMdev] LLVM opt GVN.cpp

Bob Wilson bob.wilson at apple.com
Wed Oct 1 09:45:17 PDT 2014

> 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.

More information about the llvm-dev mailing list