Mercurial > hg > CbC > CbC_llvm
view polly/test/ScopInfo/constant-non-integer-branch-condition.ll @ 252:1f2b6ac9f198 llvm-original
LLVM16-1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 09:04:13 +0900 |
parents | c4bab56944e8 |
children |
line wrap: on
line source
; RUN: opt %loadPolly -polly-print-scops -disable-output < %s | FileCheck %s ; ; At some point this caused a problem in the domain generation as we ; assumed any constant branch condition to be valid. However, only constant ; integers are interesting and can be handled. ; ; CHECK: Stmt_entry_split__TO__cleanup ; target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; Function Attrs: nounwind uwtable define i32 @main(ptr %A) #0 { entry: br label %entry.split entry.split: ; preds = %entry br i1 icmp ne (ptr @test_weak, ptr null), label %if.then, label %cleanup if.then: ; preds = %entry.split store i32 0, ptr %A br label %cleanup cleanup: ; preds = %if.then, %entry.split ret i32 0 } declare extern_weak i32 @test_weak(...)