summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-02-12 22:53:35 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-02-12 22:53:35 +0000
commit7793ddb0432c9fa2637066387d4716ee2d866555 (patch)
tree57e6ef3a86e4b7e13ade1b22e930bdadf5148a11 /llvm/lib/Target/WebAssembly
parent1ced5095e4c621373ec4d24927216af67a28fe37 (diff)
downloadbcm5719-llvm-7793ddb0432c9fa2637066387d4716ee2d866555.tar.gz
bcm5719-llvm-7793ddb0432c9fa2637066387d4716ee2d866555.zip
[Hexagon] Optimize stack slot spills
Replace spills to memory with spills to registers, if possible. This applies mostly to predicate registers (both scalar and vector), since they are very limited in number. A spill of a predicate register may happen even if there is a general-purpose register available. In cases like this the stack spill/reload may be eliminated completely. This optimization will consider all stack objects, regardless of where they came from and try to match the live range of the stack slot with a dead range of a register from an appropriate register class. llvm-svn: 260758
Diffstat (limited to 'llvm/lib/Target/WebAssembly')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud