[PATCH] [X86] Memory folding for commutative instructions.
llvm-dev at redking.me.uk
Fri Oct 10 06:57:00 PDT 2014
I've added error handling code for commuteInstruction returning nullptr or a new MachineInstr*, both before and after the commuted folding attempt. This appears to be enough and we don't need to alter either the commute or folding call arguments to support it - we can keep to in-place instruction commutes only.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7779 bytes
Desc: not available
More information about the llvm-commits