mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Fix a typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26965 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ca6e8eafd2
commit
7e358908b8
@ -788,7 +788,7 @@ void SelectionDAGLowering::visitCast(User &I) {
|
||||
setValue(&I, DAG.getNode(ISD::SIGN_EXTEND, DestVT, N));
|
||||
else
|
||||
setValue(&I, DAG.getNode(ISD::ZERO_EXTEND, DestVT, N));
|
||||
} else if (isFloatingPoint(SrcVT)) { // Int -> FP cast
|
||||
} else if (isFloatingPoint(DestVT)) { // Int -> FP cast
|
||||
if (I.getOperand(0)->getType()->isSigned())
|
||||
setValue(&I, DAG.getNode(ISD::SINT_TO_FP, DestVT, N));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user