[PATCH] Added more insertps optimizations

Filipe Cabecinhas filcab+llvm.phabricator at gmail.com
Fri May 16 09:05:05 PDT 2014

Hi Andrea,

Wouldn't the tablegen patterns be problematic when we use the load result
several times?
If we use it several times, then we shouldn't generate additional loads. Or
do you think it doesn't matter since they should be close together, since
we're generating for one BB only?

That was the reasoning behind doing it with code and guarding them with
MayFoldLoad, which includes hasOneUse().

I'll add the AVX tests today.



More information about the llvm-commits mailing list