[LLVMdev] Problem in X86 backend (original) (raw)

Rinaldini Julien julien.rinaldini at heig-vd.ch
Wed Oct 29 02:58:38 PDT 2014


Your problem is that kill flag on RDI. Indeed, this is not the last use of RDI in your case and because you set this flag, when jumping to BB#4, the compiler thinks that > RDI is not defined.

Also, I am not sure what you are trying to achieve, but are you sure you always want to use RDI? In this case, should it be vreg7 for instance? -Quentin

Hi, thx for your answer...

I figured it that out... In fact I changed my code and now I'm using a virtual register, but I still have a problem :( (http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-October/078315.html)

I'm trying to erase the content of the stack in the epilogue of the function...

Cheers



More information about the llvm-dev mailing list