annotate test/CodeGen/AVR/pseudo/LDDWRdYQ.mir @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
1 # RUN: llc -O0 %s -o - -march=avr | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3 # This test checks the expansion of the 16-bit 'LDDWRdYQ instruction
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
4
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
5 --- |
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 target triple = "avr--"
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7 define void @test_lddwrdyq() {
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 entry:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9 ret void
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 }
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11 ...
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
12
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
13 ---
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
14 name: test_lddwrdyq
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15 tracksRegLiveness: true
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 body: |
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
17 bb.0.entry:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
18
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
19 ; CHECK-LABEL: test_lddwrdyq
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
20
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
21 ; CHECK: ldd r30, Y+1
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
22 ; CHECK-NEXT: ldd r31, Y+2
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
23
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
24 early-clobber %r31r30 = LDDWRdYQ undef %r29r28, 1
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
25 ...