1 ; RUN: opt %loadPolly -analyze -polly-scops %s | FileCheck %s
3 ; At some point this caused a problem in the domain generation as we
4 ; assumed any constant branch condition to be valid. However, only constant
5 ; integers are interesting and can be handled.
7 ; CHECK: Stmt_entry_split__TO__cleanup
9 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
11 ; Function Attrs: nounwind uwtable
12 define i32 @main(i32* %A) #0 {
16 entry.split: ; preds = %entry
17 br i1 icmp ne (i32 (...)* @test_weak, i32 (...)* null), label %if.then, label %cleanup
19 if.then: ; preds = %entry.split
23 cleanup: ; preds = %if.then, %entry.split
27 declare extern_weak i32 @test_weak(...)