annotate test/CodeGen/Hexagon/expand-condsets-imm.mir @ 134:3a76565eade5 LLVM5.0.1

update 5.0.1
author mir3636
date Sat, 17 Feb 2018 09:57:20 +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 -march=hexagon -run-pass expand-condsets %s -o - | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2 # Check that we can expand a mux with a global as an immediate operand.
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3 # CHECK: C2_cmoveif undef %0:predregs, @G
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 @G = global i32 0, align 4
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7 define void @fred() { ret void }
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 ...
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9 ---
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 name: fred
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11 tracksRegLiveness: true
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
12
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
13 registers:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
14 - { id: 0, class: predregs }
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15 - { id: 1, class: intregs }
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 body: |
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
17 bb.1:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
18 %1 = IMPLICIT_DEF
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
19 %1 = C2_muxir undef %0, %1, @G
134
3a76565eade5 update 5.0.1
mir3636
parents: 121
diff changeset
20 $r0 = COPY %1
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
21 ...