[llvm-commits] [PATCH] Fix simple crashing bug in MachineInstr::getNumExplicitOperands

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed Apr 8 12:30:35 PDT 2009


On 08/04/2009, at 21.04, Dan Gohman wrote:
>
> I agree that the code in MachineInstr::getNumExplicitOperands
> looks wrong. According to ARMInstrThumb.td, tPOP_RET has variable_ops
> though, and IIRC the way things currently work is that these
> extra operands get added after the implicit operands, so I think
> this patch isn't the right fix.

In that case, maybe this was the intention?
Tested with "make check".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: machineinstr-getnumexplicitope.patch
Type: application/octet-stream
Size: 828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090408/79caa9ec/attachment.obj>
-------------- next part --------------



More information about the llvm-commits mailing list