mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Handle any_extend like zext
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23202 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2394,6 +2394,7 @@ unsigned ISel::SelectExpr(SDOperand N) {
|
||||
BuildMI(BB, X86::MOV32ri, 1, Result).addExternalSymbol(Sym);
|
||||
return Result;
|
||||
}
|
||||
case ISD::ANY_EXTEND: // treat any extend like zext
|
||||
case ISD::ZERO_EXTEND: {
|
||||
int DestIs16 = N.getValueType() == MVT::i16;
|
||||
int SrcIs16 = N.getOperand(0).getValueType() == MVT::i16;
|
||||
|
Reference in New Issue
Block a user