Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

22 lines
340 B
LLVM

; RUN: opt %loadPolly -polly-detect -analyze < %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
}