[PATCH] D48102: Improve handling of COPY instructions with identical value numbers

Tim Renouf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 18 11:28:24 PDT 2018


tpr added inline comments.


================
Comment at: lib/CodeGen/RegisterCoalescer.cpp:2849
+          assert(Id != S.end());
+          LIS->extendToIndices(S, {Id->end, Q.endPoint()});
+        }
----------------
Why don't we need to extend to all the uses of the value we've just pruned?


Repository:
  rL LLVM

https://reviews.llvm.org/D48102





More information about the llvm-commits mailing list