[llvm] r293076 - [SLP] Extra test for functionality with extra args.
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 25 09:24:31 PST 2017
Author: abataev
Date: Wed Jan 25 11:24:31 2017
New Revision: 293076
URL: http://llvm.org/viewvc/llvm-project?rev=293076&view=rev
Log:
[SLP] Extra test for functionality with extra args.
Modified:
llvm/trunk/test/Transforms/SLPVectorizer/X86/horizontal-list.ll
Modified: llvm/trunk/test/Transforms/SLPVectorizer/X86/horizontal-list.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SLPVectorizer/X86/horizontal-list.ll?rev=293076&r1=293075&r2=293076&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SLPVectorizer/X86/horizontal-list.ll (original)
+++ llvm/trunk/test/Transforms/SLPVectorizer/X86/horizontal-list.ll Wed Jan 25 11:24:31 2017
@@ -1012,7 +1012,8 @@ define float @extra_args_no_replace(floa
; CHECK-NEXT: [[MUL:%.*]] = mul nsw i32 [[B:%.*]], [[A:%.*]]
; CHECK-NEXT: [[CONV:%.*]] = sitofp i32 [[MUL]] to float
; CHECK-NEXT: [[TMP0:%.*]] = load float, float* [[X:%.*]], align 4
-; CHECK-NEXT: [[ADD:%.*]] = fadd fast float [[CONV]], 3.000000e+00
+; CHECK-NEXT: [[ADDC:%.*]] = fadd fast float [[CONV]], 3.000000e+00
+; CHECK-NEXT: [[ADD:%.*]] = fadd fast float [[CONV]], [[ADDC]]
; CHECK-NEXT: [[ADD1:%.*]] = fadd fast float [[TMP0]], [[ADD]]
; CHECK-NEXT: [[ARRAYIDX3:%.*]] = getelementptr inbounds float, float* [[X]], i64 1
; CHECK-NEXT: [[TMP1:%.*]] = load float, float* [[ARRAYIDX3]], align 4
@@ -1039,7 +1040,8 @@ define float @extra_args_no_replace(floa
%mul = mul nsw i32 %b, %a
%conv = sitofp i32 %mul to float
%0 = load float, float* %x, align 4
- %add = fadd fast float %conv, 3.000000e+00
+ %addc = fadd fast float %conv, 3.000000e+00
+ %add = fadd fast float %conv, %addc
%add1 = fadd fast float %0, %add
%arrayidx3 = getelementptr inbounds float, float* %x, i64 1
%1 = load float, float* %arrayidx3, align 4
More information about the llvm-commits
mailing list