[all-commits] [llvm/llvm-project] 49d66d: [AFDO] Merge function attributes after inlining
kazutakahirata via All-commits
all-commits at lists.llvm.org
Fri Jul 9 16:47:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 49d66d9f9f495caeb17de823c72f1459be819d9a
https://github.com/llvm/llvm-project/commit/49d66d9f9f495caeb17de823c72f1459be819d9a
Author: Kazu Hirata <kazu at google.com>
Date: 2021-07-09 (Fri, 09 Jul 2021)
Changed paths:
M llvm/lib/Transforms/IPO/SampleProfile.cpp
A llvm/test/Transforms/SampleProfile/Inputs/merge-function-attributes.afdo
A llvm/test/Transforms/SampleProfile/merge-function-attributes.ll
Log Message:
-----------
[AFDO] Merge function attributes after inlining
This patch teaches the sample profile loader to merge function
attributes after inlining functions.
Without this patch, the compiler could inline a function requiring the
512-bit vector width into its caller without merging function
attributes, triggering a failure during instruction selection.
Differential Revision: https://reviews.llvm.org/D105729
More information about the All-commits
mailing list