[PATCH] D22639: Add flag to PassManagerBuilder to disable GVN Hoist Pass.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 11:45:17 PDT 2016


davide added a subscriber: davide.
davide added a comment.

You might want to add a `cl::opt` to control the behavior as load-combine does, maybe?
See in `IPO/PassManagerBuilder.cpp`

  static cl::opt<bool> RunLoadCombine("combine-loads", cl::init(false),
                                      cl::Hidden,
                                      cl::desc("Run the load combining pass"));


https://reviews.llvm.org/D22639





More information about the llvm-commits mailing list