Bill Wendling
2b9f48d238
Use a worklist to avoid a sneaky iterator invalidation.
...
The iterator could be invalidated when it's recursively deleting a whole bunch
of constant expressions in a constant initializer.
Note: This was only reproducible if `opt' was run on a `.bc' file. If `opt' was
run on a `.ll' file, it wouldn't crash. This is why the test first pushes the
`.ll' file through `llvm-as' before feeding it to `opt'.
PR15440
llvm-svn: 178531
2013-04-02 08:16:45 +00:00
..
2011-07-09 17:41:24 +00:00
2011-06-17 03:14:27 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2010-09-02 22:38:56 +00:00
2011-06-17 03:14:27 +00:00
2011-06-17 03:14:27 +00:00
2012-07-02 12:47:22 +00:00
2009-12-08 10:10:20 +00:00
2013-03-12 16:27:52 +00:00
2012-07-02 12:47:22 +00:00
2009-11-07 00:16:28 +00:00
2012-07-24 07:21:08 +00:00
2011-01-19 16:32:21 +00:00
2012-12-30 02:33:22 +00:00
2012-12-30 02:33:22 +00:00
2010-10-19 16:47:23 +00:00
2011-04-09 09:11:09 +00:00
2012-05-12 08:30:16 +00:00
2012-02-05 19:56:38 +00:00
2012-11-16 10:33:25 +00:00
2012-07-29 01:15:37 +00:00
2012-07-02 12:47:22 +00:00
2012-04-24 18:42:47 +00:00
2013-04-02 08:16:45 +00:00
2012-12-30 02:33:22 +00:00
2012-12-30 01:28:40 +00:00
2011-01-16 09:13:31 +00:00
2012-02-09 14:26:06 +00:00
2011-10-20 05:23:42 +00:00
2012-06-14 22:48:13 +00:00
2013-02-05 19:39:44 +00:00
2012-07-02 12:47:22 +00:00
2009-11-07 00:16:28 +00:00
2009-11-07 00:16:28 +00:00
2009-12-30 05:54:51 +00:00
2009-11-07 00:16:28 +00:00
2012-07-02 12:47:22 +00:00
2013-03-09 18:34:27 +00:00
2012-02-20 23:32:26 +00:00
2012-03-13 18:01:37 +00:00
2012-02-16 06:28:33 +00:00
2012-09-28 10:01:27 +00:00
2009-11-07 00:16:28 +00:00
2010-04-14 20:22:17 +00:00
2012-07-02 12:47:22 +00:00
2012-12-30 01:28:40 +00:00
2011-06-18 06:05:24 +00:00
2010-05-04 20:09:25 +00:00
2012-07-02 12:47:22 +00:00
2012-11-15 11:40:00 +00:00
2013-01-01 13:57:25 +00:00
2012-03-28 14:50:09 +00:00