Meinersbur added a comment. The test case still does not fail when I undo the change in `ScopBuilder.cpp` Instead of `CHECK-NOT`, try a positive match (`CHECK-NEXT`) of all the instruction list that are supposed to be in there. https://reviews.llvm.org/D33768