Skip to content

Commit

Permalink
[LV] Add uses of result to pointer-runtime-checks-unprofitable.ll test.
Browse files Browse the repository at this point in the history
Otherwise %p.2 is not used and will be removed by VPlan transforms,
leading to a difference between legacy and VPlan-based cost.
  • Loading branch information
fhahn committed Jul 15, 2024
1 parent 9f4a25e commit 8fcb822
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fcb822

Please sign in to comment.