1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Transforms/Inline/inline-scalable.ll
Cullen Rhodes ed95f77522 [InlineCost] Fix scalable vectors in visitAlloca
Discovered as part of the VLS type work (see D85128).

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D85848
2020-08-17 10:34:27 +00:00

12 lines
282 B
LLVM

; RUN: opt -S -inline < %s | FileCheck %s
define void @func() {
; CHECK-LABEL: func
; CHECK-NEXT: [[VEC_ADDR:%.*]] = alloca <vscale x 4 x i32>
; CHECK-NEXT: call void @func()
; CHECK-NEXT: ret void
%vec.addr = alloca <vscale x 4 x i32>
call void @func();
ret void
}