mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Silence a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fed5577066
commit
0a07883694
@ -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
Block a user