summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AVR/pseudo/POPWRd.mir
blob: ceb0ea8e7142a88c6efc42a4b62edf0d34bfd41d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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:

    ; CHECK-LABEL: test

    ; CHECK:       $r29 = POPRd implicit-def $sp, implicit $sp
    ; CHECK-LABEL: $r28 = POPRd implicit-def $sp, implicit $sp

    $r29r28 = POPWRd implicit-def $sp, implicit $sp
...
OpenPOWER on IntegriCloud