aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2022-01-12 17:32:05 -0800
committerPhilip Reames <listmail@philipreames.com>2022-01-12 17:34:17 -0800
commit9979299705817c90ef7e4928ba1fb10243cecb67 (patch)
tree30ec77af12a549696bfce57ba2c5babd83f3b369 /llvm/lib/IR/Module.cpp
parentaea27c3100396ec82412ad5b0254448f3fb0406b (diff)
downloadllvm-9979299705817c90ef7e4928ba1fb10243cecb67.zip
llvm-9979299705817c90ef7e4928ba1fb10243cecb67.tar.gz
llvm-9979299705817c90ef7e4928ba1fb10243cecb67.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions