[PATCH] [X86] Teach load folding to accept scalar _Int users of MOVSS/MOVSD.
ahmed.bougacha at gmail.com
Thu Jun 18 16:38:48 PDT 2015
This fixes PR23349: the _Int instructions are special, in that they operate on the full VR128 instead of FR32. The load folding then looks at MOVSS, at the user, and bails out when it sees a size mismatch.
What we really know is that the rm_Int instructions don't load the higher lanes, so folding is fine.
This happens for the straightforward intrinsic code, e.g.:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7594 bytes
Desc: not available
More information about the llvm-commits