annotate test/CodeGen/SystemZ/DAGCombine_trunc_extract.ll @ 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 -mtriple=s390x-linux-gnu -mcpu=zEC12 < %s | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2 ;
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3 ; Check that DAGCombiner doesn't crash in SystemZ combineTruncateExtract()
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
4 ; when handling EXTRACT_VECTOR_ELT without vector support.
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
5
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 define void @autogen_SD21598(<2 x i8> %Arg) {
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7 ; CHECK: stc %r3, 0(%r1)
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 ; CHECK: j .LBB0_1
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 entry:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11 br label %loop
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
12
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
13 loop: ; preds = %CF249, %CF247
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
14 %Shuff = shufflevector <2 x i8> undef, <2 x i8> %Arg, <2 x i32> <i32 3, i32 1>
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15 %E = extractelement <2 x i8> %Shuff, i32 0
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 store i8 %E, i8* undef
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
17 br label %loop
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
18 }