Philip Reames
db94a30be3
[LICM] Sinking doesn't involve the preheader
...
PR23608 pointed out that using the preheader to gain a context instruction isn't always legal because a loop might not have a preheader. When looking into that, I realized that using the preheader to determine legality for sinking is questionable at best. Given no test covers that case and the original commit didn't seem to intend it, I restructured the code to only ask context sensative queries for hoising of loads and stores. This is effectively a partial revert of 237593.
llvm-svn: 237985
2015-05-22 02:14:05 +00:00
..
2015-02-27 21:17:42 +00:00
2015-04-29 16:38:44 +00:00
2015-02-27 21:17:42 +00:00
2015-04-29 16:38:44 +00:00
2015-05-12 16:47:30 +00:00
2015-02-18 03:12:28 +00:00
2015-02-27 21:17:42 +00:00
2015-05-12 23:52:24 +00:00
2015-04-16 23:24:18 +00:00
2015-03-13 18:20:45 +00:00
2015-05-14 18:01:48 +00:00
2015-05-12 22:31:47 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-05-18 16:42:10 +00:00
2015-03-27 10:36:57 +00:00
2015-04-16 23:24:18 +00:00
2015-04-29 16:38:44 +00:00
2015-04-16 23:24:18 +00:00
2015-04-29 16:38:44 +00:00
2015-05-05 18:10:49 +00:00
2015-04-16 23:24:18 +00:00
2015-05-12 16:47:30 +00:00
2015-05-21 23:04:21 +00:00
2015-03-13 18:20:45 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2015-04-24 18:06:09 +00:00
2015-03-24 19:29:18 +00:00
2015-05-07 00:19:14 +00:00
2015-04-24 19:32:54 +00:00
2015-05-22 02:14:05 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-05-18 15:36:57 +00:00
2015-05-12 16:47:30 +00:00
2015-04-23 04:51:44 +00:00
2015-02-27 21:17:42 +00:00
2015-04-29 16:38:44 +00:00
2015-03-27 22:04:28 +00:00
2015-05-08 18:07:24 +00:00
2015-05-21 20:30:23 +00:00
2015-05-12 16:47:30 +00:00
2015-05-15 15:29:53 +00:00
2015-02-27 21:17:42 +00:00
2015-05-12 16:47:30 +00:00
2015-04-16 23:24:18 +00:00
2015-03-27 22:04:28 +00:00
2015-05-12 16:47:30 +00:00
2015-04-29 16:38:44 +00:00
2015-05-21 01:43:39 +00:00
2015-05-12 21:42:22 +00:00
2015-02-27 21:17:42 +00:00
2015-05-21 23:17:30 +00:00
2015-04-29 16:38:44 +00:00
2015-04-16 23:24:18 +00:00
2015-05-20 01:07:23 +00:00
2015-02-11 02:06:47 +00:00
2015-04-16 23:24:18 +00:00
2015-05-19 15:59:05 +00:00
2015-05-13 17:04:29 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-04-16 23:24:18 +00:00
2015-05-14 23:53:19 +00:00
2015-05-12 16:47:30 +00:00
2015-02-27 21:17:42 +00:00
2015-05-06 23:54:14 +00:00
2015-05-15 17:54:48 +00:00
2015-03-28 16:44:57 +00:00
2015-05-15 17:07:48 +00:00
2015-04-29 16:38:44 +00:00
2015-02-27 21:17:42 +00:00
2015-02-28 16:47:27 +00:00
2015-04-16 23:24:18 +00:00
2015-05-12 16:47:30 +00:00