File: pr46827.ll

package info (click to toggle)
llvm-toolchain-14 1%3A14.0.6-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,496,180 kB
  • sloc: cpp: 5,593,972; ansic: 986,872; asm: 585,869; python: 184,223; objc: 72,530; lisp: 31,119; f90: 27,793; javascript: 9,780; pascal: 9,762; sh: 9,482; perl: 7,468; ml: 5,432; awk: 3,523; makefile: 2,538; xml: 953; cs: 573; fortran: 567
file content (39 lines) | stat: -rw-r--r-- 1,443 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
; RUN: llc < %s -mtriple=i686-pc-linux -mattr=+rtm -verify-machineinstrs -stop-after=finalize-isel | FileCheck %s

; CHECK: body:             |
; CHECK:   bb.0.bb107:
; CHECK:     successors: %bb.3(0x40000000), %bb.4(0x40000000)
; CHECK:     %0:gr32 = MOV32rm %fixed-stack.0, 1, $noreg, 0, $noreg :: (load (s32) from %fixed-stack.0, align 16)
; CHECK:     %1:gr32 = SUB32ri8 %0, 1, implicit-def $eflags
; CHECK:     XBEGIN_4 %bb.4, implicit-def $eax
; CHECK:   bb.3.bb107:
; CHECK:     successors: %bb.5(0x80000000)
; CHECK:     liveins: $eflags
; CHECK:     %3:gr32 = MOV32ri -1
; CHECK:     JMP_1 %bb.5
; CHECK:   bb.4.bb107:
; CHECK:     successors: %bb.5(0x80000000)
; CHECK:     liveins: $eflags
; CHECK:     XABORT_DEF implicit-def $eax
; CHECK:     %4:gr32 = COPY $eax
; CHECK:   bb.5.bb107:
; CHECK:     successors: %bb.1(0x40000000), %bb.2(0x40000000)
; CHECK:     liveins: $eflags
; CHECK:     %2:gr32 = PHI %3, %bb.3, %4, %bb.4
; CHECK:     JCC_1 %bb.2, 5, implicit $eflags
; CHECK:     JMP_1 %bb.1

declare i32 @llvm.x86.xbegin() #0

define void @wobble.12(i32 %tmp116) {
bb107:                                            ; preds = %bb42
  %tmp117 = icmp eq i32 %tmp116, 1
  %tmp127 = tail call i32 @llvm.x86.xbegin() #0
  br i1 %tmp117, label %bb129, label %bb250

bb129:                                            ; preds = %bb107
  unreachable

bb250:                                            ; preds = %bb107
  unreachable
}