[llvm] r300968 - Revert: r300966 - [globalisel][tablegen] Attempt to fix builds on old MSVC's after r300964

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 05:08:26 PDT 2017


Author: dsanders
Date: Fri Apr 21 07:08:25 2017
New Revision: 300968

URL: http://llvm.org/viewvc/llvm-project?rev=300968&view=rev
Log:
Revert: r300966 - [globalisel][tablegen] Attempt to fix builds on old MSVC's after r300964

It didn't fix the builder.


Modified:
    llvm/trunk/utils/TableGen/GlobalISelEmitter.cpp

Modified: llvm/trunk/utils/TableGen/GlobalISelEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/GlobalISelEmitter.cpp?rev=300968&r1=300967&r2=300968&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/GlobalISelEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/GlobalISelEmitter.cpp Fri Apr 21 07:08:25 2017
@@ -1749,8 +1749,8 @@ void GlobalISelEmitter::run(raw_ostream
   OS << "#ifdef GET_GLOBALISEL_PREDICATE_BITSET\n"
      << "const unsigned MAX_SUBTARGET_PREDICATES = " << SubtargetFeatures.size()
      << ";\n"
-     << "typedef PredicateBitsetImpl<MAX_SUBTARGET_PREDICATES> "
-        "PredicateBitset;\n"
+     << "using PredicateBitset = "
+        "PredicateBitsetImpl<MAX_SUBTARGET_PREDICATES>;\n"
      << "#endif // ifdef GET_GLOBALISEL_PREDICATE_BITSET\n\n";
 
   OS << "#ifdef GET_GLOBALISEL_TEMPORARIES_DECL\n";




More information about the llvm-commits mailing list