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
..
2015-02-07 08:26:40 +00:00
2014-11-06 15:05:51 +00:00
2014-12-22 13:29:46 +00:00
2014-12-22 13:29:46 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2014-11-06 19:24:18 +00:00
2015-01-14 22:27:36 +00:00
2014-10-14 22:12:17 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-01-14 22:27:36 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-02-11 12:15:41 +00:00
2015-01-21 22:39:43 +00:00
2015-02-04 10:11:59 +00:00
2014-12-18 02:20:58 +00:00
2014-12-18 02:20:58 +00:00
2014-10-14 22:12:14 +00:00
2015-02-05 01:52:19 +00:00
2014-11-27 12:13:56 +00:00
2015-02-10 15:15:08 +00:00
2015-01-14 22:27:36 +00:00
2015-02-11 12:15:41 +00:00
2014-11-13 17:58:51 +00:00
2015-01-14 01:43:33 +00:00
2014-12-10 23:40:50 +00:00
2014-12-22 13:29:46 +00:00
2014-12-18 02:20:58 +00:00
2014-11-14 22:45:23 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2015-01-14 22:27:36 +00:00
2014-11-14 22:45:33 +00:00
2015-01-15 20:32:09 +00:00
2014-12-18 02:20:58 +00:00
2015-01-08 15:09:14 +00:00
2014-10-23 15:31:50 +00:00
2014-12-01 21:04:44 +00:00
2014-12-15 19:07:53 +00:00
2014-12-10 23:40:50 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-01-08 15:09:14 +00:00
2014-11-17 14:08:57 +00:00
2014-12-16 10:59:27 +00:00
2015-01-23 09:10:03 +00:00
2015-02-04 10:11:59 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-04 19:34:50 +00:00
2014-12-15 19:07:53 +00:00
2014-10-14 22:12:17 +00:00
2014-11-03 17:38:00 +00:00
2015-01-19 15:16:06 +00:00
2014-11-17 10:49:31 +00:00
2015-02-08 00:50:47 +00:00
2015-02-09 06:38:23 +00:00
2014-10-20 11:30:35 +00:00
2014-11-13 17:58:48 +00:00
2015-01-08 15:09:14 +00:00
2014-12-10 23:40:50 +00:00
2015-01-08 15:09:14 +00:00
2014-12-15 19:07:53 +00:00
2015-02-02 16:56:50 +00:00
2015-01-03 21:35:00 +00:00
2014-12-18 02:20:58 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-11-17 11:18:10 +00:00
2014-12-04 19:34:50 +00:00
2014-12-22 13:29:46 +00:00
2014-11-05 00:27:20 +00:00
2014-10-31 17:52:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-09 21:25:00 +00:00
2014-10-27 09:23:02 +00:00
2014-12-09 21:25:00 +00:00