Skip to content

Commit e6eac65

Browse files
committed
[ARM] 2012-03-13-DAGCombineBug.ll - regenerate checks
1 parent f5bc6b4 commit e6eac65

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

llvm/test/CodeGen/ARM/2012-03-13-DAGCombineBug.ll

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
12
; RUN: llc < %s -mtriple=thumbv7-apple-ios | FileCheck %s
23
; rdar://11035895
34

45
; DAG combine incorrectly optimize (i32 vextract (v4i16 load $addr), c) to
56
; (i16 load $addr+c*sizeof(i16)). It should have issued an extload instead. i.e.
67
; (i32 extload $addr+c*sizeof(i16)
78
define void @test_hi_short3(ptr nocapture %srcA, ptr nocapture %dst) nounwind {
9+
; CHECK-LABEL: test_hi_short3:
10+
; CHECK: @ %bb.0: @ %entry
11+
; CHECK-NEXT: vldr d16, [r0]
12+
; CHECK-NEXT: vmov.u16 r0, d16[2]
13+
; CHECK-NEXT: vmov.32 d16[0], r0
14+
; CHECK-NEXT: vuzp.16 d16, d17
15+
; CHECK-NEXT: vst1.32 {d16[0]}, [r1:32]
16+
; CHECK-NEXT: bx lr
817
entry:
9-
; CHECK: vst1.32
1018
%0 = load <3 x i16> , ptr %srcA, align 8
1119
%1 = shufflevector <3 x i16> %0, <3 x i16> undef, <2 x i32> <i32 2, i32 undef>
1220
store <2 x i16> %1, ptr %dst, align 4

0 commit comments

Comments
 (0)