[globalisel][tablegen] Attempt to fix builds on old MSVC's after r300964
authorDaniel Sanders <daniel_l_sanders@apple.com>
Fri, 21 Apr 2017 11:29:29 +0000 (11:29 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Fri, 21 Apr 2017 11:29:29 +0000 (11:29 +0000)
This should fix llvm-clang-x86_64-expensive-checks-win

llvm-svn: 300966

llvm/utils/TableGen/GlobalISelEmitter.cpp

index 312b3a6..70552e2 100644 (file)
@@ -1749,8 +1749,8 @@ void GlobalISelEmitter::run(raw_ostream &OS) {
   OS << "#ifdef GET_GLOBALISEL_PREDICATE_BITSET\n"
      << "const unsigned MAX_SUBTARGET_PREDICATES = " << SubtargetFeatures.size()
      << ";\n"
-     << "using PredicateBitset = "
-        "PredicateBitsetImpl<MAX_SUBTARGET_PREDICATES>;\n"
+     << "typedef PredicateBitsetImpl<MAX_SUBTARGET_PREDICATES> "
+        "PredicateBitset;\n"
      << "#endif // ifdef GET_GLOBALISEL_PREDICATE_BITSET\n\n";
 
   OS << "#ifdef GET_GLOBALISEL_TEMPORARIES_DECL\n";