[PATCH] D48102: Improve handling of COPY instructions with identical value numbers
Krzysztof Parzyszek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 20 05:49:56 PDT 2018
kparzysz added inline comments.
================
Comment at: lib/CodeGen/RegisterCoalescer.cpp:2873
+ LiveRange::iterator T = S.find(Def);
+ assert(Id != S.end() && T != S.end() && T->valno == Id->valno);
+#endif
----------------
tpr wrote:
> I now have a test case that hits this assert. I will investigate further.
It could be because of a basic block boundary between Def and OtherDef. You can probably delete this code under #ifndef NDEBUG.
Repository:
rL LLVM
https://reviews.llvm.org/D48102
More information about the llvm-commits
mailing list