brintos

brintos / llvm-project-archived public Read only

0
0
Text · 582 B · 5a6bcca Raw
25 lines · plain
1; RUN: llc < %s -mtriple=ve | FileCheck %s2 3define ptr @test1() nounwind {4; CHECK-LABEL: test1:5; CHECK:       .LBB{{[0-9]+}}_2:6; CHECK-NEXT:    or %s0, 0, %s97; CHECK-NEXT:    or %s11, 0, %s98entry:9  %ret = tail call ptr @llvm.frameaddress(i32 0)10  ret ptr %ret11}12 13define ptr @test2() nounwind {14; CHECK-LABEL: test2:15; CHECK:       .LBB{{[0-9]+}}_2:16; CHECK-NEXT:    ld %s0, (, %s9)17; CHECK-NEXT:    ld %s0, (, %s0)18; CHECK-NEXT:    or %s11, 0, %s919entry:20  %ret = tail call ptr @llvm.frameaddress(i32 2)21  ret ptr %ret22}23 24declare ptr @llvm.frameaddress(i32) nounwind readnone25