summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AVR/pseudo/LDDWRdPtrQ.mir
blob: ef8519ed9de40c23bf23cd51a5393e6abb5a0a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# RUN: llc -O0  %s -o - -march=avr | FileCheck %s

# This test checks the expansion of the 16-bit 'LDDWRdPtrQ' pseudo instruction.

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

---
name:            test_lddwrdptrq
tracksRegLiveness: true
body: |
  bb.0.entry:

    ; CHECK-LABEL: test_lddwrdptrq

    ; CHECK:      ldd     r24, Z+10
    ; CHECK-NEXT: ldd     r25, Z+11

    early-clobber $r25r24 = LDDWRdPtrQ undef $r31r30, 10
...
OpenPOWER on IntegriCloud