summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2012-12-18 18:21:29 +0000
committerEli Bendersky <eliben@google.com>2012-12-18 18:21:29 +0000
commit39e7c6e370ffaf941503cd8b3f54767e4e7fa886 (patch)
treef384e948641b71580bdf97cc5c98a66caf8a254b /llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
parent422e07b091950e0834c9a50ea124932440106349 (diff)
downloadbcm5719-llvm-39e7c6e370ffaf941503cd8b3f54767e4e7fa886.tar.gz
bcm5719-llvm-39e7c6e370ffaf941503cd8b3f54767e4e7fa886.zip
Get rid of the pesky -Woverloaded-virtual warning. No change in functionality.
llvm-svn: 170438
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430ISelLowering.cpp')
-rw-r--r--llvm/lib/Target/MSP430/MSP430ISelLowering.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
index 8a1bd0958b5..1808dcfd5d6 100644
--- a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
+++ b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
@@ -1063,6 +1063,10 @@ bool MSP430TargetLowering::isZExtFree(EVT VT1, EVT VT2) const {
return 0 && VT1 == MVT::i8 && VT2 == MVT::i16;
}
+bool MSP430TargetLowering::isZExtFree(SDValue Val, EVT VT2) const {
+ return isZExtFree(Val.getValueType(), VT2);
+}
+
//===----------------------------------------------------------------------===//
// Other Lowering Code
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud