[PATCH] [X86][SSE] Vector integer/float conversion memory folding

Simon Pilgrim llvm-dev at redking.me.uk
Tue Oct 28 12:40:30 PDT 2014


Updated test so that we don't use non-native vector types as arguments - now uses pointers to load/store instead.

We need to keep to this basic pattern to ensure we spill a lot to stack and the 'big vectors' approach drastically helps makes this simple to understand. Using a more basic load/cvt/store pattern would mean that it wouldn't be the memory folding code thats being tested - the load-execute version of the instruction from the tables would be matched much earlier instead.

http://reviews.llvm.org/D5981

Files:
  lib/Target/X86/X86InstrInfo.cpp
  test/CodeGen/X86/avx1-stack-reload-folding.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5981.15528.patch
Type: text/x-patch
Size: 3182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141028/5eb5edd6/attachment.bin>


More information about the llvm-commits mailing list