diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-16 18:55:16 +0000 | 
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-16 18:55:16 +0000 | 
| commit | 79dffc67b50e55e3294a6d0391e97b06c7030071 (patch) | |
| tree | 13b603c1b5cd4652a95be892ece9d8b9f2741a19 /llvm/lib/Linker/IRMover.cpp | |
| parent | d8f776af6ed999fa621062b6c8b92d1e45e57516 (diff) | |
| download | bcm5719-llvm-79dffc67b50e55e3294a6d0391e97b06c7030071.tar.gz bcm5719-llvm-79dffc67b50e55e3294a6d0391e97b06c7030071.zip | |
[IR] Add WithOverflowInst class
This adds a WithOverflowInst class with a few helper methods to get
the underlying binop, signedness and nowrap type and makes use of it
where sensible. There will be two more uses in D60650/D60656.
The refactorings are all NFC, though I left some TODOs where things
could be improved. In particular we have two places where add/sub are
handled but mul isn't.
Differential Revision: https://reviews.llvm.org/D60668
llvm-svn: 358512
Diffstat (limited to 'llvm/lib/Linker/IRMover.cpp')
0 files changed, 0 insertions, 0 deletions

