summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/2010-06-28-DAGCombineUndef.ll
blob: ad2810b5bb9aa78d0646acd82cbdbb85a1b9fb74 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s -march=arm -mattr=+neon

define void @main() nounwind {
entry:
  store <2 x i64> undef, <2 x i64>* undef, align 16
  %0 = load <16 x i8>* undef, align 16            ; <<16 x i8>> [#uses=1]
  %1 = or <16 x i8> zeroinitializer, %0           ; <<16 x i8>> [#uses=1]
  store <16 x i8> %1, <16 x i8>* undef, align 16
  ret void
}