summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/fast-isel-indirectbr.ll
blob: 88ccf918ae964d775087111d591221dba335e136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s --check-prefix=ELF64

define void @t1(i8* %x) {
entry:
; ELF64: t1
  br label %L0

L0:
  br label %L1

L1:
  indirectbr i8* %x, [ label %L0, label %L1 ]
; ELF64: mtctr 3
; ELF64: bctr
}