mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-01 12:24:24 +00:00
Don't require pseudo-instructions to carry encoding information.
For now this is distinct from isCodeGenOnly, as code-gen-only instructions can (and often do) still have encoding information associated with them. Once we've migrated all of them over to true pseudo-instructions that are lowered to real instructions prior to the printer/emitter, we can remove isCodeGenOnly and just use isPseudo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134539 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -421,6 +421,9 @@ public:
|
||||
protected:
|
||||
// Populates the insn given the uid.
|
||||
void insnWithID(insn_t &Insn, unsigned Opcode) const {
|
||||
if (AllInstructions[Opcode]->isPseudo)
|
||||
return;
|
||||
|
||||
BitsInit &Bits = getBitsField(*AllInstructions[Opcode]->TheDef, "Inst");
|
||||
|
||||
for (unsigned i = 0; i < BIT_WIDTH; ++i)
|
||||
|
Reference in New Issue
Block a user