Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

25 lines
517 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -instcombine -S | FileCheck %s
; Provide legal integer types.
target datalayout = "n8:16:32:64"
define void @PR21651() {
; CHECK-LABEL: @PR21651(
; CHECK-NEXT: switch i1 false, label %out [
; CHECK-NEXT: i1 false, label %out
; CHECK-NEXT: i1 true, label %out
; CHECK-NEXT: ]
; CHECK: out:
; CHECK-NEXT: ret void
;
switch i2 0, label %out [
i2 0, label %out
i2 1, label %out
]
out:
ret void
}