File: avoid_new_parameters_from_geps.ll

package info (click to toggle)
llvm-toolchain-13 1%3A13.0.1-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,418,840 kB
  • sloc: cpp: 5,290,826; ansic: 996,570; asm: 544,593; python: 188,212; objc: 72,027; lisp: 30,291; f90: 25,395; sh: 24,898; javascript: 9,780; pascal: 9,398; perl: 7,484; ml: 5,432; awk: 3,523; makefile: 2,913; xml: 953; cs: 573; fortran: 539
file content (68 lines) | stat: -rw-r--r-- 2,598 bytes parent folder | download | duplicates (5)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
;
; Check that we do no introduce a parameter here that is actually not needed.
;
; CHECK:      Region: %for.body58---%land.lhs.true
; CHECK-NEXT:     Max Loop Depth:  0
; CHECK-NEXT:     Invariant Accesses: {
; CHECK-NEXT:     }
; CHECK-NEXT:     Context:
; CHECK-NEXT:     {  :  }
; CHECK-NEXT:     Assumed Context:
; CHECK-NEXT:     {  :  }
; CHECK-NEXT:     Invalid Context:
; CHECK-NEXT:     {  : false }
; CHECK:          Arrays {
; CHECK-NEXT:         i32* MemRef_team2_0_in; // Element size 8
; CHECK-NEXT:     }
; CHECK-NEXT:     Arrays (Bounds as pw_affs) {
; CHECK-NEXT:         i32* MemRef_team2_0_in; // Element size 8
; CHECK-NEXT:     }
; CHECK-NEXT:     Alias Groups (0):
; CHECK-NEXT:         n/a
; CHECK-NEXT:     Statements {
; CHECK-NEXT:     	Stmt_if_then60
; CHECK-NEXT:             Domain :=
; CHECK-NEXT:                 { Stmt_if_then60[] };
; CHECK-NEXT:             Schedule :=
; CHECK-NEXT:                 { Stmt_if_then60[] -> [] };
; CHECK-NEXT:             MustWriteAccess :=	[Reduction Type: NONE] [Scalar: 1]
; CHECK-NEXT:                 { Stmt_if_then60[] -> MemRef_team2_0_in[] };
; CHECK-NEXT:     }
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

@sched = external global [18 x [15 x [3 x i32]]], align 16

; Function Attrs: nounwind uwtable
define void @common() #0 {
entry:
  br label %for.body36

for.body36:                                       ; preds = %entry
  br label %for.cond56.preheader

for.cond56.preheader:                             ; preds = %for.inc158, %for.body36
  %indvars.iv78 = phi i64 [ 0, %for.inc158 ], [ 1, %for.body36 ]
  br label %for.body58

for.body58:                                       ; preds = %for.cond56.preheader
  %cmp59 = icmp eq i32 1, 1
  br i1 %cmp59, label %if.then60, label %if.else71

if.then60:                                        ; preds = %for.body58
  %arrayidx70 = getelementptr inbounds [18 x [15 x [3 x i32]]], [18 x [15 x [3 x i32]]]* @sched, i64 0, i64 1, i64 %indvars.iv78, i64 1
  br label %land.lhs.true

if.else71:                                        ; preds = %for.body58
  br label %land.lhs.true

land.lhs.true:                                    ; preds = %if.else71, %if.then60
  %team2.0.in = phi i32* [ %arrayidx70, %if.then60 ], [ undef, %if.else71 ]
  br i1 undef, label %for.inc158, label %if.then86

if.then86:                                        ; preds = %land.lhs.true
  unreachable

for.inc158:                                       ; preds = %land.lhs.true
  br label %for.cond56.preheader
}