diff options
author | Eli Bendersky <eliben@google.com> | 2012-12-18 18:21:29 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2012-12-18 18:21:29 +0000 |
commit | 968b667e27d7fc9a5bf5da52191a7af629e174dc (patch) | |
tree | cfcd61a3ccd0ea7c42c88292371eed01368e73fe /lib/Target/MSP430/MSP430ISelLowering.cpp | |
parent | edc3503ca5a4ab9133dd825dce4abd46bc4a3e08 (diff) | |
download | llvm-968b667e27d7fc9a5bf5da52191a7af629e174dc.tar.gz llvm-968b667e27d7fc9a5bf5da52191a7af629e174dc.tar.bz2 llvm-968b667e27d7fc9a5bf5da52191a7af629e174dc.tar.xz |
Get rid of the pesky -Woverloaded-virtual warning. No change in functionality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170438 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430ISelLowering.cpp')
-rw-r--r-- | lib/Target/MSP430/MSP430ISelLowering.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/MSP430/MSP430ISelLowering.cpp b/lib/Target/MSP430/MSP430ISelLowering.cpp index 8a1bd0958b..1808dcfd5d 100644 --- a/lib/Target/MSP430/MSP430ISelLowering.cpp +++ b/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 //===----------------------------------------------------------------------===// |