diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/utils/TableGen/DAGISelMatcherGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/DAGISelMatcherGen.cpp b/llvm/utils/TableGen/DAGISelMatcherGen.cpp index 3d3ae9c21eb..1f0db4fd123 100644 --- a/llvm/utils/TableGen/DAGISelMatcherGen.cpp +++ b/llvm/utils/TableGen/DAGISelMatcherGen.cpp @@ -692,7 +692,7 @@ void MatcherGen::EmitResultLeafAsOperand(const TreePatternNode *N, } if (Def->getName() == "undef_tied_input") { - std::array<MVT::SimpleValueType, 1> ResultVTs = { N->getSimpleType(0) }; + std::array<MVT::SimpleValueType, 1> ResultVTs = {{ N->getSimpleType(0) }}; std::array<unsigned, 0> InstOps; auto IDOperandNo = NextRecordedOperandNo++; AddMatcher(new EmitNodeMatcher("TargetOpcode::IMPLICIT_DEF", |

