Roman Lebedev
2ecd35251f
[SimplifyCFG] mergeConditionalStoreToAddress(): consider cost, not instruction count
...
Summary:
As it can be see in the changed test, while `div` is really costly,
we were speculating it. This does not seem correct.
Also, the old code would run for every single insturuction in BB,
instead of eagerly bailing out as soon as there are too many instructions.
This function still has a problem that `PHINodeFoldingThreshold` is
per-basic-block, while it should be for all the basic blocks.
Reviewers: efriedma, craig.topper, dmgreen, jmolloy
Reviewed By: jmolloy
Subscribers: xbolva00, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67315
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372255 91177308-0d34-0410-b5e6-96231b3b80d8
2019-09-18 19:46:57 +00:00
..
2019-07-16 15:28:29 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-08-23 02:17:04 +00:00
2019-08-03 14:28:34 +00:00
2019-06-17 09:51:07 +00:00
2019-04-17 04:52:47 +00:00
2019-08-20 14:46:02 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-05-29 16:59:48 +00:00
2019-04-17 04:52:47 +00:00
2019-07-10 16:32:20 +00:00
2019-09-17 09:45:52 +00:00
2019-07-09 10:56:18 +00:00
2019-04-17 04:52:47 +00:00
2019-09-12 14:10:50 +00:00
2019-08-15 00:48:51 +00:00
2019-09-07 12:03:59 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-07-28 06:09:56 +00:00
2019-07-28 06:09:56 +00:00
2019-07-31 12:06:51 +00:00
2019-08-07 14:34:41 +00:00
2019-04-17 04:52:47 +00:00
2019-08-16 23:30:16 +00:00
2019-09-10 10:39:09 +00:00
2019-07-08 14:46:07 +00:00
2019-04-17 04:52:47 +00:00
2019-09-17 10:52:41 +00:00
2019-09-10 23:15:38 +00:00
2019-04-17 04:52:47 +00:00
2019-05-15 02:35:32 +00:00
2019-04-17 04:52:47 +00:00
2019-08-09 12:43:25 +00:00
2019-04-17 04:52:47 +00:00
2019-04-18 19:17:14 +00:00
2019-09-03 17:31:19 +00:00
2019-04-17 04:52:47 +00:00
2019-06-28 19:57:31 +00:00
2019-07-30 08:14:28 +00:00
2019-07-10 16:32:20 +00:00
2019-04-17 04:52:47 +00:00
2019-09-16 16:18:24 +00:00
2019-09-05 02:20:39 +00:00
2019-08-14 16:50:06 +00:00
2019-09-09 13:08:16 +00:00
2019-09-18 18:38:32 +00:00
2019-09-05 17:00:32 +00:00
2019-04-17 04:52:47 +00:00
2019-09-18 17:27:02 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-09-12 21:32:27 +00:00
2019-08-03 14:28:34 +00:00
2019-04-17 04:52:47 +00:00
2019-09-12 18:09:47 +00:00
2019-08-02 04:03:37 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-07-07 22:12:01 +00:00
2019-07-30 15:58:43 +00:00
2019-09-03 17:14:56 +00:00
2019-08-21 17:00:57 +00:00
2019-09-11 08:23:23 +00:00
2019-06-12 13:50:47 +00:00
2019-07-09 01:27:45 +00:00
2019-06-17 10:05:18 +00:00
2019-08-21 17:00:57 +00:00
2019-06-19 10:50:47 +00:00
2019-04-17 04:52:47 +00:00
2019-06-19 16:02:54 +00:00
2019-04-17 04:52:47 +00:00
2019-09-17 09:02:48 +00:00
2019-04-17 04:52:47 +00:00
2019-07-15 21:16:29 +00:00
2019-09-16 14:56:26 +00:00
2019-06-12 14:05:58 +00:00
2019-05-29 20:47:59 +00:00
2019-05-23 17:03:43 +00:00
2019-09-11 16:19:50 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-06-03 17:54:15 +00:00
2019-08-09 22:31:59 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-08-14 16:50:06 +00:00
2019-08-03 14:28:34 +00:00
2019-05-23 12:35:26 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-06-28 21:39:08 +00:00
2019-07-28 06:09:56 +00:00
2019-04-17 04:52:47 +00:00
2019-09-17 23:12:13 +00:00
2019-09-10 10:39:09 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-08-23 15:49:38 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-07-24 00:16:23 +00:00
2019-09-18 16:06:28 +00:00
2019-08-07 23:16:29 +00:00
2019-09-07 12:16:14 +00:00
2019-07-31 18:22:22 +00:00
2019-06-17 09:51:07 +00:00
2019-08-21 17:00:57 +00:00
2019-09-18 19:46:57 +00:00
2019-04-17 04:52:47 +00:00
2019-09-15 13:03:24 +00:00
2019-08-14 16:44:07 +00:00
2019-05-14 16:51:18 +00:00
2019-08-27 19:34:43 +00:00
2019-06-17 09:51:07 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-05-24 08:59:17 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-08-09 22:31:59 +00:00
2019-09-04 14:19:49 +00:00
2019-08-03 14:28:34 +00:00