summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/avoid-predspill.ll
Commit message (Collapse)AuthorAgeFilesLines
* [Hexagon] Optimize stack slot spillsKrzysztof Parzyszek2016-02-121-3/+0
| | | | | | | | | | | | | | 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
* [Hexagon] Replace expansion of spill pseudo-instructions in frame loweringKrzysztof Parzyszek2016-02-121-0/+3
| | | | | | | | | Rewrite the code to handle all pseudo-instructions in a single pass. This temporarily reverts spill slot optimization that used general- purpose registers to hold values of spilled predicate registers. llvm-svn: 260696
* [Hexagon] Use general purpose registers to spill pred/mod registers intoKrzysztof Parzyszek2016-01-221-0/+42
Patch by Tobias Edler Von Koch. llvm-svn: 258527
OpenPOWER on IntegriCloud