brintos

brintos / llvm-project-archived public Read only

0
0
Text · 274 B · 9b75d3c Raw
12 lines · plain
1; RUN: not llc -mtriple=mips < %s 2>&1 | FileCheck %s2 3declare ptr @llvm.frameaddress(i32) nounwind readnone4 5define ptr @f() nounwind {6entry:7  %0 = call ptr @llvm.frameaddress(i32 1)8  ret ptr %09 10; CHECK: error: return address can be determined only for current frame11}12