diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-11-02 00:11:39 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-11-02 00:11:39 +0000 |
commit | 3a639a07ea14f2e404fb1d3a14005ff468543911 (patch) | |
tree | beccc61209f2d28cd9ced4e1370eb8cfcad99c91 /utils | |
parent | 2e1da9fea468e33f8fedd4295ef4a73a0ccb5714 (diff) | |
download | external_llvm-3a639a07ea14f2e404fb1d3a14005ff468543911.zip external_llvm-3a639a07ea14f2e404fb1d3a14005ff468543911.tar.gz external_llvm-3a639a07ea14f2e404fb1d3a14005ff468543911.tar.bz2 |
Do not infer the target type for COPY_TO_REGCLASS from dest regclass, this won't work if it can contain several types. Require explicit result type for the node for now. This fixes PR5364.
PS: It seems that blackfin usage of copy_to_regclass is completely bogus!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/CodeGenDAGPatterns.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/TableGen/CodeGenDAGPatterns.cpp b/utils/TableGen/CodeGenDAGPatterns.cpp index 6b8ceae..fab41c5 100644 --- a/utils/TableGen/CodeGenDAGPatterns.cpp +++ b/utils/TableGen/CodeGenDAGPatterns.cpp @@ -915,7 +915,6 @@ bool TreePatternNode::ApplyTypeConstraints(TreePattern &TP, bool NotRegisters) { bool MadeChange = false; MadeChange |= getChild(0)->ApplyTypeConstraints(TP, NotRegisters); MadeChange |= getChild(1)->ApplyTypeConstraints(TP, NotRegisters); - MadeChange |= UpdateNodeType(getChild(1)->getTypeNum(0), TP); return MadeChange; } else if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) { bool MadeChange = false; |