mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Merge r127263 from mainline, fixes PR9427 for 2.9.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127437 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -446,6 +446,10 @@ void ScheduleDAGSDNodes::BuildSchedGraph(AliasAnalysis *AA) {
|
||||
|
||||
// Initialize NumNodeDefs for the current Node's opcode.
|
||||
void ScheduleDAGSDNodes::RegDefIter::InitNodeNumDefs() {
|
||||
// Check for phys reg copy.
|
||||
if (!Node)
|
||||
return;
|
||||
|
||||
if (!Node->isMachineOpcode()) {
|
||||
if (Node->getOpcode() == ISD::CopyFromReg)
|
||||
NodeNumDefs = 1;
|
||||
|
Reference in New Issue
Block a user