blob: cb29457d6f3d54a1e47ea5d2235df049af099d7d [file] [log] [blame]
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt %s -passes=scalarizer -S -o - | FileCheck %s
define <vscale x 1 x i32> @test1(<vscale x 1 x i32> %a, <vscale x 1 x i32> %b) {
; CHECK-LABEL: @test1(
; CHECK-NEXT: [[R:%.*]] = add <vscale x 1 x i32> [[A:%.*]], [[B:%.*]]
; CHECK-NEXT: ret <vscale x 1 x i32> [[R]]
;
%r = add <vscale x 1 x i32> %a, %b
ret <vscale x 1 x i32> %r
}