patrik.h.hagglund accepted this revision. patrik.h.hagglund added a comment. This revision is now accepted and ready to land. Using FPasses exactly when it is initialized (using the replaced condition at line 499) looks like the right thing to do. LGTM. http://reviews.llvm.org/D20725