summaryrefslogtreecommitdiff
path: root/docs/Phabricator.rst
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-10-12 01:15:47 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-10-12 01:15:47 +0000
commitd36696c4e0ccd10a91bad2e3383c50347e2ea5ec (patch)
treee7f718f97621f9099197ece766895a35ab8187f8 /docs/Phabricator.rst
parent5665a3dbc909c1450ac17e311977cbaf9025525b (diff)
downloadllvm-d36696c4e0ccd10a91bad2e3383c50347e2ea5ec.tar.gz
llvm-d36696c4e0ccd10a91bad2e3383c50347e2ea5ec.tar.bz2
llvm-d36696c4e0ccd10a91bad2e3383c50347e2ea5ec.tar.xz
Legalizer optimize a pair of div / mod to a call to divrem libcall if they are
not legal. However, it should use a div instruction + mul + sub if divide is legal. The rem legalization code was missing a check and incorrectly uses a divrem libcall even when div is legal. rdar://12481395 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Phabricator.rst')
0 files changed, 0 insertions, 0 deletions