Mercurial > hg > CbC > CbC_llvm
view polly/test/ScopDetect/switch-in-loop-patch.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-detect -disable-output < %s | FileCheck %s ; CHECK-NOT: Valid ; Verify that we do not detect loops where the loop latch is a switch statement. ; Such loops are not yet supported by Polly. define void @f() { b: br label %d d: switch i8 0, label %e [ i8 71, label %d i8 56, label %d ] e: ret void }