diff options
| author | Craig Topper <craig.topper@gmail.com> | 2014-11-25 20:11:34 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2014-11-25 20:11:34 +0000 |
| commit | 6a257d78dd2f974c48e2834a11c367d7c5097f6d (patch) | |
| tree | 8fd8df0821bbe1045d8eef6d6bf20ebcb90f9261 /llvm/utils | |
| parent | 03ec80112617304230ca3b7d62307f78dc991e98 (diff) | |
| download | bcm5719-llvm-6a257d78dd2f974c48e2834a11c367d7c5097f6d.tar.gz bcm5719-llvm-6a257d78dd2f974c48e2834a11c367d7c5097f6d.zip | |
Remove unncessary check for Int_* and *_Int in AsmMatcherEmitter. These are all marked isCodeGenOnly these days.
llvm-svn: 222783
Diffstat (limited to 'llvm/utils')
| -rw-r--r-- | llvm/utils/TableGen/AsmMatcherEmitter.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp index aba01a8878d..82d08370c14 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()); } |

