Richard Sandiford 65ddcfa8c1 [SystemZ] Prefer LHI;ST... over LAY;MV...
If we had a store of an integer to memory, and the integer and store size
were suitable for a form of MV..., we used MV... no matter what.  We could
then have sequences like:

    lay %r2, 0(%r3,%r4)
    mvi 0(%r2), 4

In these cases it seems better to force the constant into a register
and use a normal store:

    lhi %r2, 4
    stc %r2, 0(%r3, %r4)

since %r2 is more likely to be hoisted and is easier to rematerialize.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189098 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-23 11:18:53 +00:00
..
2013-07-19 16:21:55 +00:00
2013-07-19 16:24:22 +00:00
2013-07-19 16:24:22 +00:00
2013-07-19 16:32:12 +00:00
2013-07-19 16:32:12 +00:00
2013-07-19 16:21:55 +00:00
2013-07-19 16:24:22 +00:00
2013-07-19 16:24:22 +00:00
2013-07-18 10:40:35 +00:00
2013-07-18 10:06:15 +00:00
2013-07-19 16:21:55 +00:00
2013-07-19 16:24:22 +00:00
2013-07-19 16:24:22 +00:00