1 ; RUN: llc < %s -march=mipsel -verify-machineinstrs
2 ; Make sure machine verifier understands the last instruction of a basic block
3 ; is not the terminator instruction after delay slot filler pass is run.
5 @g = external global i32
7 define void @foo() nounwind {
9 %0 = load i32, ptr @g, align 4
10 %tobool = icmp eq i32 %0, 0
11 br i1 %tobool, label %if.end, label %if.then
13 if.then: ; preds = %entry
14 %add = add nsw i32 %0, 10
15 store i32 %add, ptr @g, align 4
18 if.end: ; preds = %entry, %if.then