diff options
Diffstat (limited to 'utils/TableGen/CodeGenDAGPatterns.cpp')
-rw-r--r-- | utils/TableGen/CodeGenDAGPatterns.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/TableGen/CodeGenDAGPatterns.cpp b/utils/TableGen/CodeGenDAGPatterns.cpp index 13ac6b15ba..a08cde60fb 100644 --- a/utils/TableGen/CodeGenDAGPatterns.cpp +++ b/utils/TableGen/CodeGenDAGPatterns.cpp @@ -657,8 +657,6 @@ std::string TreePredicateFn::getCodeToRunOnSDNode() const { if (!ImmCode.empty()) { std::string Result = " int64_t Imm = cast<ConstantSDNode>(Node)->getSExtValue();\n"; - if (ImmCode.find("VT") != std::string::npos) - Result += " MVT VT = Node->getValueType(0).getSimpleVT();\n"; return Result + ImmCode; } |