smeenai added a comment. I'm gonna go ahead and commit this, since it's quite small and self-contained, and since Peter wrote the original code and is okay with the change. I can address any post-commit comments in a follow-up. https://reviews.llvm.org/D38112