aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-09-11 09:01:57 +0000
committerOwen Anderson <resistor@mac.com>2009-09-11 09:01:57 +0000
commit69110c90bf74e29ca0c5173597a4813bd65475c4 (patch)
treec003718889f1b229d1247bf10c3752e803b857b9 /utils
parentb1b4c0187bc0e0da4f5b51602ae368d3a5f4f441 (diff)
downloadexternal_llvm-69110c90bf74e29ca0c5173597a4813bd65475c4.zip
external_llvm-69110c90bf74e29ca0c5173597a4813bd65475c4.tar.gz
external_llvm-69110c90bf74e29ca0c5173597a4813bd65475c4.tar.bz2
Eliminate some unnecessary implicit constructors in generated DAG ISel code.
Partial fix for PR4946. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index 95df746..d4cd166 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -1776,7 +1776,7 @@ void DAGISelEmitter::EmitInstructionSelector(raw_ostream &OS) {
CallerCode += ", " + TargetOpcodes[j];
}
for (unsigned j = 0, e = TargetVTs.size(); j != e; ++j) {
- CalleeCode += ", EVT VT" + utostr(j);
+ CalleeCode += ", MVT::SimpleValueType VT" + utostr(j);
CallerCode += ", " + TargetVTs[j];
}
for (std::set<std::string>::iterator