annotate test/CodeGen/AVR/pseudo/SUBIWRdK.mir @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 803732b1fca8
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 -run-pass=avr-expand-pseudo %s -o - | 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 subtraction pseudo 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_subiwrdrr() {
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_subiwrdrr
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15 body: |
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 bb.0.entry:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
17
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
18 ; CHECK-LABEL: test_subiwrdrr
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
19
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
20 ; CHECK: %r20 = SUBIRdK %r20, 175, implicit-def %sreg
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
21 ; CHECK-NEXT: %r21 = SBCIRdK %r21, 250, implicit-def %sreg, implicit killed %sreg
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
22
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
23 %r21r20 = SUBIWRdK %r21r20, 64175, implicit-def %sreg
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
24 ...