[PATCH] D13749: x86 atomic codegen: don't drop globals

Pete Cooper via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 14 15:41:02 PDT 2015


pete added a comment.

In http://reviews.llvm.org/D13749#267471, @jfb wrote:

> The following bug is similar: https://llvm.org/bugs/show_bug.cgi?id=25144
>  Except in that one oeprand 0 is a FrameIndex, not a register.


Ah, yeah in that case I guess just do MIM.addOperand(MI->getOperand(0)) and it'll handle anything you give it.


http://reviews.llvm.org/D13749





More information about the llvm-commits mailing list