[LLVMdev] Splitting a load with 2 consumers into 2 loads.

Joseph Pusdesris joe at pusdesris.com
Fri Nov 30 18:55:16 PST 2012


Hi, I am writing an llvm target and I need both loads for isel reasons, but
I am struggling to find the right way.  I have been trying to
use DAG.getLoad() to make a copy, then just change the operand in the
consumers, but I cannot seem to get all of the arguments needed for that
function in order to make the copy.  Any help would be great, thanks!
-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121130/a812506f/attachment.html>


More information about the llvm-dev mailing list