Fix some latency computation bugs: if the use is not a machine opcode do not just...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 28 May 2010 23:26:21 +0000 (23:26 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 28 May 2010 23:26:21 +0000 (23:26 +0000)
commit046fa3f90a31ebfa10df89ae348f478d492709a9
tree1d3415f2b8e95c2566e2bd357775c8b5be581d46
parentc10f5434b4ad0758f948c52c18d5740c7f44e8b3
Fix some latency computation bugs: if the use is not a machine opcode do not just return zero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105061 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
test/CodeGen/ARM/lsr-on-unrolled-loops.ll
test/CodeGen/ARM/reg_sequence.ll
test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll