mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Fix grammaros in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68666 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b9ca608737
commit
349ba4951f
@ -7264,12 +7264,12 @@ bool X86TargetLowering::isTruncateFree(MVT VT1, MVT VT2) const {
|
||||
}
|
||||
|
||||
bool X86TargetLowering::isZExtFree(const Type *Ty1, const Type *Ty2) const {
|
||||
// x86-64 has implicitly zero-extends 32-bit results in 64-bit registers.
|
||||
// x86-64 implicitly zero-extends 32-bit results in 64-bit registers.
|
||||
return Ty1 == Type::Int32Ty && Ty2 == Type::Int64Ty && Subtarget->is64Bit();
|
||||
}
|
||||
|
||||
bool X86TargetLowering::isZExtFree(MVT VT1, MVT VT2) const {
|
||||
// x86-64 has implicitly zero-extends 32-bit results in 64-bit registers.
|
||||
// x86-64 implicitly zero-extends 32-bit results in 64-bit registers.
|
||||
return VT1 == MVT::i32 && VT2 == MVT::i64 && Subtarget->is64Bit();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user