Richard Sandiford fa487e83a8 [SystemZ] Fold more spills
Add a mapping from register-based <INSN>R instructions to the corresponding
memory-based <INSN>.  Use it to cut down on the number of spill loads.

Some instructions extend their operands from smaller fields, so this
required a new TSFlags field to say how big the unextended operand is.

This optimisation doesn't trigger for C(G)R and CL(G)R because in practice
we always combine those instructions with a branch.  Adding a test for every
other case probably seems excessive, but it did catch a missed optimisation
for DSGF (fixed in r185435).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185529 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-03 10:10:02 +00:00
..
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-21 08:53:17 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-21 08:53:17 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-05-21 08:53:17 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-07-03 10:10:02 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00
2013-05-06 16:17:29 +00:00