File: only_non_affine_error_region.ll

package info (click to toggle)
llvm-toolchain-14 1%3A14.0.6-20
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,496,436 kB
  • sloc: cpp: 5,593,990; ansic: 986,873; 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,547; xml: 953; cs: 573; fortran: 567
file content (31 lines) | stat: -rw-r--r-- 918 bytes parent folder | download | duplicates (17)
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
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
;
; CHECK-NOT: polly.start
;
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

; Function Attrs: nounwind uwtable
define void @f(i32 %argc, i32* %A) #0 {
entry:
  br i1 undef, label %for.end, label %for.body

for.body:                                         ; preds = %entry
  br label %for.end

for.end:                                          ; preds = %for.body, %entry
  %i.2 = phi i32 [ 1, %entry ], [ 1, %for.body ]
  %cmp170 = icmp eq i32 %i.2, %argc
  br i1 %cmp170, label %if.then172, label %if.end174

if.then172:                                       ; preds = %for.end
  %0 = load i32, i32* %A
  tail call void @usage()
  br label %if.end174

if.end174:                                        ; preds = %if.then172, %for.end
  %idxprom175 = sext i32 %i.2 to i64
  ret void
}

; Function Attrs: nounwind uwtable
declare void @usage()