|
| 1 | +# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 4 |
| 2 | +# RUN: llc -mtriple=s390x-ibm-linux -mcpu=z13 -run-pass=postrapseudos -verify-machineinstrs -o - %s | FileCheck %s |
| 3 | + |
| 4 | +--- |
| 5 | +name: copy_gr128_to_fp128__r0q_to_f0q |
| 6 | +tracksRegLiveness: true |
| 7 | +body: | |
| 8 | + bb.0: |
| 9 | + liveins: $r0q |
| 10 | + ; CHECK-LABEL: name: copy_gr128_to_fp128__r0q_to_f0q |
| 11 | + ; CHECK: liveins: $r0q |
| 12 | + ; CHECK-NEXT: {{ $}} |
| 13 | + ; CHECK-NEXT: $f0d = LDGR $r0d, implicit-def $f0q |
| 14 | + ; CHECK-NEXT: $f2d = LDGR $r1d |
| 15 | + ; CHECK-NEXT: Return implicit $f0q |
| 16 | + $f0q = COPY $r0q |
| 17 | + Return implicit $f0q |
| 18 | +... |
| 19 | + |
| 20 | +--- |
| 21 | +name: copy_gr128_to_fp128__r0q_to_f0q_killed |
| 22 | +tracksRegLiveness: true |
| 23 | +body: | |
| 24 | + bb.0: |
| 25 | + liveins: $r0q |
| 26 | + ; CHECK-LABEL: name: copy_gr128_to_fp128__r0q_to_f0q_killed |
| 27 | + ; CHECK: liveins: $r0q |
| 28 | + ; CHECK-NEXT: {{ $}} |
| 29 | + ; CHECK-NEXT: $f0d = LDGR $r0d, implicit-def $f0q |
| 30 | + ; CHECK-NEXT: $f2d = LDGR killed $r1d |
| 31 | + ; CHECK-NEXT: Return implicit $f0q |
| 32 | + $f0q = COPY killed $r0q |
| 33 | + Return implicit $f0q |
| 34 | +... |
| 35 | + |
| 36 | +--- |
| 37 | +name: copy_gr128_to_fp128__r0q_to_f0q_undef |
| 38 | +tracksRegLiveness: true |
| 39 | +body: | |
| 40 | + bb.0: |
| 41 | + liveins: $r0q |
| 42 | + ; CHECK-LABEL: name: copy_gr128_to_fp128__r0q_to_f0q_undef |
| 43 | + ; CHECK: liveins: $r0q |
| 44 | + ; CHECK-NEXT: {{ $}} |
| 45 | + ; CHECK-NEXT: $f0q = KILL undef $r0q |
| 46 | + ; CHECK-NEXT: Return implicit $f0q |
| 47 | + $f0q = COPY undef $r0q |
| 48 | + Return implicit $f0q |
| 49 | +... |
| 50 | + |
| 51 | +--- |
| 52 | +name: copy_gr128_to_fp128__r0q_to_f0q_subreg0 |
| 53 | +tracksRegLiveness: true |
| 54 | +body: | |
| 55 | + bb.0: |
| 56 | + liveins: $r0q |
| 57 | + ; CHECK-LABEL: name: copy_gr128_to_fp128__r0q_to_f0q_subreg0 |
| 58 | + ; CHECK: liveins: $r0q |
| 59 | + ; CHECK-NEXT: {{ $}} |
| 60 | + ; CHECK-NEXT: $f0d = LDGR $r0d, implicit-def $f0q |
| 61 | + ; CHECK-NEXT: $f2d = LDGR $r1d |
| 62 | + ; CHECK-NEXT: Return implicit $f0q |
| 63 | + $f0q = COPY $r0q |
| 64 | + Return implicit $f0q |
| 65 | +... |
| 66 | + |
| 67 | +--- |
| 68 | +name: copy_gr128_to_fp128__r0q_to_f0q_subreg1 |
| 69 | +tracksRegLiveness: true |
| 70 | +body: | |
| 71 | + bb.0: |
| 72 | + liveins: $r0q |
| 73 | + ; CHECK-LABEL: name: copy_gr128_to_fp128__r0q_to_f0q_subreg1 |
| 74 | + ; CHECK: liveins: $r0q |
| 75 | + ; CHECK-NEXT: {{ $}} |
| 76 | + ; CHECK-NEXT: $f0d = LDGR $r0d, implicit-def $f0q |
| 77 | + ; CHECK-NEXT: $f2d = LDGR $r1d |
| 78 | + ; CHECK-NEXT: Return implicit $f0q |
| 79 | + $f0q = COPY $r0q |
| 80 | + Return implicit $f0q |
| 81 | +... |
| 82 | + |
0 commit comments