summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SLPVectorizer/X86/reduction2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/SLPVectorizer/X86/reduction2.ll')
-rw-r--r--llvm/test/Transforms/SLPVectorizer/X86/reduction2.ll11
1 files changed, 3 insertions, 8 deletions
diff --git a/llvm/test/Transforms/SLPVectorizer/X86/reduction2.ll b/llvm/test/Transforms/SLPVectorizer/X86/reduction2.ll
index 9b5d5f701df..0f8412528c5 100644
--- a/llvm/test/Transforms/SLPVectorizer/X86/reduction2.ll
+++ b/llvm/test/Transforms/SLPVectorizer/X86/reduction2.ll
@@ -6,7 +6,7 @@ target triple = "i386-apple-macosx10.8.0"
;CHECK: @foo
;CHECK: load <2 x double>
;CHECK: ret
-define double @foo(double* nocapture %D) #0 {
+define double @foo(double* nocapture %D) {
br label %1
; <label>:1 ; preds = %1, %0
@@ -14,11 +14,11 @@ define double @foo(double* nocapture %D) #0 {
%sum.01 = phi double [ 0.000000e+00, %0 ], [ %9, %1 ]
%2 = shl nsw i32 %i.02, 1
%3 = getelementptr inbounds double* %D, i32 %2
- %4 = load double* %3, align 4, !tbaa !0
+ %4 = load double* %3, align 4
%A4 = fmul double %4, %4
%5 = or i32 %2, 1
%6 = getelementptr inbounds double* %D, i32 %5
- %7 = load double* %6, align 4, !tbaa !0
+ %7 = load double* %6, align 4
%A7 = fmul double %7, %7
%8 = fadd double %A4, %A7
%9 = fadd double %sum.01, %8
@@ -30,8 +30,3 @@ define double @foo(double* nocapture %D) #0 {
ret double %9
}
-attributes #0 = { nounwind readonly ssp "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"="true" "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"}
OpenPOWER on IntegriCloud