forked from OSchip/llvm-project
parent
0dfd7d3a0d
commit
0e1de101a1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue