summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-04-21 11:29:29 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-04-21 11:29:29 +0000
commit0cd1b539bcff45a94a5e1e8b71985d0f1a4dc455 (patch)
tree8437f4e5c74722aaeb5d0cb16249e24ff39cdfe1 /llvm/utils
parent9e6c00194f178873de75b1f44a7eba3d98243d68 (diff)
downloadbcm5719-llvm-0cd1b539bcff45a94a5e1e8b71985d0f1a4dc455.tar.gz
bcm5719-llvm-0cd1b539bcff45a94a5e1e8b71985d0f1a4dc455.zip
[globalisel][tablegen] Attempt to fix builds on old MSVC's after r300964
This should fix llvm-clang-x86_64-expensive-checks-win llvm-svn: 300966
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/TableGen/GlobalISelEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/GlobalISelEmitter.cpp b/llvm/utils/TableGen/GlobalISelEmitter.cpp
index 312b3a69c71..70552e20893 100644
--- a/llvm/utils/TableGen/GlobalISelEmitter.cpp
+++ b/llvm/utils/TableGen/GlobalISelEmitter.cpp
@@ -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";
OpenPOWER on IntegriCloud