31 lines · plain
1;; Check that the function regex for VE works as expected.2; RUN: llc -mtriple=ve -exception-model=sjlj -relocation-model=static < %s | FileCheck %s3 4;; Check that we accept .Ldsolocal$local: below the function label.5; RUN: llc -mtriple=ve -exception-model=sjlj -relocation-model=pic < %s | FileCheck %s --check-prefix=PIC6 7 8@gv0 = dso_local global i32 0, align 49@gv1 = dso_preemptable global i32 0, align 410 11define hidden i32 @"_Z54bar$ompvariant$bar"() {12entry:13 ret i32 214}15 16define dso_local i32 @dsolocal() {17entry:18 call void @ext()19 ret i32 220}21 22declare void @ext()23 24define i32 @load() {25entry:26 %a = load i32, i32* @gv027 %b = load i32, i32* @gv128 %c = add i32 %a, %b29 ret i32 %c30}31