[PATCH] D30751: [MachineCopyForwarding] Add new pass to do register COPY forwarding at end of register allocation.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 8 12:13:46 PST 2017
arsenm added inline comments.
================
Comment at: lib/CodeGen/MachineCopyForwarding.cpp:57
+
+#define DEBUG_TYPE "machine-copyfwd"
+
----------------
I think having this more exactly match the pass name is better. machine-copy-forwarding
================
Comment at: lib/CodeGen/MachineCopyForwarding.cpp:110
+
+INITIALIZE_PASS_BEGIN(MachineCopyForwarding, "machine-copyfwd",
+ "Machine Copy Forwarding Pass", false, false)
----------------
Use DEBUG_TYPE instead of repeating
https://reviews.llvm.org/D30751
More information about the llvm-commits
mailing list