Debian Codegraph @

llvm/test/CodeGen/PowerPC/unwind-dw2.ll

raw
1 ; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -verify-machineinstrs < %s | FileCheck %s
2 ; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -verify-machineinstrs < %s | FileCheck %s
3 ; RUN: llc -mtriple=powerpc-unknown-linux-gnu -verify-machineinstrs < %s | FileCheck %s
4
5 ; RUN: llc -mtriple=powerpc64-unknown-freebsd -verify-machineinstrs < %s | FileCheck %s
6 ; RUN: llc -mtriple=powerpc-unknown-freebsd -verify-machineinstrs < %s | FileCheck %s
7
8 ; RUN: llc -mtriple=powerpc64-unknown-aix-xcoff -verify-machineinstrs < %s | FileCheck %s
9 ; RUN: llc -mtriple=powerpc-unknown-aix-xcoff -verify-machineinstrs < %s | FileCheck %s
10
11 ; CHECK-NOT: vrsave
12 ; CHECK-NOT: mfspr
13 ; CHECK-NOT: mtspr
14
15 ; Function Attrs: nounwind
16 define void @foo() #0 {
17 entry:
18 call void @llvm.eh.unwind.init()
19 ret void
20 }
21
22 ; Function Attrs: nounwind
23 declare void @llvm.eh.unwind.init() #0
24
25 attributes #0 = { nounwind }