1 ; RUN: llc -march=x86 -mcpu=i486 < %s | FileCheck %s
2
3 define i32 @test1(i32 %g, i32* %j) {
4 %tobool = icmp eq i32 %g, 0
5 %cmp = load i32, i32* %j, align 4
6 %retval.0 = select i1 %tobool, i32 1, i32 %cmp
7 ret i32 %retval.0
8
9 ; CHECK-LABEL: test1:
10 ; CHECK-NOT: cmov
11 }
12