James Molloy
4de471dd0a
[SimplifyCFG] Swap to using TargetTransformInfo for cost
...
analysis.
We're already using TTI in SimplifyCFG, so remove the hard-baked "cheapness"
heuristic and use TTI directly. Generally NFC intended, but we're using a slightly
different heuristic now so there is a slight test churn.
Test changes:
* combine-comparisons-by-cse.ll: Removed unneeded branch check.
* 2014-08-04-muls-it.ll: Test now doesn't branch but emits muleq.
* coalesce-subregs.ll: Superfluous block check.
* 2008-01-02-hoist-fp-add.ll: fadd is safe to speculate. Change to udiv.
* PhiBlockMerge.ll: Superfluous CFG checking code. Main checks still present.
* select-gep.ll: A variable GEP is not expensive, just TCC_Basic, according to the TTI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228826 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-11 12:15:41 +00:00
..
2014-09-11 05:10:28 +00:00
2015-01-14 22:27:36 +00:00
2014-12-04 20:25:50 +00:00
2014-10-28 01:24:32 +00:00
2014-10-01 09:59:45 +00:00
2014-10-14 14:02:41 +00:00
2014-11-19 06:39:53 +00:00
2014-10-08 02:31:24 +00:00
2014-10-17 17:06:31 +00:00
2015-02-05 23:52:14 +00:00
2014-12-15 19:07:53 +00:00
2014-12-08 17:54:58 +00:00
2015-01-14 22:27:36 +00:00
2014-10-14 06:50:36 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-03 17:49:26 +00:00
2014-12-15 19:07:53 +00:00
2014-10-12 06:47:47 +00:00
2014-11-19 06:39:53 +00:00
2014-10-14 06:50:36 +00:00
2014-12-02 23:13:39 +00:00
2014-10-01 15:22:13 +00:00
2014-10-20 16:08:33 +00:00
2014-12-15 19:07:53 +00:00
2015-02-04 19:35:16 +00:00
2014-09-10 13:54:38 +00:00
2014-10-15 18:58:07 +00:00
2014-09-30 00:49:58 +00:00
2014-09-15 20:47:16 +00:00
2014-10-27 19:58:36 +00:00
2014-10-12 06:47:47 +00:00
2014-12-15 19:07:53 +00:00
2015-02-02 17:55:57 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-01-24 01:25:54 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-02-02 17:55:57 +00:00
2014-12-01 20:59:00 +00:00
2015-01-21 15:43:31 +00:00
2015-01-30 02:13:53 +00:00
2014-12-15 19:07:53 +00:00
2015-02-11 12:15:41 +00:00
2015-01-10 23:41:24 +00:00
2014-09-11 17:34:19 +00:00
2015-01-05 17:10:26 +00:00
2014-12-02 21:36:24 +00:00
2014-12-15 19:07:53 +00:00
2014-11-26 10:49:18 +00:00
2014-12-15 19:07:53 +00:00
2014-11-04 20:10:06 +00:00
2014-12-02 23:13:39 +00:00
2014-09-18 07:26:26 +00:00
2014-09-19 05:30:35 +00:00
2014-12-01 20:52:32 +00:00
2014-12-01 18:43:53 +00:00
2014-11-07 02:50:00 +00:00
2014-11-03 15:28:40 +00:00
2015-02-11 12:15:41 +00:00
2014-12-15 19:07:53 +00:00
2015-02-04 13:31:29 +00:00
2014-10-30 22:21:03 +00:00
2014-12-22 13:38:58 +00:00
2014-09-10 13:54:38 +00:00
2014-10-27 18:21:58 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-10-27 19:46:23 +00:00
2014-09-17 17:46:47 +00:00
2014-11-13 20:50:44 +00:00
2014-10-14 20:36:02 +00:00
2014-10-14 20:36:02 +00:00
2014-11-10 21:05:31 +00:00
2014-10-07 03:40:06 +00:00
2014-11-11 23:10:44 +00:00
2014-09-17 19:51:38 +00:00
2014-12-09 19:44:38 +00:00
2014-09-17 20:35:41 +00:00
2014-09-15 22:33:06 +00:00
2014-09-17 21:55:55 +00:00
2014-11-13 00:36:46 +00:00
2014-11-18 22:41:49 +00:00
2014-10-12 06:47:47 +00:00
2014-12-15 19:07:53 +00:00
2014-09-16 00:25:30 +00:00
2014-09-15 23:47:57 +00:00
2014-11-21 06:39:58 +00:00
2015-02-02 17:55:57 +00:00
2014-10-24 00:03:46 +00:00
2014-12-10 19:43:32 +00:00
2014-12-02 23:13:39 +00:00
2014-12-02 23:13:39 +00:00
2015-01-19 17:40:05 +00:00
2014-12-02 23:53:43 +00:00
2014-12-02 23:53:43 +00:00
2014-10-21 01:17:30 +00:00
2014-10-31 02:35:34 +00:00
2014-12-02 18:09:51 +00:00
2014-11-04 22:20:07 +00:00
2015-02-02 17:55:57 +00:00
2015-01-21 23:17:19 +00:00
2014-10-22 12:40:20 +00:00
2014-10-21 20:10:21 +00:00
2014-11-04 20:51:29 +00:00
2014-10-21 20:47:22 +00:00
2014-09-12 17:40:39 +00:00
2014-12-15 19:07:53 +00:00
2014-09-27 17:02:54 +00:00
2015-02-04 13:31:29 +00:00
2014-09-19 05:30:35 +00:00
2014-10-16 16:41:15 +00:00
2015-02-08 00:50:47 +00:00
2014-10-30 23:46:50 +00:00