[BypassSlowDivision] Refactor fast division insertion logic (NFC)
authorNikolai Bozhenov <nikolai.bozhenov@intel.com>
Thu, 2 Mar 2017 22:05:07 +0000 (22:05 +0000)
committerNikolai Bozhenov <nikolai.bozhenov@intel.com>
Thu, 2 Mar 2017 22:05:07 +0000 (22:05 +0000)
commitd4b12b3348be90d90bbf946f94c1a3b068ed2163
treea82dc6ee74459ac530a3e888eaa6c4142c7ce0b2
parent2876f5cfb91675a7857c351cb5c3b0c947276a17
[BypassSlowDivision] Refactor fast division insertion logic (NFC)

The most important goal of the patch is to break large insertFastDiv function
into separate pieces, so that later a different fast insertion logic can be
implemented using some of these pieces.

Differential Revision: https://reviews.llvm.org/D29896

llvm-svn: 296828
llvm/lib/Transforms/Utils/BypassSlowDivision.cpp