[llvm] 8fcb822 - [LV] Add uses of result to pointer-runtime-checks-unprofitable.ll test.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 02:02:31 PDT 2024
Author: Florian Hahn
Date: 2024-07-15T09:59:46+01:00
New Revision: 8fcb822da632ab4330b47641826ace01af0768e0
URL: https://github.com/llvm/llvm-project/commit/8fcb822da632ab4330b47641826ace01af0768e0
DIFF: https://github.com/llvm/llvm-project/commit/8fcb822da632ab4330b47641826ace01af0768e0.diff
LOG: [LV] Add uses of result to pointer-runtime-checks-unprofitable.ll test.
Otherwise %p.2 is not used and will be removed by VPlan transforms,
leading to a difference between legacy and VPlan-based cost.
Added:
Modified:
llvm/test/Transforms/LoopVectorize/X86/pointer-runtime-checks-unprofitable.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/LoopVectorize/X86/pointer-runtime-checks-unprofitable.ll b/llvm/test/Transforms/LoopVectorize/X86/pointer-runtime-checks-unprofitable.ll
index e858edefd0440..fe96463470d8d 100644
--- a/llvm/test/Transforms/LoopVectorize/X86/pointer-runtime-checks-unprofitable.ll
+++ b/llvm/test/Transforms/LoopVectorize/X86/pointer-runtime-checks-unprofitable.ll
@@ -83,7 +83,7 @@ for.body:
%gep.D = getelementptr inbounds double, ptr %D, i64 %iv
%l.D = load double, ptr %gep.D
- %p.4 = call double @llvm.pow.f64(double %p.3, double %l.D)
+ %p.4 = call double @llvm.pow.f64(double %p.2, double %l.D)
%p.5 = call double @llvm.pow.f64(double %p.4, double %p.3)
%mul = fmul double 2.0, %p.5
%mul.2 = fmul double %mul, 2.0
More information about the llvm-commits
mailing list