diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-16 02:01:19 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-16 02:01:19 +0000 |
commit | 7aac0447c1490f83be94329ffb03a3e71bc090ac (patch) | |
tree | 33584c74353466f00b424a3f3a6c97e528a3f556 /lib | |
parent | 3c89909e318ca36fd52aef50473fadd680e6e529 (diff) | |
download | external_llvm-7aac0447c1490f83be94329ffb03a3e71bc090ac.tar.gz external_llvm-7aac0447c1490f83be94329ffb03a3e71bc090ac.tar.bz2 external_llvm-7aac0447c1490f83be94329ffb03a3e71bc090ac.zip |
Use the source-order scheduler instead of the "fast" scheduler at -O0,
because it's more likely to keep debug line information in its original
order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 08ba5482f7..6526134176 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -132,7 +132,7 @@ namespace llvm { const TargetLowering &TLI = IS->getTargetLowering(); if (OptLevel == CodeGenOpt::None) - return createFastDAGScheduler(IS, OptLevel); + return createSourceListDAGScheduler(IS, OptLevel); if (TLI.getSchedulingPreference() == Sched::Latency) return createTDListDAGScheduler(IS, OptLevel); if (TLI.getSchedulingPreference() == Sched::RegPressure) |