• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt -instcombine -S < %s | FileCheck %s
2
3define i32 @test(i32 %x) {
4; CHECK-LABEL: @test
5entry:
6; CHECK-NOT: icmp
7; CHECK: br i1 undef,
8  %cmp = icmp ult i32 %x, 7
9  br i1 %cmp, label %merge, label %merge
10merge:
11; CHECK-LABEL: merge:
12; CHECK: ret i32 %x
13  ret i32 %x
14}
15
16
17