| 1 |
# RUN: llc -simplify-mir -verify-machineinstrs -mtriple=powerpc64-unknown-unknown \ |
| 2 |
# RUN: %s -o - | FileCheck %s |
| 3 |
|
| 4 |
--- |
| 5 |
name: foo |
| 6 |
alignment: 8 |
| 7 |
tracksRegLiveness: true |
| 8 |
body: | |
| 9 |
bb.0.entry: |
| 10 |
liveins: $x3, $x4, $x5, $x6 |
| 11 |
; CHECK-LABEL: foo |
| 12 |
; CHECK: lq 2, 128(4) |
| 13 |
; CHECK: lqarx 28, 5, 6 |
| 14 |
; CHECK: stqcx. 28, 5, 6 |
| 15 |
; CHECK: stq 2, 128(4) |
| 16 |
$g8p1 = LQ 128, $x4 |
| 17 |
$g8p14 = LQARX $x5, $x6 |
| 18 |
STQCX $g8p14, $x5, $x6, implicit-def $cr0 |
| 19 |
STQ $g8p1, 128, $x4 |
| 20 |
$x3 = COPY $x6 |
| 21 |
BLR8 implicit $lr8, implicit undef $rm, implicit $x3 |
| 22 |
... |
| 23 |
|