summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-06-15 17:16:12 +0000
committerAndrew Trick <atrick@apple.com>2011-06-15 17:16:12 +0000
commit4cb971ce1c8b254f29365c988b55f6dcfe86d21e (patch)
tree0a968ce5996f0908c5464ac1742d279c9c29ff3a /include
parent0e7f08bde50164de545007d9fbd1ab887434bd8a (diff)
downloadllvm-4cb971ce1c8b254f29365c988b55f6dcfe86d21e.tar.gz
llvm-4cb971ce1c8b254f29365c988b55f6dcfe86d21e.tar.bz2
llvm-4cb971ce1c8b254f29365c988b55f6dcfe86d21e.tar.xz
Added -stress-sched flag in the Asserts build.
Added a test case for handling physreg aliases during pre-RA-sched. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/ScheduleDAG.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h
index 2f01948568..0657664b18 100644
--- a/include/llvm/CodeGen/ScheduleDAG.h
+++ b/include/llvm/CodeGen/ScheduleDAG.h
@@ -497,6 +497,12 @@ namespace llvm {
SUnit EntrySU; // Special node for the region entry.
SUnit ExitSU; // Special node for the region exit.
+#ifdef NDEBUG
+ static const bool StressSched = false;
+#else
+ bool StressSched;
+#endif
+
explicit ScheduleDAG(MachineFunction &mf);
virtual ~ScheduleDAG();