mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
fix bogus warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22943 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ffb973df92
commit
fe0c2c8721
@ -151,7 +151,7 @@ unsigned SimpleSched::Emit(SDOperand Op) {
|
||||
unsigned SrcReg = cast<RegisterSDNode>(Op.getOperand(1))->getReg();
|
||||
|
||||
// Figure out the register class to create for the destreg.
|
||||
const TargetRegisterClass *TRC;
|
||||
const TargetRegisterClass *TRC = 0;
|
||||
if (MRegisterInfo::isVirtualRegister(SrcReg)) {
|
||||
TRC = RegMap->getRegClass(SrcReg);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user