This fixes a crasher introduced by r372338.
In the description of the git commit:
Tags: #llvm Differential Revision: https://reviews.llvm.org/D67785 Tighten up the test case. <---- stray comment
(I usually also delete the Subscribers: and Tags: #llvm lines before committing. I feel they just occupy space.)
The test file needs a lot of improvement - its missing a RUN line so isn't actually tested, most of the attributes/metadata can probably be ditched, and surely it should be in test/CodeGen/X86/GlobalIsel ?