[PATCH] D20769: [IPRA] Interprocedural Register Allocation - Analysis Passes

Vivek Pandya via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 22:27:56 PDT 2016


vivekvpandya added inline comments.

================
Comment at: lib/CodeGen/RegUsageInfoCollector.cpp:128
@@ +127,3 @@
+
+  const Module *Mdl = MF.getFunction()->getParent();
+
----------------
mehdi_amini wrote:
> `Mdl` is not usual, `M` alone is more common (or sometimes `Mod`)
Ok I will take care for naming , but that would be not required if we are going with Function * , because MF.getFunction() would be enough.


http://reviews.llvm.org/D20769





More information about the llvm-commits mailing list