Mehdi Amini | 945a660 | 2015-02-27 18:32:11 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s --check-prefix=ELF64 |
Bill Schmidt | 0300813 | 2013-08-25 22:33:42 +0000 | [diff] [blame] | 2 | |
Eric Christopher | 1fb2339 | 2015-07-24 01:07:50 +0000 | [diff] [blame] | 3 | define void @t1(i8* %x) nounwind { |
Bill Schmidt | 0300813 | 2013-08-25 22:33:42 +0000 | [diff] [blame] | 4 | entry: |
| 5 | ; ELF64: t1 |
| 6 | br label %L0 |
| 7 | |
| 8 | L0: |
| 9 | br label %L1 |
| 10 | |
| 11 | L1: |
| 12 | indirectbr i8* %x, [ label %L0, label %L1 ] |
| 13 | ; ELF64: mtctr 3 |
| 14 | ; ELF64: bctr |
| 15 | } |