1 # RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - | FileCheck %s
3 # This test checks the expansion of the 16-bit CPCW pseudo instruction.
6 target triple = "avr--"
7 define void @test_cpcwrdrr() {
18 ; CHECK-LABEL: test_cpcwrdrr
20 ; CHECK: CPCRdRr $r20, $r22, implicit-def $sreg, implicit killed $sreg
21 ; CHECK-NEXT: CPCRdRr $r21, $r23, implicit-def $sreg, implicit killed $sreg
23 CPCWRdRr $r21r20, $r23r22, implicit-def $sreg, implicit $sreg