[PATCH] D22639: Add flag to PassManagerBuilder to disable GVN Hoist Pass.
Sebastian Pop via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 21 13:07:35 PDT 2016
sebpop added a subscriber: sebpop.
sebpop added a comment.
We already have a flag to disable the GVN-hoist pass:
static cl::opt<int>
MaxHoistedThreshold("gvn-max-hoisted", cl::Hidden, cl::init(-1),
cl::desc("Max number of instructions to hoist "
"(default unlimited = -1)"));
Please add "-mllvm -gvn-max-hoisted=0" to the failing tests.
https://reviews.llvm.org/D22639
More information about the llvm-commits
mailing list