Jakob Stoklund Olesen
6be75ae196
Don't crash on extra evil irreducible control flow.
...
When the CFG contains a loop with multiple entry blocks, the traces
computed by MachineTraceMetrics don't always have the same nice
properties. Loop back-edges are normally excluded from traces, but
MachineLoopInfo doesn't recognize loops with multiple entry blocks, so
those back-edges may be included.
Avoid asserting when that happens by adding an isEarlierInSameTrace()
function that accurately determines if a dominating block is part of the
same trace AND is above the currrent block in the trace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165434 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-08 22:06:44 +00:00
..
2012-08-14 05:19:07 +00:00
2012-08-14 05:19:07 +00:00
2012-08-14 05:19:07 +00:00
2012-08-07 09:45:24 +00:00
2009-09-08 23:54:48 +00:00
2012-07-26 21:40:42 +00:00
2012-07-19 18:53:21 +00:00
2012-09-20 03:34:04 +00:00
2012-07-16 19:35:43 +00:00
2012-07-19 18:53:21 +00:00
2012-08-17 12:28:26 +00:00
2012-08-28 07:05:28 +00:00
2012-08-02 00:56:42 +00:00
2012-07-11 13:27:05 +00:00
2012-07-14 21:30:27 +00:00
2012-07-15 14:38:35 +00:00
2012-07-15 20:27:43 +00:00
2012-07-14 22:26:05 +00:00
2012-07-16 18:34:53 +00:00
2012-07-16 10:52:25 +00:00
2012-07-17 09:07:37 +00:00
2012-07-23 07:59:50 +00:00
2012-08-07 22:21:00 +00:00
2012-08-18 17:53:03 +00:00
2012-08-17 15:54:21 +00:00
2012-08-28 07:36:46 +00:00
2012-09-13 14:54:28 +00:00
2012-09-28 23:58:57 +00:00
2012-10-05 01:48:22 +00:00
2012-10-03 19:30:31 +00:00
2012-08-10 23:43:32 +00:00
2012-07-10 17:45:53 +00:00
2012-07-10 17:45:53 +00:00
2012-08-09 22:49:46 +00:00
2012-09-04 18:22:17 +00:00
2012-07-18 20:49:17 +00:00
2012-09-21 03:18:52 +00:00
2012-09-23 02:41:47 +00:00
2012-09-20 03:06:15 +00:00
2012-09-20 03:06:15 +00:00
2012-09-25 18:08:13 +00:00
2012-09-19 19:36:58 +00:00
2012-09-20 03:06:15 +00:00
2012-09-25 18:08:13 +00:00
2012-08-17 23:24:29 +00:00
2012-07-12 06:52:41 +00:00
2012-09-20 19:54:13 +00:00
2012-09-09 22:58:45 +00:00
2012-08-06 06:22:36 +00:00
2012-09-04 12:49:02 +00:00
2012-09-06 05:15:01 +00:00
2012-09-13 19:58:21 +00:00
2012-08-07 09:45:24 +00:00
2012-09-10 16:36:16 +00:00
2012-08-10 03:23:27 +00:00
2012-08-02 00:56:42 +00:00
2012-07-23 08:51:15 +00:00
2012-10-07 15:34:27 +00:00
2012-07-25 18:28:13 +00:00
2012-07-17 08:31:11 +00:00
2012-07-12 13:45:15 +00:00
2012-09-27 16:34:19 +00:00
2012-07-12 13:45:15 +00:00
2012-07-19 18:53:21 +00:00
2012-07-11 18:31:59 +00:00
2012-07-19 18:53:21 +00:00
2012-10-08 22:06:44 +00:00
2012-07-16 14:33:36 +00:00
2012-08-08 20:31:37 +00:00
2012-07-19 18:53:21 +00:00
2012-10-02 22:45:06 +00:00
2012-08-17 12:28:26 +00:00
2012-07-06 17:33:39 +00:00
2012-08-27 06:59:01 +00:00
2012-08-27 06:59:01 +00:00
2012-08-31 23:10:34 +00:00
2012-08-27 11:50:26 +00:00
2012-08-18 17:53:03 +00:00
2012-08-02 06:36:56 +00:00
2011-06-19 00:03:46 +00:00
2012-07-31 18:29:21 +00:00
2012-09-01 00:26:28 +00:00
2012-08-08 20:31:37 +00:00
2012-08-17 12:28:26 +00:00
2012-07-24 20:04:16 +00:00
2012-08-31 15:34:59 +00:00
2012-07-25 13:41:10 +00:00
2012-09-28 20:26:33 +00:00
2012-07-27 20:19:49 +00:00
2012-08-07 09:45:24 +00:00
2012-09-30 07:17:56 +00:00
2012-09-30 07:17:56 +00:00
2012-09-30 07:17:56 +00:00
2012-08-11 19:05:13 +00:00
2012-07-19 18:53:21 +00:00
2012-08-11 19:05:13 +00:00
2012-08-03 21:26:18 +00:00
2012-08-17 12:28:26 +00:00
2012-10-04 22:35:15 +00:00
2012-07-11 13:27:05 +00:00
2012-07-30 20:23:19 +00:00
2012-10-03 22:06:44 +00:00
2012-09-26 09:24:12 +00:00
2012-09-26 09:24:12 +00:00
2012-07-20 20:49:53 +00:00
2012-09-26 08:26:25 +00:00
2012-07-18 20:49:17 +00:00
2012-09-24 23:06:27 +00:00
2012-09-16 07:58:47 +00:00
2012-07-11 13:27:05 +00:00
2012-09-21 05:19:19 +00:00
2012-08-20 17:59:18 +00:00
2012-07-16 06:54:09 +00:00
2012-09-12 21:43:09 +00:00
2012-09-13 20:24:54 +00:00
2012-08-31 20:12:31 +00:00
2012-07-13 07:02:00 +00:00
2012-09-20 03:06:15 +00:00
2012-08-11 23:47:06 +00:00
2012-09-17 18:05:20 +00:00
2012-10-01 16:44:04 +00:00
2012-09-26 08:24:51 +00:00
2012-07-19 18:53:21 +00:00
2012-10-01 22:48:07 +00:00
2012-07-20 21:29:31 +00:00
2012-07-31 01:11:07 +00:00
2012-09-26 08:24:51 +00:00
2012-09-26 08:24:51 +00:00
2012-09-26 08:24:51 +00:00
2012-08-08 20:31:37 +00:00
2012-07-25 20:17:14 +00:00
2012-07-06 14:43:16 +00:00
2012-07-17 19:40:05 +00:00
2012-09-26 08:26:25 +00:00
2012-09-15 12:44:27 +00:00
2012-07-31 18:10:39 +00:00
2012-10-02 15:03:49 +00:00
2012-08-19 13:06:16 +00:00
2012-08-03 23:29:17 +00:00
2012-08-13 21:32:42 +00:00
2012-09-11 12:34:27 +00:00
2012-09-13 12:38:37 +00:00
2012-07-12 13:45:15 +00:00
2012-09-25 05:32:34 +00:00
2012-07-27 21:21:26 +00:00
2012-09-26 08:26:25 +00:00
2012-07-19 18:53:21 +00:00
2012-09-06 18:15:23 +00:00
2012-07-19 18:53:21 +00:00
2012-07-18 20:49:17 +00:00
2012-07-10 13:25:08 +00:00
2012-08-02 19:37:32 +00:00
2012-09-08 07:31:51 +00:00
2012-09-08 17:42:27 +00:00
2012-09-10 18:33:51 +00:00
2012-09-01 00:17:06 +00:00
2012-07-12 13:45:15 +00:00
2012-08-13 19:34:29 +00:00
2011-11-27 06:54:59 +00:00
2012-07-18 20:49:17 +00:00
2012-07-18 20:49:17 +00:00
2012-07-18 20:49:17 +00:00
2012-07-18 20:49:17 +00:00
2012-07-16 14:33:36 +00:00
2012-07-18 20:49:17 +00:00
2012-07-11 13:27:05 +00:00
2012-07-10 13:25:08 +00:00
2012-08-30 16:54:46 +00:00
2012-09-13 23:24:02 +00:00
2012-08-10 00:21:30 +00:00