summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/TargetRegisterInfo.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Target/TargetRegisterInfo.cpp b/llvm/lib/Target/TargetRegisterInfo.cpp
index e69496f4b28..3f44a0cb5a3 100644
--- a/llvm/lib/Target/TargetRegisterInfo.cpp
+++ b/llvm/lib/Target/TargetRegisterInfo.cpp
@@ -29,16 +29,6 @@ TargetRegisterInfo::TargetRegisterInfo(const TargetRegisterDesc *D, unsigned NR,
CallFrameSetupOpcode = CFSO;
CallFrameDestroyOpcode = CFDO;
-
- for (unsigned i = 0; i < NumRegs; ++i) {
- const TargetRegisterDesc* CurrReg = Desc + i;
-
- // Initialize the Subregs set, which stores pairs (a, b) where
- // b is a subreg of a.
- if (CurrReg->SubRegs)
- for (const unsigned* CurrSR = CurrReg->SubRegs; *CurrSR; ++CurrSR)
- Subregs.insert(std::make_pair(i, *CurrSR));
- }
}
TargetRegisterInfo::~TargetRegisterInfo() {}
OpenPOWER on IntegriCloud