diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2016-12-20 23:46:36 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2016-12-20 23:46:36 +0000 |
commit | 3f08914e7e58d195818f38f396b9550a7d896ea9 (patch) | |
tree | a727a581aaa563a7a076f66cf3bab96ed61e18c9 /clang/lib/Lex/ModuleMap.cpp | |
parent | e52614b5c7c25d4b674aa304b6a6e18c1d201c2e (diff) | |
download | llvm-3f08914e7e58d195818f38f396b9550a7d896ea9.zip llvm-3f08914e7e58d195818f38f396b9550a7d896ea9.tar.gz llvm-3f08914e7e58d195818f38f396b9550a7d896ea9.tar.bz2 |
[Analysis] Centralize objectsize lowering logic.
We're currently doing nearly the same thing for @llvm.objectsize in
three different places: two of them are missing checks for overflow,
and one of them could subtly break if InstCombine gets much smarter
about removing alloc sites. Seems like a good idea to not do that.
llvm-svn: 290214
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions