aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-05-16 16:57:04 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-05-16 16:57:04 +0000
commitea8d5dbf249dd6a8b21603794fe368bb82082ca4 (patch)
treefea6c74214828c3fc554a41025023f5a3d6bebc7 /llvm/lib/Transforms/Utils/CloneModule.cpp
parent83c57436500fca8f09cf00e816470df46bd5ca6f (diff)
downloadllvm-ea8d5dbf249dd6a8b21603794fe368bb82082ca4.zip
llvm-ea8d5dbf249dd6a8b21603794fe368bb82082ca4.tar.gz
llvm-ea8d5dbf249dd6a8b21603794fe368bb82082ca4.tar.bz2
InstSimplify: Optimize using dividend in sdiv
Summary: The dividend in an sdiv tells us the largest and smallest possible results. Use this fact to optimize comparisons against an sdiv with a constant dividend. Reviewers: nicholas Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D3795 llvm-svn: 208999
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions