X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FBugpoint.rst;h=6bd7ff99564ffd3631606211c159f7517cd7d5ba;hb=e0d3c7ca6d3dc7ac9d7611433eb2e5f552839bf7;hp=047129f4106c41f9901dd60a94e7b293a1cf222c;hpb=cd5eb17be65627a1bf4b1e87b0a79573ba23463d;p=oota-llvm.git diff --git a/docs/Bugpoint.rst b/docs/Bugpoint.rst index 047129f4106..6bd7ff99564 100644 --- a/docs/Bugpoint.rst +++ b/docs/Bugpoint.rst @@ -1,5 +1,3 @@ -.. _bugpoint: - ==================================== LLVM bugpoint tool: design and usage ==================================== @@ -19,7 +17,7 @@ optimization (or combination of optimizations) that causes the crash, and reduce the file down to a small example which triggers the crash. For detailed case scenarios, such as debugging ``opt``, or one of the LLVM code -generators, see `How To Submit a Bug Report document `_. +generators, see :doc:`HowToSubmitABug`. Design Philosophy ================= @@ -210,7 +208,7 @@ point---a simple binary search may not be sufficient, as transformations that interact may require isolating more than one call. In TargetLowering, use ``return SDNode();`` instead of ``return false;``. -Now that that the number of transformations is down to a manageable number, try +Now that the number of transformations is down to a manageable number, try examining the output to see if you can figure out which transformations are being done. If that can be figured out, then do the usual debugging. If which code corresponds to the transformation being performed isn't obvious, set a