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
   32
   33
   34
   35
   36
; RUN: opt %loadPolly -polly-codegen -verify-region-info -verify-dom-info -S < %s | FileCheck %s

target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"

@A = common global [1536 x float] zeroinitializer

define void @loop_with_condition() nounwind {
bb0:
  fence seq_cst
  br label %bb1

bb1:
  br label %bb2

bb2:
  %ind1 = phi i32 [0, %bb1], [ %inc0, %bb2]
  %ptr = getelementptr [1536 x float], [1536 x float]* @A, i64 0, i32 %ind1
  store float undef, float* %ptr
  %inc0 = add i32 %ind1, 1
  %cond1 = icmp eq i32 %ind1, 32
  br i1 %cond1, label %bb4, label %bb2

bb4:
  br label %bb5

bb5:
  fence seq_cst
  ret void

}

; CHECK: polly.split_new_and_old
; CHECK: polly.merge_new_and_old