>>> +      BuildMI(MBB, MBB.end(), TM.getInstrInfo()->get(PPC::NOP));
>>> +  }
>>
>> Is there any reason to actually make a machineinstr here?  It seems
>> like it would be possible to just emit "nop" to the .s file.  The JIT
>> doesn't need this.
>>
> I initially had that, but I thought that it would be better to do
> things though the "print machine instruction" function just so I got
> the syntax correct. But nop is probably safe to emit like that.

"nop" is valid on arm, thanks.

-Chris

_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to