Convert -enable-sched-cycles and -enable-sched-hazard to -disable
authorAndrew Trick <atrick@apple.com>
Fri, 21 Jan 2011 05:51:33 +0000 (05:51 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 21 Jan 2011 05:51:33 +0000 (05:51 +0000)
commitc8bfd1d78ff9a307d1d4cb57cce4549b538e60f4
tree13af786aec75effa04412a01b22f838fdeee111f
parentcd151d2f95eabae61b3cf8e675717d5674afbe85
Convert -enable-sched-cycles and -enable-sched-hazard to -disable
flags. They are still not enable in this revision.

Added TargetInstrInfo::isZeroCost() to fix a fundamental problem with
the scheduler's model of operand latency in the selection DAG.

Generalized unit tests to work with sched-cycles.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123969 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ScheduleHazardRecognizer.h
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/ScoreboardHazardRecognizer.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
lib/CodeGen/TargetInstrInfoImpl.cpp
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/ARM/fnegs.ll
test/CodeGen/ARM/fnmscs.ll
test/CodeGen/ARM/fpconsts.ll
test/CodeGen/ARM/unaligned_load_store.ll