[all-commits] [llvm/llvm-project] 997929: [Attributor] Simplify how we handle required align...
Philip Reames via All-commits
all-commits at lists.llvm.org
Wed Jan 12 17:34:37 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9979299705817c90ef7e4928ba1fb10243cecb67
https://github.com/llvm/llvm-project/commit/9979299705817c90ef7e4928ba1fb10243cecb67
Author: Philip Reames <listmail at philipreames.com>
Date: 2022-01-12 (Wed, 12 Jan 2022)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Log Message:
-----------
[Attributor] Simplify how we handle required alignment during heap-to-stack [NFC]
The existing code duplicated the same concern in two places, and (weirdly) changed the inference of the allocation size based on whether we could meet the alignment requirement. Instead, just directly check the allocation requirement.
More information about the All-commits
mailing list