Files
clang-p2996/llvm/test/Transforms/Inline/inline-scalable.ll
Cullen Rhodes 2ccde3c96b [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
}