summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 79410fd43f0..6ca4bd8f1e8 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -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();
}
OpenPOWER on IntegriCloud