brintos

brintos / llvm-project-archived public Read only

0
0
Text · 400 B · f41dcff Raw
13 lines · plain
1; RUN: not opt -disable-output -mtriple=nvptx64-- -safestack-use-pointer-address -mcpu=sm_90 -passes=safe-stack %s 2>&1 | FileCheck -check-prefix=ERR %s2 3; ERR: error: no libcall available for safestack pointer address4define void @foo(i32 %t) #0 {5  %vla = alloca i32, i32 %t, align 46  call void @baz(ptr %vla)7  ret void8}9 10declare void @baz(ptr)11 12attributes #0 = { nounwind safestack sspstrong }13