22 lines · plain
1; RUN: opt %loadNPMPolly -S '-passes=polly<no-default-opts>' < %s | FileCheck %s2 3; CHECK: polly.start4 5target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-a0:0-n32"6 7define void @fixup_gotos(ptr %A, ptr %data) nounwind {8entry:9 br label %if10 11if:12 %cond = icmp eq ptr %A, null13 br i1 %cond, label %last, label %then14 15then:16 store i32 1, ptr %data, align 417 br label %last18 19last:20 ret void21}22