[PATCH] D15676: [attrs] Extract the pure inference of function attributes into a standalone pass.

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 21 09:43:37 PST 2015


probinson added a subscriber: probinson.

================
Comment at: lib/Transforms/IPO/InferFunctionAttrs.cpp:926
@@ +925,3 @@
+  if (!inferAllPrototypeAttributes(M, TLI))
+    // If we didn't infer everything, preserve all analyses.
+    return PreservedAnalyses::all();
----------------
s/everything/anything/


http://reviews.llvm.org/D15676





More information about the llvm-commits mailing list