mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
these are copies too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26653 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
79cdfa3ee2
commit
ddc877ccae
@ -26,7 +26,11 @@ bool AlphaInstrInfo::isMoveInstr(const MachineInstr& MI,
|
|||||||
unsigned& sourceReg,
|
unsigned& sourceReg,
|
||||||
unsigned& destReg) const {
|
unsigned& destReg) const {
|
||||||
MachineOpCode oc = MI.getOpcode();
|
MachineOpCode oc = MI.getOpcode();
|
||||||
if (oc == Alpha::BIS || oc == Alpha::CPYSS || oc == Alpha::CPYST) {
|
if (oc == Alpha::BIS ||
|
||||||
|
oc == Alpha::CPYSS ||
|
||||||
|
oc == Alpha::CPYST ||
|
||||||
|
oc == Alpha::CPYSSt ||
|
||||||
|
oc == Alpha::CPYSTs) {
|
||||||
// or r1, r2, r2
|
// or r1, r2, r2
|
||||||
// cpys(s|t) r1 r2 r2
|
// cpys(s|t) r1 r2 r2
|
||||||
assert(MI.getNumOperands() == 3 &&
|
assert(MI.getNumOperands() == 3 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user