Displaying 2 results from an estimated 2 matches for "run_llc".
Did you mean:
run_dlg
2018 Jul 31
4
bugpoint --tool-args and --safe-tool-args
This is what works for me, when I want to reduce an llc failure triggering a failure with a "foo bar baz" in the assert message (the grep for the error message avoids reducing to an unrelated failure):
$ cat run_llc.sh
#!/bin/sh
if ! $HOME/dev/llvm/build/bin/llc "$@" 2>&1 | grep "foo bar baz"; then
exit 0
else
exit $?
fi
$ PATH=$HOME/path/to/my/llvm/build/bin:$PATH bugpoint -compile-custom -compile-command ./run_llc.sh test.ll
- Matthias
> On Jul 31, 2018, at 11:03 AM, Fried...
2018 Jul 31
2
bugpoint --tool-args and --safe-tool-args
I have a failing test and bugpoint would be the perfect tool to help
narrow it down.
llc is the failing tool. It fails with one set of options and passes
with another. I was hoping to use bugpoint like this:
bugpoint -safe-llc -run-llc <testcase> -tool-args <failing args> -safe-tool-args <passing args>
Unfortunately, this doesn't seem to be possible. According to the