1 ; RUN: llc < %s -mtriple=i686-pc-linux -mattr=+rtm -verify-machineinstrs -stop-after=finalize-isel | FileCheck %s
5 ; CHECK: successors: %bb.3(0x40000000), %bb.4(0x40000000)
6 ; CHECK: %0:gr32 = MOV32rm %fixed-stack.0, 1, $noreg, 0, $noreg :: (load (s32) from %fixed-stack.0, align 16)
7 ; CHECK: %1:gr32 = SUB32ri %0, 1, implicit-def $eflags
8 ; CHECK: XBEGIN_4 %bb.4, implicit-def $eax
10 ; CHECK: successors: %bb.5(0x80000000)
11 ; CHECK: liveins: $eflags
12 ; CHECK: %3:gr32 = MOV32ri -1
15 ; CHECK: successors: %bb.5(0x80000000)
16 ; CHECK: liveins: $eflags
17 ; CHECK: XABORT_DEF implicit-def $eax
18 ; CHECK: %4:gr32 = COPY $eax
20 ; CHECK: successors: %bb.1(0x40000000), %bb.2(0x40000000)
21 ; CHECK: liveins: $eflags
22 ; CHECK: %2:gr32 = PHI %3, %bb.3, %4, %bb.4
23 ; CHECK: JCC_1 %bb.2, 5, implicit $eflags
26 declare i32 @llvm.x86.xbegin() #0
28 define void @wobble.12(i32 %tmp116) {
29 bb107: ; preds = %bb42
30 %tmp117 = icmp eq i32 %tmp116, 1
31 %tmp127 = tail call i32 @llvm.x86.xbegin() #0
32 br i1 %tmp117, label %bb129, label %bb250
34 bb129: ; preds = %bb107
37 bb250: ; preds = %bb107