mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
The variable SAR's only take one operand too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22888 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd444b2a69
commit
679c408768
@ -3283,7 +3283,7 @@ unsigned ISel::SelectExpr(SDOperand N) {
|
||||
case MVT::i32: Opc = X86::SAR32rCL; break;
|
||||
}
|
||||
BuildMI(BB, X86::MOV8rr, 1, X86::CL).addReg(Tmp2);
|
||||
BuildMI(BB, Opc, 2, Result).addReg(Tmp1).addReg(Tmp2);
|
||||
BuildMI(BB, Opc, 1, Result).addReg(Tmp1);
|
||||
return Result;
|
||||
|
||||
case ISD::SETCC:
|
||||
|
Loading…
Reference in New Issue
Block a user