[PATCH] [X86] Memory folding for commutative instructions.
llvm-dev at redking.me.uk
Thu Oct 9 11:29:06 PDT 2014
Tidied up check for commutative instructions - we can avoid isCommutable and use findCommutedOpIndices directly and then fold anything that is commutable under certain cases (e.g. FMA instructions).
Added the missing test case.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7094 bytes
Desc: not available
More information about the llvm-commits