1# RUN: llc -O0  %s -o - 2>&1 -march=avr | FileCheck %s
2
3# This test checks the expansion of the 16-bit 'LDDWRdPtrQ' pseudo instruction.
4
5--- |
6  target triple = "avr--"
7  define void @test_lddwrdptrq() {
8  entry:
9    ret void
10  }
11...
12
13---
14name:            test_lddwrdptrq
15body: |
16  bb.0.entry:
17
18    ; CHECK-LABEL: test_lddwrdptrq
19
20    ; CHECK:      ldd     r30, Y+10
21    ; CHECK-NEXT: ldd     r31, Y+11
22
23    early-clobber %r31r30 = LDDWRdPtrQ %r29r28, 10
24...
25