aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-01-23 22:50:24 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-01-23 22:50:49 +0300
commit5ffe6408ffb6ad8642598ab03de04d58b4980e81 (patch)
tree1777925d0674e401023614ec72553e92dadbbd83 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parente819f7c9feb4d4b611681e319fbb43fd28b3f5b7 (diff)
downloadllvm-5ffe6408ffb6ad8642598ab03de04d58b4980e81.zip
llvm-5ffe6408ffb6ad8642598ab03de04d58b4980e81.tar.gz
llvm-5ffe6408ffb6ad8642598ab03de04d58b4980e81.tar.bz2
[Codegen] If reasonable, materialize clang's `AllocAlignAttr` as llvm's Alignment Attribute on call-site function return value
Summary: Much like with the previous patch (D73005) with `AssumeAlignedAttr` handling, results in mildly more readable IR, and will improve test coverage in upcoming patch. Note that in `AllocAlignAttr`'s case, there is no requirement for that alignment parameter to end up being an I-C-E. Reviewers: erichkeane, jdoerfert, hfinkel, aaron.ballman, rsmith Reviewed By: erichkeane Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73006
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions