mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218324 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7024c7e949
commit
226537a1d0
@ -1146,9 +1146,10 @@ bool SIInstrInfo::isOperandLegal(const MachineInstr *MI, unsigned OpIdx,
|
||||
// Handle non-register types that are treated like immediates.
|
||||
assert(MO->isImm() || MO->isFPImm() || MO->isTargetIndex() || MO->isFI());
|
||||
|
||||
if (!DefinedRC)
|
||||
// This opperand expects an immediate
|
||||
if (!DefinedRC) {
|
||||
// This operand expects an immediate.
|
||||
return true;
|
||||
}
|
||||
|
||||
return RI.regClassCanUseImmediate(DefinedRC);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user