Index: utils/TableGen/CodeEmitterGen.cpp =================================================================== --- utils/TableGen/CodeEmitterGen.cpp +++ utils/TableGen/CodeEmitterGen.cpp @@ -189,7 +189,7 @@ std::string Case; BitsInit *BI = R->getValueAsBitsInit("Inst"); - const std::vector &Vals = R->getValues(); + ArrayRef Vals = R->getValues(); unsigned NumberedOp = 0; std::set NamedOpIndices;