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://review.tizen.org/git/?a=commitdiff_plain;h=6a257d78dd2f974c48e2834a11c367d7c5097f6d;p=platform%2Fupstream%2Fllvm.git Remove unncessary check for Int_* and *_Int in AsmMatcherEmitter. These are all marked isCodeGenOnly these days. llvm-svn: 222783 --- diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp index aba01a8..82d0837 100644 --- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp +++ b/llvm/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()); }