[LLVMdev] Issue with Machine Verifier and earlyclobber

Borja Ferrer borja.ferav at gmail.com
Mon Jul 16 07:41:41 PDT 2012


>
> OK, I see what is happening. We don't expect foldMemoryOperand to turn a
> normal def into an early-clobber and vice versa.
>
> This is not easy to fix, could you file a PR, please?
>

Great that you found the cause.
Sure! here it is: http://llvm.org/bugs/show_bug.cgi?id=13375

As a workaround, you can use a pseudo-instruction in loadRegFromStackSlot()
> that doesn't have the early-clobber flag. Then replace it with the real
> instruction in expandPostRAPseudo().
>
>
OK, no problems with that, easy to handle.

As always thanks for your help Jakob!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120716/ebede242/attachment.html>


More information about the llvm-dev mailing list