diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-03-09 23:53:17 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-03-09 23:53:17 +0000 |
commit | 02d7c9298298f7f8fba1427f249deb2106126e9c (patch) | |
tree | 94acfbf624e66c2973b4d28cc9a06889f8b2d9b4 /include | |
parent | 0f24d49acae52fc66f72136bbe4891a9a8c9cd36 (diff) | |
download | external_llvm-02d7c9298298f7f8fba1427f249deb2106126e9c.zip external_llvm-02d7c9298298f7f8fba1427f249deb2106126e9c.tar.gz external_llvm-02d7c9298298f7f8fba1427f249deb2106126e9c.tar.bz2 |
Revert 127368 and 127371 for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetRegisterInfo.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/llvm/Target/TargetRegisterInfo.h b/include/llvm/Target/TargetRegisterInfo.h index d06cdc4..1c5d7c7 100644 --- a/include/llvm/Target/TargetRegisterInfo.h +++ b/include/llvm/Target/TargetRegisterInfo.h @@ -588,13 +588,11 @@ public: } /// getCrossCopyRegClass - Returns a legal register class to copy a register - /// in the specified class to or from. If it is possible to copy the register - /// directly without using a cross register class copy, return the specified - /// RC. Returns NULL if it is not possible to copy between a two registers of - /// the specified class. + /// in the specified class to or from. Returns NULL if it is possible to copy + /// between a two registers of the specified class. virtual const TargetRegisterClass * getCrossCopyRegClass(const TargetRegisterClass *RC) const { - return RC; + return NULL; } /// getRegPressureLimit - Return the register pressure "high water mark" for |