[PATCH] D33108: Generate extra .ll files before/after optimization when using -save-temps.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 31 17:28:38 PDT 2017


tra added inline comments.


================
Comment at: lib/Driver/Driver.cpp:2600-2603
+      // When saving temps, add extra actions to write unoptimized and optimized
+      // IR besides the normal bitcode outputs if possible. This is not possible
+      // for multi-arch builds because in these builds we check that we can lipo
+      // all action outputs.
----------------
I'm not sure I understand why unoptimized IR can't be written out for multi-arch builds like CUDA. Could you elaborate?


https://reviews.llvm.org/D33108





More information about the cfe-commits mailing list