summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-03-09 23:15:40 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-03-09 23:15:40 +0000
commita319876559a389530a10739fcca6c24c297bcc30 (patch)
treed610206b1625d41bdec5f297644648a6003593c4 /llvm/include
parent4b8093ab5e3337b8f56c246903d76c10513fb541 (diff)
downloadbcm5719-llvm-a319876559a389530a10739fcca6c24c297bcc30.tar.gz
bcm5719-llvm-a319876559a389530a10739fcca6c24c297bcc30.zip
Restore the default implementation of getCrossCopyRegClass: no need for cross-regclass copies.
llvm-svn: 127371
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Target/TargetRegisterInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Target/TargetRegisterInfo.h b/llvm/include/llvm/Target/TargetRegisterInfo.h
index 4c63568786b..d06cdc4e8e5 100644
--- a/llvm/include/llvm/Target/TargetRegisterInfo.h
+++ b/llvm/include/llvm/Target/TargetRegisterInfo.h
@@ -594,7 +594,7 @@ public:
/// the specified class.
virtual const TargetRegisterClass *
getCrossCopyRegClass(const TargetRegisterClass *RC) const {
- return NULL;
+ return RC;
}
/// getRegPressureLimit - Return the register pressure "high water mark" for
OpenPOWER on IntegriCloud