[PATCH] D22639: Add flag to PassManagerBuilder to disable GVN Hoist Pass.
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 29 09:19:16 PDT 2016
hans added a comment.
In https://reviews.llvm.org/D22639#500689, @probinson wrote:
> This means to enable the pass in opt I need to do both `-enable-gvn-hoist` and `-O1` which is not usual for opt. (For example I need just `-dce` to get DCE.) Is that the intent?
I thought opt didn't use PassManagerBuilder, but added passes through some other magic. I don't actually know that this is how it works, but I assumed it was something like it, because test/Transforms/GVN/hoist.ll still just runs "opt -gvn-hoist" and it seems to work.
Repository:
rL LLVM
https://reviews.llvm.org/D22639
More information about the llvm-commits
mailing list