Compiler projects using llvm
# RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - | FileCheck %s

--- |
  target triple = "avr--"
  define void @test() {
  entry:
    ret void
  }
...

---
name:            test
body: |
  bb.0.entry:
    liveins: $r17

    ; CHECK-LABEL: test

    ; CHECK:      $r17 = ADCRdRr killed $r17, killed $r17, implicit-def $sreg, implicit undef $sreg
    ; CHECK-NEXT: $r17 = EORRdRr killed $r17, killed $r17, implicit-def $sreg
    ; CHECK-NEXT: $r17 = ADCRdRr $r17, $r17, implicit-def $sreg, implicit killed $sreg
    $r17 = LSRBNRd $r17, 7, implicit-def $sreg
...