[PATCH] D48154: [VirtRegRewriter] Avoid clobbering registers when expanding copy bundles

Justin Bogner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 13 23:09:44 PDT 2018


bogner marked 3 inline comments as done.
bogner added inline comments.


================
Comment at: lib/CodeGen/VirtRegMap.cpp:428
+          continue;
+        const auto &SrcReg = Src->getOperand(1).getReg();
+        const auto &DstReg = Dst->getOperand(0).getReg();
----------------
MatzeB wrote:
> `unsigned SrcReg` instead of `const auto&`?
No longer relevant now that we use regsOverlap().


https://reviews.llvm.org/D48154





More information about the llvm-commits mailing list