1; RUN: llc < %s -mtriple=ve | FileCheck %s 2 3; Function Attrs: noinline nounwind optnone 4define ptr @stacksave() { 5; CHECK-LABEL: stacksave: 6; CHECK: .LBB{{[0-9]+}}_2: 7; CHECK-NEXT: or %s0, 0, %s11 8; CHECK-NEXT: or %s11, 0, %s9 9 %ret = call ptr @llvm.stacksave() 10 ret ptr %ret 11} 12 13; Function Attrs: noinline nounwind optnone 14define void @stackrestore(ptr %ptr) { 15; CHECK-LABEL: stackrestore: 16; CHECK: .LBB{{[0-9]+}}_2: 17; CHECK-NEXT: or %s11, 0, %s0 18; CHECK-NEXT: or %s11, 0, %s9 19 call void @llvm.stackrestore(ptr %ptr) 20 ret void 21} 22 23; Function Attrs: nounwind 24declare ptr @llvm.stacksave() 25; Function Attrs: nounwind 26declare void @llvm.stackrestore(ptr) 27