aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorDávid Bolvanský <david.bolvansky@gmail.com>2021-04-20 02:03:38 +0200
committerDávid Bolvanský <david.bolvansky@gmail.com>2021-04-20 02:04:18 +0200
commit324d641b75b54a8772c3c9a881eedad62dc5518c (patch)
tree9621b948b6c997630828572a69a0adebbc9e373f /llvm/lib/CodeGen/BranchFolding.cpp
parenta2cd6d07691a645bfb8fb5eeeba2eb5970312c7f (diff)
downloadllvm-324d641b75b54a8772c3c9a881eedad62dc5518c.zip
llvm-324d641b75b54a8772c3c9a881eedad62dc5518c.tar.gz
llvm-324d641b75b54a8772c3c9a881eedad62dc5518c.tar.bz2
[InstCombine] Enhance deduction of alignment for aligned_alloc
This patch improves https://reviews.llvm.org/D76971 (Deduce attributes for aligned_alloc in InstCombine) and implements "TODO" item mentioned in the review of that patch. > The function aligned_alloc() is the same as memalign(), except for the added restriction that size should be a multiple of alignment. Currently, we simply bail out if we see a non-constant size - change that. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D100785
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions