diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-06-15 00:20:40 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-06-15 00:20:40 +0000 |
commit | 7b9cafde5e3faec22bbfbbc90cca0876968abad9 (patch) | |
tree | 3799aac0ece80d63d64d22d24487f6e5478de834 /utils/TableGen/FastISelEmitter.cpp | |
parent | 189531f317d0b3a082f78cc2da44128e4ff8e17d (diff) | |
download | llvm-7b9cafde5e3faec22bbfbbc90cca0876968abad9.tar.gz llvm-7b9cafde5e3faec22bbfbbc90cca0876968abad9.tar.bz2 llvm-7b9cafde5e3faec22bbfbbc90cca0876968abad9.tar.xz |
Move the list of register classes into CodeGenRegBank as well.
No functional change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/FastISelEmitter.cpp')
-rw-r--r-- | utils/TableGen/FastISelEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/FastISelEmitter.cpp b/utils/TableGen/FastISelEmitter.cpp index 78ac556bd1..6c2a76734c 100644 --- a/utils/TableGen/FastISelEmitter.cpp +++ b/utils/TableGen/FastISelEmitter.cpp @@ -250,7 +250,7 @@ struct OperandsSignature { if (OpLeafRec->isSubClassOf("RegisterClass")) RC = &Target.getRegisterClass(OpLeafRec); else if (OpLeafRec->isSubClassOf("Register")) - RC = Target.getRegisterClassForRegister(OpLeafRec); + RC = Target.getRegBank().getRegClassForRegister(OpLeafRec); else return false; |