projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffb973d
)
fix bogus warning
author
Chris Lattner
<sabre@nondot.org>
Sat, 20 Aug 2005 18:07:27 +0000
(18:07 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 20 Aug 2005 18:07:27 +0000
(18:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22943
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
index 0501473a4dd735a23db889e6953091d8ec033bef..650242ba555f070c94b7703f76a5b87585edcd08 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@
-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 {