| commit | 3f08914e7e58d195818f38f396b9550a7d896ea9 | [log] [tgz] |
|---|---|---|
| author | George Burgess IV <george.burgess.iv@gmail.com> | Tue Dec 20 23:46:36 2016 +0000 |
| committer | George Burgess IV <george.burgess.iv@gmail.com> | Tue Dec 20 23:46:36 2016 +0000 |
| tree | a727a581aaa563a7a076f66cf3bab96ed61e18c9 | |
| parent | e52614b5c7c25d4b674aa304b6a6e18c1d201c2e [diff] |
[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