Cranmer, Joshua via llvm-dev
2019-Jul-22 16:03 UTC
[llvm-dev] Fwd: bugpoint can't automatically select a safe interpreter!
> -----Original Message----- > From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Justin > Bogner via llvm-dev > Sent: Monday, July 22, 2019 11:44 > To: Jay Foad via llvm-dev <llvm-dev at lists.llvm.org> > Subject: Re: [llvm-dev] Fwd: bugpoint can't automatically select a safe > interpreter! > > Bugpoint's user interface is notoriously complex. I'm not sure why it's going > the safe interpreter route instead of reducing the crash, but I'd recommend > trying the custom scripts approach in this article for reducing something like > this:IIRC, bugpoint tries to initialize the execution environment (i.e., using the JIT) before checking if the codegen phases crashes. So if you have a target that doesn't support JIT execution, you're stuck using custom scripts instead.
Jay Foad via llvm-dev
2019-Jul-22 16:11 UTC
[llvm-dev] Fwd: bugpoint can't automatically select a safe interpreter!
On Mon, 22 Jul 2019 at 17:03, Cranmer, Joshua via llvm-dev <llvm-dev at lists.llvm.org> wrote:> > > -----Original Message----- > > From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Justin > > Bogner via llvm-dev > > Sent: Monday, July 22, 2019 11:44 > > To: Jay Foad via llvm-dev <llvm-dev at lists.llvm.org> > > Subject: Re: [llvm-dev] Fwd: bugpoint can't automatically select a safe > > interpreter! > > > > Bugpoint's user interface is notoriously complex. I'm not sure why it's going > > the safe interpreter route instead of reducing the crash, but I'd recommend > > trying the custom scripts approach in this article for reducing something like > > this: > > IIRC, bugpoint tries to initialize the execution environment (i.e., using the JIT) before checking if the codegen phases crashes. So if you have a target that doesn't support JIT execution, you're stuck using custom scripts instead.Yeah but... it crashes in generic IR passes, so why would it get as far as codegen? Jay.
Finkel, Hal J. via llvm-dev
2019-Jul-22 16:35 UTC
[llvm-dev] Fwd: bugpoint can't automatically select a safe interpreter!
On 7/22/19 11:03 AM, Cranmer, Joshua via llvm-dev wrote:>> -----Original Message----- >> From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Justin >> Bogner via llvm-dev >> Sent: Monday, July 22, 2019 11:44 >> To: Jay Foad via llvm-dev <llvm-dev at lists.llvm.org> >> Subject: Re: [llvm-dev] Fwd: bugpoint can't automatically select a safe >> interpreter! >> >> Bugpoint's user interface is notoriously complex. I'm not sure why it's going >> the safe interpreter route instead of reducing the crash, but I'd recommend >> trying the custom scripts approach in this article for reducing something like >> this: > IIRC, bugpoint tries to initialize the execution environment (i.e., using the JIT) before checking if the codegen phases crashes. So if you have a target that doesn't support JIT execution, you're stuck using custom scripts instead.bugpoint's defaults aren't good, unfortunately. You should just need to use the -llc-safe flag, and that will avoid the "can't automatically select a safe interpreter" error. -Hal> _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-- Hal Finkel Lead, Compiler Technology and Programming Languages Leadership Computing Facility Argonne National Laboratory
Jay Foad via llvm-dev
2019-Jul-23 07:29 UTC
[llvm-dev] Fwd: bugpoint can't automatically select a safe interpreter!
> You should just need to > use the -llc-safe flag, and that will avoid the "can't automatically > select a safe interpreter" error.Yes, that works too, thanks. It wasn't at all obvious from reading the -help. Jay.