1 # RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass=postra-machine-sink -verify-machineinstrs -o - %s | FileCheck -check-prefix=RUN-POSTRA %s
2 # RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass=postra-machine-sink -opt-bisect-limit=0 -verify-machineinstrs -o - %s | FileCheck -check-prefix=BISECT-NO-RUN-POSTRA %s
6 # Make sure the pass is run.
8 # RUN-POSTRA-LABEL: name: sinkcopy1
10 # RUN-POSTRA-NOT: $w19 = COPY killed $w0
12 # RUN-POSTRA: liveins: $w0, $w1
13 # RUN-POSTRA: renamable $w19 = COPY killed $w0
15 # Make sure the pass it not run.
16 # BISECT-NO-RUN-POSTRA-LABEL: name: sinkcopy1
17 # BISECT-NO-RUN-POSTRA: bb.0:
18 # BISECT-NO-RUN-POSTRA: $w19 = COPY killed $w0
19 # BISECT-NO-RUN-POSTRA: bb.1:
20 # BISECT-NO-RUN-POSTRA: liveins: $w1, $w19
23 tracksRegLiveness: true
27 $w1 = SUBSWri $w1, 1, 0, implicit-def $nzcv
28 renamable $w19 = COPY killed $w0
29 Bcc 11, %bb.1, implicit $nzcv
34 $w0 = ADDWrr $w1, $w19