summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-11-27 02:29:25 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-11-27 02:29:25 +0000
commitb133907e619bf2ab9f0943d52ac937a5b19ad0b7 (patch)
treebe2fdea040d177f4c743b1cb584b702fefcbebb1 /llvm/lib/Target
parent2d311e835470bdaa0395564b39a18b3b1cfcee20 (diff)
downloadbcm5719-llvm-b133907e619bf2ab9f0943d52ac937a5b19ad0b7.tar.gz
bcm5719-llvm-b133907e619bf2ab9f0943d52ac937a5b19ad0b7.zip
Eliminate a compile time warning.
llvm-svn: 60145
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/PIC16/PIC16ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp b/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
index c085da9a750..42787f3209e 100644
--- a/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
+++ b/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
@@ -478,7 +478,7 @@ SDNode *PIC16TargetLowering::ExpandShift(SDNode *N, SelectionDAG &DAG) {
SDVTList Tys;
SDValue ShfCom; // Shift Component - Lo component should be shifted
SDValue RotCom; // Rotate Component- Hi component should be rotated
- PIC16ISD::NodeType ShfNode, RotNode;
+ PIC16ISD::NodeType ShfNode = PIC16ISD::Dummy, RotNode = PIC16ISD::Dummy;
// Currently handling Constant shift only
if (Amt.getOpcode() != ISD::Constant)
OpenPOWER on IntegriCloud