http://llvm.org/bugs/show_bug.cgi?id=15787
Hal Finkel <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #8 from Hal Finkel <[email protected]> --- (In reply to comment #7) > (In reply to comment #6) > > I suspect the problems is here: > > > > SmallVector<std::pair<MachineOperand*, PPC::Predicate>, 4> > > OperandsToUpdate; > > SmallVector<std::pair<MachineOperand*, MachineOperand*>, 4> > > OperandsToSwap; > > > > When you add operands to an MI, all operand pointers and references are > > invalidated, just like a std::vector. > > Okay, thanks for looking at this! The OperandsToSwap array is going to go > away shortly; so I'll retest with the new version. Yep; this was the problem. Thanks again! -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
