Home | History | Annotate | Download | only in pseudo
      1 # RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - | FileCheck %s
      2 
      3 # TODO: Write this test.
      4 # This instruction isn't expanded by the pseudo expansion passs, but
      5 # rather AVRRegisterInfo::eliminateFrameIndex.
      6 
      7 --- |
      8   target triple = "avr--"
      9   define void @test() {
     10   entry:
     11     ret void
     12   }
     13 ...
     14 
     15 ---
     16 name:            test
     17 registers:
     18   - { id: 0, class: _ }
     19 body: |
     20   bb.0.entry:
     21 
     22     ; CHECK-LABEL: test
     23 
     24     $r29r28 = FRMIDX $r31r30, 0, implicit-def $sreg
     25 ...
     26