OSDN Git Service

[SystemZ] Replace subreg_r with subreg_h
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 15 Aug 2018 15:21:23 +0000 (15:21 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 15 Aug 2018 15:21:23 +0000 (15:21 +0000)
commit9f59a11e23977194268dc2efd673ea824e289d19
treeb6c3d44cb5ba6c6b65c0e08bacde8eebed157402
parent33a5d47e0f1c64aca77f824cdac75b0529cf3aa1
[SystemZ] Replace subreg_r with subreg_h

Change
  subreg_r32  -> subreg_h32
  subreg_r64  -> subreg_h64
  subreg_hr32 -> subreg_hh32

The subregisters subreg_r32 and subreg_r64 were added to emphasize the
fact that modifying these subregisters may clobber the entire register.
This is not necessarily the case for subreg_h32, et al.

However, the ability to compose subreg_h64 with subreg_r32, and with
subreg_h32 and subreg_l32 at the same time makes the compositions be
treated as non-overlapping (leading to problems when tracking subreg
liveness). See D50468 for more details.

Differential Revision: https://reviews.llvm.org/D50725

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339778 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/SystemZ/SystemZInstrFP.td
lib/Target/SystemZ/SystemZInstrInfo.cpp
lib/Target/SystemZ/SystemZInstrVector.td
lib/Target/SystemZ/SystemZRegisterInfo.td