summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AVR/pseudo/PUSHWRr.mir
blob: ec94ecbf5bb672743ff0ca650406b592bf7c3343 (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