reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    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()