aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-11 19:52:27 +0000
committerChris Lattner <sabre@nondot.org>2006-01-11 19:52:27 +0000
commit8020a5233cbdc20f5262467831256b97803f8e57 (patch)
treebb2b3da1803e60383d978e9fbac6bd6fbe7962f0 /utils/TableGen
parent413b979fe4b3482f347fc7b613d7dcda81e34874 (diff)
downloadexternal_llvm-8020a5233cbdc20f5262467831256b97803f8e57.zip
external_llvm-8020a5233cbdc20f5262467831256b97803f8e57.tar.gz
external_llvm-8020a5233cbdc20f5262467831256b97803f8e57.tar.bz2
Always select target registers to themselves
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index 75780c4..228f6bf 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -2547,6 +2547,7 @@ void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
<< " default: break;\n"
<< " case ISD::EntryToken: // These leaves remain the same.\n"
<< " case ISD::BasicBlock:\n"
+ << " case ISD::Register:\n"
<< " return N;\n"
<< " case ISD::AssertSext:\n"
<< " case ISD::AssertZext: {\n"