diff options
author | Florian Hahn <flo@fhahn.com> | 2024-07-15 09:59:45 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-07-15 09:59:46 +0100 |
commit | 8fcb822da632ab4330b47641826ace01af0768e0 (patch) | |
tree | 64fc9c3ed5efd6fc5424ca45c3d55b0b4d43ba40 | |
parent | 9f4a25e2a7cd176bd4f946dc651bc18c7a2e8c92 (diff) | |
download | llvm-8fcb822da632ab4330b47641826ace01af0768e0.zip llvm-8fcb822da632ab4330b47641826ace01af0768e0.tar.gz llvm-8fcb822da632ab4330b47641826ace01af0768e0.tar.bz2 |
[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.
-rw-r--r-- | llvm/test/Transforms/LoopVectorize/X86/pointer-runtime-checks-unprofitable.ll | 2 |
1 files changed, 1 insertions, 1 deletions
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 e858ede..fe96463 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 |