[X86] Change CMPSS/CMPSD intrinsic instructions to use sse_load_f32/f64 as its memory...
authorCraig Topper <craig.topper@gmail.com>
Mon, 12 Dec 2016 07:57:21 +0000 (07:57 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 12 Dec 2016 07:57:21 +0000 (07:57 +0000)
commitf2c6f7abf32a5082af0ad42e5c094f28275aeb9a
tree253165ff6a082f68d907b45edfab8aac748fde9e
parenteb4cc23fcd5b71b77ad3cac2dd0ecfbf84f0b404
[X86] Change CMPSS/CMPSD intrinsic instructions to use sse_load_f32/f64 as its memory pattern instead of full vector load.

These intrinsics only load a single element. We should use sse_loadf32/f64 to give more options of what loads it can match.

Currently these instructions are often only getting their load folded thanks to the load folding in the peephole pass. I plan to add more types of loads to sse_load_f32/64 so we can match without the peephole.

llvm-svn: 289423
llvm/lib/Target/X86/X86InstrSSE.td