1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Silence a warning.

llvm-svn: 19798
This commit is contained in:
Chris Lattner 2005-01-23 23:20:06 +00:00
parent 849899e193
commit 6ff85c3152

View File

@ -2587,7 +2587,7 @@ bool ISel::TryToFoldLoadOpStore(SDNode *Node) {
// Handle: [mem] op= CST
SDOperand Op0 = StVal.getOperand(0);
SDOperand Op1 = StVal.getOperand(1);
unsigned Opc;
unsigned Opc = 0;
if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Op1)) {
switch (Op0.getValueType()) { // Use Op0's type because of shifts.
default: break;