diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-09-10 20:20:10 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-09-10 20:49:29 +0300 |
commit | f3c2094d8c112f40923ef45953f66c4b2ecb6d01 (patch) | |
tree | a0dfca9bb77704f6b2d9bb225007bd11f3d09077 /llvm/lib/CodeGen/BranchFolding.cpp | |
parent | 85ba583eba1902c386a55f5565f3c721bd6bcb23 (diff) | |
download | llvm-f3c2094d8c112f40923ef45953f66c4b2ecb6d01.zip llvm-f3c2094d8c112f40923ef45953f66c4b2ecb6d01.tar.gz llvm-f3c2094d8c112f40923ef45953f66c4b2ecb6d01.tar.bz2 |
[clang] `aligned_alloc` allocation function specifies alignment in first arg, manifest that knowledge
Mainly, if a constant value was passed as an alignment,
then we correctly annotate the alignment of the returned value
of @aligned_alloc. And if it wasn't constant,
then we also don't loose that, but emit an assumption.
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions