[llvm-dev] Fwd: bugpoint can't automatically select a safe interpreter!

Finkel, Hal J. via llvm-dev llvm-dev at lists.llvm.org
Mon Jul 22 09:35:46 PDT 2019


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



More information about the llvm-dev mailing list