mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-12 01:41:37 +00:00
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
This commit is contained in:
parent
f78e333712
commit
68766c39f0
@ -1350,13 +1350,6 @@ void AsmMatcherInfo::buildInfo() {
|
|||||||
if (!II->validate(CommentDelimiter, true))
|
if (!II->validate(CommentDelimiter, true))
|
||||||
continue;
|
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());
|
Matchables.push_back(II.release());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user