brintos

brintos / llvm-project-archived public Read only

0
0
Text · 353 B · a17a9dd Raw
13 lines · plain
1; RUN: not opt -disable-output -mtriple=nvptx64-- -mcpu=sm_90 -passes=safe-stack %s 2>&1 | FileCheck %s2 3; CHECK: error: no libcall available for stackprotector check fail4define 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