[LLVMdev] -debug and -print-machineinstrs broken
Dan Gohman
gohman at apple.com
Fri Nov 13 14:28:27 PST 2009
On Nov 13, 2009, at 1:49 PM, David Greene wrote:
> On Friday 13 November 2009 15:17, you wrote:
>>> Are these known to be broken right now? I get failure when using either.
>>>
>>> $ llc -march=arm -print-machineinstrs hw.bc
>>
>> Seems due to David's patches.
>
> Ok, it's faulting in SlotTracker with what looks like a bad Function. One of
> the Argument values is corrupted.
>
> I'm not abdicating responsibility, but at the moment I don't see the
> connection to my patches. Anton, are you seeing something specific
> as to the cause?
>
> I will keep investigating.
The cause was isa<Instruction> was returning true for the new
FixedStackPseudoSourceValue values. I fixed it on trunk, and
added a comment to hopefully protect against others making
this mistake in the future.
Dan
More information about the llvm-dev
mailing list