Move the EnableFullLoadPRE flag from a separate command-line option to an
authorBob Wilson <bob.wilson@apple.com>
Fri, 26 Feb 2010 19:09:47 +0000 (19:09 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 26 Feb 2010 19:09:47 +0000 (19:09 +0000)
commit8561dcd7306f4a4d45b1f2372e7cd40a753f2cc6
tree9fa0ff8b017d20b68486f15b29194f9a64a045d8
parentad597f99d997c2b4d598c8942e8c54008496beab
Move the EnableFullLoadPRE flag from a separate command-line option to an
argument of createGVNPass and set it automatically for -O3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97245 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/StandardPasses.h
include/llvm/Transforms/Scalar.h
lib/Transforms/Scalar/GVN.cpp