summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/VPlanLoopInfo.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-04-16 18:55:16 +0000
committerNikita Popov <nikita.ppv@gmail.com>2019-04-16 18:55:16 +0000
commit79dffc67b50e55e3294a6d0391e97b06c7030071 (patch)
tree13b603c1b5cd4652a95be892ece9d8b9f2741a19 /llvm/lib/Transforms/Vectorize/VPlanLoopInfo.h
parentd8f776af6ed999fa621062b6c8b92d1e45e57516 (diff)
downloadbcm5719-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/Transforms/Vectorize/VPlanLoopInfo.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud