Significantly improve the documentation of the instcombine divide/compare
authorChris Lattner <sabre@nondot.org>
Thu, 21 Jun 2007 18:11:19 +0000 (18:11 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Jun 2007 18:11:19 +0000 (18:11 +0000)
commit1dbfd48fa2108ecd8da9137bd84b66f9378a9601
tree8626eaf2378812a536b7389bdb50b752a8d9e1eb
parente47f30f5e695f9da1b07bff5e9bbf72298cd6833
Significantly improve the documentation of the instcombine divide/compare
transformation.  Also, keep track of which end of the integer interval overflows
occur on.  This fixes Transforms/InstCombine/2007-06-21-DivCompareMiscomp.ll
and rdar://5278853, a miscompilation of perl.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37692 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp