Unverified Commit e84b2fb4 authored by Alexey Bataev's avatar Alexey Bataev Committed by GitHub
Browse files

[LV][NFCI]Use integer for cost/trip count calculations instead of double, fix possible UB.

Using fp type in the compiler is not the best idea, here it used with
the comparison for equal to 0 and may cause undefined behavior in some
cases.

Reviewers: fhahn

Reviewed By: fhahn

Pull Request: https://github.com/llvm/llvm-project/pull/87241
parent e1859783
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment