1 # RUN: llc -O0 %s -o - | FileCheck %s
4 target triple = "avr--"
6 define void @test_copy_nonoverlapping() {
11 define void @test_copy_overlapping() {
16 declare void @foo(i16 %0)
20 name: test_copy_nonoverlapping
21 tracksRegLiveness: true
26 ; CHECK-LABEL: test_copy_nonoverlapping:
28 ; CHECK-NEXT: mov r23, r25
30 $r23r22 = COPY $r25r24
31 RCALLk @foo, implicit $r24r23
35 name: test_copy_overlapping
36 tracksRegLiveness: true
41 ; CHECK-LABEL: test_copy_overlapping:
43 ; CHECK-NEXT: mov r24, r23
45 $r25r24 = COPY $r24r23
46 RCALLk @foo, implicit $r25r24