[llvm-commits] [llvm] r162060 - in /llvm/trunk/lib/Target/ARM: ARMBaseInstrInfo.cpp ARMBaseInstrInfo.h ARMISelLowering.cpp ARMInstrInfo.td ARMInstrThumb2.td

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Aug 17 07:48:11 PDT 2012


On Aug 17, 2012, at 5:21 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote:

> Hi Jacob
> 
>> +  assert((MI->getOpcode() == ARM::MOVCCr || MI->getOpcode() == ARM::t2MOVCCr) &&
>> +         "Unknown select instruction");
> Somehow MI is uninitialized here. I'm seeing a lot of assertions while
> compiling for Cortex-A9. I will try to reduce the testcase and try
> some valgrind'ing.

Peephole had an iterator to an erased MI. Should be fixed in r162099.

Valgrind may have trouble with this since we recycle erased MIs. They aren't deleted.

Thanks,

/jakob





More information about the llvm-commits mailing list