aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SLPVectorizer/X86/crash_lame.ll
blob: cfc3fa35a1e77e09417d3f8960696fcda7fe3699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
; RUN: opt < %s -basicaa -slp-vectorizer -dce -S -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7

target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.8.0"

; Function Attrs: nounwind ssp uwtable
define fastcc void @dct36(double* %inbuf) #0 {
entry:
  %arrayidx41 = getelementptr inbounds double* %inbuf, i64 2
  %arrayidx44 = getelementptr inbounds double* %inbuf, i64 1
  %0 = load double* %arrayidx44, align 8, !tbaa !0
  %add46 = fadd double %0, undef
  store double %add46, double* %arrayidx41, align 8, !tbaa !0
  %1 = load double* %inbuf, align 8, !tbaa !0
  %add49 = fadd double %1, %0
  store double %add49, double* %arrayidx44, align 8, !tbaa !0
  ret void
}

attributes #0 = { nounwind ssp uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }

!0 = metadata !{metadata !"double", metadata !1}
!1 = metadata !{metadata !"omnipotent char", metadata !2}
!2 = metadata !{metadata !"Simple C/C++ TBAA"}