blob: 046523ded8001c2682dac548dacd8eb1ac47206d [file] [log] [blame]
; RUN: not llc < %s -mtriple=bpfel 2>&1 | FileCheck %s
define i64 @vla(i64 %num) {
; CHECK: unsupported dynamic stack allocation
%vla = alloca i32, i64 %num
%ret = ptrtoint ptr %vla to i64
ret i64 %ret
}