12 lines
418 B
LLVM
12 lines
418 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
|
; RUN: opt < %s -instcombine -S | FileCheck %s
|
|
|
|
define <vscale x 2 x i1> @sge(<vscale x 2 x i8> %x) {
|
|
; CHECK-LABEL: @sge(
|
|
; CHECK-NEXT: [[CMP:%.*]] = icmp sge <vscale x 2 x i8> [[X:%.*]], zeroinitializer
|
|
; CHECK-NEXT: ret <vscale x 2 x i1> [[CMP]]
|
|
;
|
|
%cmp = icmp sge <vscale x 2 x i8> %x, zeroinitializer
|
|
ret <vscale x 2 x i1> %cmp
|
|
}
|