[llvm-dev] Bugpoint Redesign
David Greene via llvm-dev
llvm-dev at lists.llvm.org
Tue Jun 11 11:28:48 PDT 2019
"Finkel, Hal J. via llvm-dev" <llvm-dev at lists.llvm.org> writes:
>> I've always just generated .ll files and linked them manually before
>> starting the bugpoint process. I'd think it would be straightforward to
>> have bugpoint/whatever take a set of input files and do the link step
>> itself.
>
> You linked them with llvm-link? That can change the result because of
> inlining, etc.
True. It's been a very long time since I've done this (like a decade).
> I've also created wrapper scripts to link in other .ll files, etc. but
> the problem is that, often, I don't know in which .ll file is the
> miscompiled code. Maybe I should have automated this a long time ago,
> but I've always ended up writing shell scripts to try to iterate over
> all of the .ll files and run bugpoint on each one in turn (linking in
> the remaining ones) to try to find the one being miscompiled. One
> problem, of course, is that this scales poorly - a binary search would
> be better.
Yes, this would be nice functionality to have.
-David
More information about the llvm-dev
mailing list