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

Alina Sbirlea via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 13:21:32 PDT 2016


asbirlea added a comment.

To clarify, the tests in question are not upstreamed to the LLVM test suite, so there's nothing to disable here.
There is currently a work-around in Halide that is fairly ugly IMO (https://github.com/halide/Halide/blob/master/src/CodeGen_LLVM.cpp#L971). 
Halide explicitly creates and invokes the PassManagerBuilder, so that's where having the disable option would be useful.


https://reviews.llvm.org/D22639





More information about the llvm-commits mailing list