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