[PATCH] D45926: Fix DISubprogram while extracting instructions out of function

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 26 11:04:49 PDT 2018


aprantl added inline comments.


================
Comment at: include/llvm/Transforms/Utils/Cloning.h:137
+    ModuleLevelChanges,
+    /// !ModuleLevelChanges
+    NoModuleLevelChanges,
----------------
Could you please comment that explains exactly what scenario this is supposed to be used for? The idea being that If we can't document the use-case precisely, we probably should not have this mode.


https://reviews.llvm.org/D45926





More information about the llvm-commits mailing list