[PATCH] D32999: [UnreachableBlockElim] Check return value of constrainRegClass().

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 08:04:55 PDT 2017


kparzysz accepted this revision.
kparzysz added a comment.
This revision is now accepted and ready to land.

LGTM with an update to the comment.



================
Comment at: lib/CodeGen/UnreachableBlockElim.cpp:213
           } else {
             // The input register to the PHI has a subregister:
             // insert a COPY instead of simply replacing the output
----------------
You should update the comment as well.


https://reviews.llvm.org/D32999





More information about the llvm-commits mailing list