From: Craig Topper Date: Tue, 25 Nov 2014 20:11:34 +0000 (+0000) Subject: Remove unncessary check for Int_* and *_Int in AsmMatcherEmitter. These are all marke... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=68766c39f047339a3d7f662a64909a1287a1954b;p=oota-llvm.git Remove unncessary check for Int_* and *_Int in AsmMatcherEmitter. These are all marked isCodeGenOnly these days. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222783 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp index aba01a8878d..82d08370c14 100644 --- a/utils/TableGen/AsmMatcherEmitter.cpp +++ b/utils/TableGen/AsmMatcherEmitter.cpp @@ -1350,13 +1350,6 @@ void AsmMatcherInfo::buildInfo() { if (!II->validate(CommentDelimiter, true)) continue; - // Ignore "Int_*" and "*_Int" instructions, which are internal aliases. - // - // FIXME: This is a total hack. - if (StringRef(II->TheDef->getName()).startswith("Int_") || - StringRef(II->TheDef->getName()).endswith("_Int")) - continue; - Matchables.push_back(II.release()); }