aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Transforms/Scalarizer/ignore-scalable-vectors.ll
blob: cb29457d6f3d54a1e47ea5d2235df049af099d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
; 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
}