1 ; RUN: opt < %s -instcombine -S | FileCheck %s 2 3 ; Provide legal integer types. 4 target datalayout = "n8:16:32:64" 5 6 7 define void @PR21651() { 8 switch i2 0, label %out [ 9 i2 0, label %out 10 i2 1, label %out 11 ] 12 13 out: 14 ret void 15 } 16 17 ; CHECK-LABEL: define void @PR21651( 18 ; CHECK: switch i2 0, label %out [ 19 ; CHECK: i2 0, label %out 20 ; CHECK: i2 1, label %out 21 ; CHECK: ] 22 ; CHECK: out: ; preds = %0, %0, %0 23 ; CHECK: ret void 24 ; CHECK: } 25