1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -passes=instcombine -S | FileCheck %s
5 ; CHECK-LABEL: @iszero(
7 ; CHECK-NEXT: ret i1 false
10 %0 = call i32 @llvm.vscale.i32()
11 %1 = icmp eq i32 %0, 0
15 define i1 @iszero_range() vscale_range(1,16) {
16 ; CHECK-LABEL: @iszero_range(
18 ; CHECK-NEXT: ret i1 false
21 %0 = call i32 @llvm.vscale.i32()
22 %1 = icmp eq i32 %0, 0
26 declare i32 @llvm.vscale.i32()