RKSimon added a comment. Is there any chance that you can simplify the PR34635.ll test case that you committed? There's a lot of metadata/unnecessary code in there which is likely to make the testcase very brittle. https://reviews.llvm.org/D27846