mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 03:32:10 +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:
parent
26e04bbf77
commit
fb8b8a75ff
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user