[all-commits] [llvm/llvm-project] 686a20: [SampleProfileLoader] Fix integer overflow in gene...
Nabeel Omer via All-commits
all-commits at lists.llvm.org
Wed May 8 06:33:17 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 686a206b2665b6ba9245980489daa79dc8547079
https://github.com/llvm/llvm-project/commit/686a206b2665b6ba9245980489daa79dc8547079
Author: Nabeel Omer <nabeel.omer at sony.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/SampleProfile.cpp
A llvm/test/Transforms/SampleProfile/Inputs/overflow.proftext
A llvm/test/Transforms/SampleProfile/overflow.ll
Log Message:
-----------
[SampleProfileLoader] Fix integer overflow in generateMDProfMetadata (#90217)
This patch fixes an integer overflow in the SampleProfileLoader pass.
The issue occurs when weights are saturated and Profi isn't being used.
This patch also adds a newline to a debug message to make it more
readable.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list