summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AVR/pseudo/PUSHWRr.mir
blob: 847313089edc8682d091f86c4930ef4392db773c (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:      PUSHRr $r28, implicit-def $sp, implicit $sp
    ; CHECK-NEXT: PUSHRr $r29, implicit-def $sp, implicit $sp

    PUSHWRr $r29r28, implicit-def $sp, implicit $sp
...
OpenPOWER on IntegriCloud