mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
Correct word hyphenations
This patch tries to avoid unrelated changes other than fixing a few hyphen-related ambiguities and contractions in nearby lines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196471 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2206,7 +2206,7 @@ unsigned CastInst::isEliminableCastPair(
|
||||
case 3:
|
||||
// No-op cast in second op implies firstOp as long as the DestTy
|
||||
// is integer and we are not converting between a vector and a
|
||||
// non vector type.
|
||||
// non-vector type.
|
||||
if (!SrcTy->isVectorTy() && DstTy->isIntegerTy())
|
||||
return firstOp;
|
||||
return 0;
|
||||
@@ -2823,7 +2823,7 @@ CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) {
|
||||
if (SrcTy->isPtrOrPtrVectorTy() != DstTy->isPtrOrPtrVectorTy())
|
||||
return false;
|
||||
|
||||
// For non pointer cases, the cast is okay if the source and destination bit
|
||||
// For non-pointer cases, the cast is okay if the source and destination bit
|
||||
// widths are identical.
|
||||
if (!SrcTy->isPtrOrPtrVectorTy())
|
||||
return SrcTy->getPrimitiveSizeInBits() == DstTy->getPrimitiveSizeInBits();
|
||||
|
||||
Reference in New Issue
Block a user