mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
look up instructions by record, not by name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -627,7 +627,7 @@ EmitResultInstructionAsOperand(const TreePatternNode *N,
|
||||
SmallVectorImpl<unsigned> &OutputOps) {
|
||||
Record *Op = N->getOperator();
|
||||
const CodeGenTarget &CGT = CGP.getTargetInfo();
|
||||
CodeGenInstruction &II = CGT.getInstruction(Op->getName());
|
||||
CodeGenInstruction &II = CGT.getInstruction(Op);
|
||||
const DAGInstruction &Inst = CGP.getInstruction(Op);
|
||||
|
||||
// If we can, get the pattern for the instruction we're generating. We derive
|
||||
|
||||
Reference in New Issue
Block a user