Instead of just checking that we emit something. Differential Revision: https://reviews.llvm.org/D101940