1 ; RUN: llc < %s -mtriple=ve | FileCheck %s
3 define ptr @test1() nounwind {
5 ; CHECK: .LBB{{[0-9]+}}_2:
6 ; CHECK-NEXT: or %s0, 0, %s9
7 ; CHECK-NEXT: or %s11, 0, %s9
9 %ret = tail call ptr @llvm.frameaddress(i32 0)
13 define ptr @test2() nounwind {
15 ; CHECK: .LBB{{[0-9]+}}_2:
16 ; CHECK-NEXT: ld %s0, (, %s9)
17 ; CHECK-NEXT: ld %s0, (, %s0)
18 ; CHECK-NEXT: or %s11, 0, %s9
20 %ret = tail call ptr @llvm.frameaddress(i32 2)
24 declare ptr @llvm.frameaddress(i32) nounwind readnone