[PATCH] D21180: [IPRA] Interprocedural Register Allocation - Transformation Pass

Chad Rosier via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 10 07:01:44 PDT 2016


mcrosier added inline comments.

================
Comment at: lib/CodeGen/RegUsageInfoPropagate.cpp:74
@@ +73,3 @@
+INITIALIZE_PASS_BEGIN(RegUsageInfoPropagationPass,
+                      "RegUsageInfoPropagationPass",
+                      "Register Usage Information Propagation", false, false)
----------------
The second argument to INITIALIZE_PASS_BEGIN/END is used to specify the name of the command-line option passed to llc/opt to enable this pass.  Generally, this is all lower case with dashes are used for spacing (e.g., "peephole-opt", "machine-sink", "if-converter").  We should decide upon a name that uses this convention (e.g., "reg-usage-propagation").


http://reviews.llvm.org/D21180





More information about the llvm-commits mailing list