diff options
author | Craig Topper <craig.topper@gmail.com> | 2016-12-12 07:57:21 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2016-12-12 07:57:21 +0000 |
commit | f2c6f7abf32a5082af0ad42e5c094f28275aeb9a (patch) | |
tree | 253165ff6a082f68d907b45edfab8aac748fde9e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | eb4cc23fcd5b71b77ad3cac2dd0ecfbf84f0b404 (diff) | |
download | llvm-f2c6f7abf32a5082af0ad42e5c094f28275aeb9a.zip llvm-f2c6f7abf32a5082af0ad42e5c094f28275aeb9a.tar.gz llvm-f2c6f7abf32a5082af0ad42e5c094f28275aeb9a.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions