Debian Codegraph @

llvm/test/CodeGen/PowerPC/fast-isel-indirectbr.ll

raw
1 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s --check-prefix=PPC64
2 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-ibm-aix-xcoff -mcpu=pwr7 | FileCheck %s --check-prefix=PPC64
3
4 define void @t1(ptr %x) nounwind {
5 entry:
6 ; PPC64: t1
7 br label %L0
8
9 L0:
10 br label %L1
11
12 L1:
13 indirectbr ptr %x, [ label %L0, label %L1 ]
14 ; PPC64: mtctr 3
15 ; PPC64: bctr
16 }