summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2015-01-16 09:32:54 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2015-01-16 09:32:54 +0000
commit367db8eec67ccb8a4fdedb0848a3dd9eefb3e09b (patch)
treea22ad85fdc81ee21166a611b2e11a96ff5c584d4 /lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp
parentdb20539d3a91e13838143ffcd68e8554c44e6f0c (diff)
downloadbcm5719-llvm-367db8eec67ccb8a4fdedb0848a3dd9eefb3e09b.tar.gz
bcm5719-llvm-367db8eec67ccb8a4fdedb0848a3dd9eefb3e09b.zip
[X86] Refactored stack memory folding tests to explicitly force register spilling
The current 'big vectors' stack folded reload testing pattern is very bulky and makes it difficult to test all instructions as big vectors will tend to use only the ymm instruction implementations. This patch changes the tests to use a nop call that lists explicit xmm registers as sideeffects, with this we can force a partial register spill of the relevant registers and then check that the reload is correctly folded. The asm generated only adds the forced spill, a nop instruction and a couple of extra labels (a fraction of the current approach). More exhaustive tests will follow shortly, I've added some extra tests (the xmm versions of some of the existing folding tests) as a starting point. Differential Revision: http://reviews.llvm.org/D6932 llvm-svn: 226264
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud