[LLVMdev] misc CVS patches
sabre at nondot.org
Thu Apr 21 09:28:17 PDT 2005
On Wed, 20 Apr 2005, Markus F.X.J. Oberhumer wrote:
> Misha Brukman wrote:
>> On Tue, Apr 19, 2005 at 07:01:40AM +0200, Markus F.X.J. Oberhumer wrote:
>>> While trying to hunt down a codegen bug (not yet found) ...
>> Have you considered using bugpoint for your codegen debugging needs?
> Well, the (critical) bug in question was
> http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=548 , and I'm not sure if
> bugpoint could have helped me reducing the testcase down from a huge program.
> But then, I've never looked too closely - is there a small tutorial ?
Misha pointed out this document, which has the basics:
This document contains more detail:
Like Misha said, bugpoint can track down problems in the JIT, in the
native code generators, or in optimization passes. Generally reducing the
"problem" down to an individual function, a loop, a basic block, or even a
few llvm instructions depending on what is necessary to reproduce the
For people that are doing llvm optimizer and codegen development, I highly
recommend looking into it. :)
More information about the llvm-dev