File: 2005-05-08-FPStackifierPHI.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 (38 lines) | stat: -rw-r--r-- 1,985 bytes parent folder | download | duplicates (27)
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
; RUN: llc < %s -mtriple=i686-- -mcpu=generic
; Make sure LLC doesn't crash in the stackifier due to FP PHI nodes.

define void @radfg_() {
entry:
        br i1 false, label %no_exit.16.preheader, label %loopentry.0
loopentry.0:            ; preds = %entry
        ret void
no_exit.16.preheader:           ; preds = %entry
        br label %no_exit.16
no_exit.16:             ; preds = %no_exit.16, %no_exit.16.preheader
        br i1 false, label %loopexit.16.loopexit, label %no_exit.16
loopexit.16.loopexit:           ; preds = %no_exit.16
        br label %no_exit.18
no_exit.18:             ; preds = %loopexit.20, %loopexit.16.loopexit
        %tmp.882 = fadd float 0.000000e+00, 0.000000e+00         ; <float> [#uses=2]
        br i1 false, label %loopexit.19, label %no_exit.19.preheader
no_exit.19.preheader:           ; preds = %no_exit.18
        ret void
loopexit.19:            ; preds = %no_exit.18
        br i1 false, label %loopexit.20, label %no_exit.20
no_exit.20:             ; preds = %loopexit.21, %loopexit.19
        %ai2.1122.tmp.3 = phi float [ %tmp.958, %loopexit.21 ], [ %tmp.882, %loopexit.19 ]              ; <float> [#uses=1]
        %tmp.950 = fmul float %tmp.882, %ai2.1122.tmp.3          ; <float> [#uses=1]
        %tmp.951 = fsub float 0.000000e+00, %tmp.950             ; <float> [#uses=1]
        %tmp.958 = fadd float 0.000000e+00, 0.000000e+00         ; <float> [#uses=1]
        br i1 false, label %loopexit.21, label %no_exit.21.preheader
no_exit.21.preheader:           ; preds = %no_exit.20
        ret void
loopexit.21:            ; preds = %no_exit.20
        br i1 false, label %loopexit.20, label %no_exit.20
loopexit.20:            ; preds = %loopexit.21, %loopexit.19
        %ar2.1124.tmp.2 = phi float [ 0.000000e+00, %loopexit.19 ], [ %tmp.951, %loopexit.21 ]          ; <float> [#uses=0]
        br i1 false, label %loopexit.18.loopexit, label %no_exit.18
loopexit.18.loopexit:           ; preds = %loopexit.20
        ret void
}