1 ; RUN: opt < %s -newgvn -S | FileCheck %s
5 define i32 @test1(i32 %arg) {
6 %cmp = icmp sge i32 %arg, 5
7 call void @llvm.assume(i1 %cmp)
13 define i32 @test2(i32 %arg, i1 %b) {
17 %a = phi i32 [ 1, %0 ], [ 2, %bb ]
18 %cmp = icmp eq i32 %arg, %a
19 call void @llvm.assume(i1 %cmp)
20 br i1 %b, label %bb, label %end
26 declare void @llvm.assume(i1 %cond)