summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ISelLowering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
-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 c1aa7200bef..dfb7b87d4ea 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -1449,8 +1449,8 @@ bool X86TargetLowering::isUsedByReturnOnly(SDNode *N) const {
}
MVT
-X86TargetLowering::getTypeForExtendedInteger(EVT VT,
- ISD::NodeType ExtendKind) const {
+X86TargetLowering::getTypeForExtArgOrReturn(EVT VT,
+ ISD::NodeType ExtendKind) const {
// TODO: Is this also valid on 32-bit?
if (Subtarget->is64Bit() && VT == MVT::i1 && ExtendKind == ISD::ZERO_EXTEND)
return MVT::i8;
OpenPOWER on IntegriCloud