diff options
author | Philip Reames <listmail@philipreames.com> | 2016-12-13 01:38:41 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2016-12-13 01:38:41 +0000 |
commit | 1f1bbac8dac99605128981effa3edebb03099916 (patch) | |
tree | ca5bdef2ba7734d606841a178dd32dc2be72be57 /llvm/lib/Transforms/Vectorize/Vectorize.cpp | |
parent | 51387a8c28ca43ceadd29aa58fde8fe1103f9a2a (diff) | |
download | bcm5719-llvm-1f1bbac8dac99605128981effa3edebb03099916.tar.gz bcm5719-llvm-1f1bbac8dac99605128981effa3edebb03099916.zip |
[peephole] Enhance folding logic to work for STATEPOINTs
The general idea here is to get enough of the existing restrictions out of the way that the already existing folding logic in foldMemoryOperand can kick in for STATEPOINTs and fold references to immutable stack slots. The key changes are:
Support for folding multiple operands at once which reference the same load
Support for folding multiple loads into a single instruction
Walk all the operands of the instruction for varidic instructions (this is a bug fix!)
Once this lands, I'll post another patch which refactors the TII interface here. There's nothing actually x86 specific about the x86 code used here.
Differential Revision: https://reviews.llvm.org/D24103
llvm-svn: 289510
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/Vectorize.cpp')
0 files changed, 0 insertions, 0 deletions