James Molloy
eb9033d963
Allow min/max detection to see through casts.
...
This teaches the min/max idiom detector in ValueTracking to see through
casts such as SExt/ZExt/Trunc. SCEV can already do this, so we're bringing
non-SCEV analyses up to the same level.
The returned LHS/RHS will not match the type of the original SelectInst
any more, so a CastOp is returned too to inform the caller how to
convert to the SelectInst's type.
No in-tree users yet; this will be used by InstCombine in a followup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237452 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-15 16:04:50 +00:00
..
2015-04-30 16:15:07 +00:00
2015-05-13 01:12:12 +00:00
2015-04-11 02:11:45 +00:00
2015-04-11 02:11:45 +00:00
2015-04-01 17:42:27 +00:00
2014-12-01 04:27:03 +00:00
2015-04-11 02:11:45 +00:00
2014-03-05 07:30:04 +00:00
2014-07-21 21:30:22 +00:00
2014-04-15 04:59:12 +00:00
2014-08-20 17:38:12 +00:00
2015-05-01 15:25:29 +00:00
2015-01-04 12:03:27 +00:00
2015-03-10 02:37:25 +00:00
2015-04-11 02:11:45 +00:00
2014-10-24 15:16:39 +00:00
2015-05-11 22:41:07 +00:00
2014-08-25 18:16:47 +00:00
2015-04-11 02:11:45 +00:00
2015-03-10 02:37:25 +00:00
2014-03-11 11:32:49 +00:00
2015-03-15 01:37:01 +00:00
2014-04-15 04:59:12 +00:00
2015-04-21 19:13:02 +00:00
2015-03-10 02:37:25 +00:00
2015-04-11 02:11:45 +00:00
2015-01-14 00:27:45 +00:00
2015-04-11 02:11:45 +00:00
2015-04-11 02:11:45 +00:00
2015-03-12 00:36:20 +00:00
2015-03-10 02:37:25 +00:00
2015-04-23 20:09:20 +00:00
2015-05-13 01:12:06 +00:00
2015-04-16 04:28:32 +00:00
2014-09-24 16:48:31 +00:00
2015-03-10 02:37:25 +00:00
2015-04-21 21:11:50 +00:00
2015-04-10 05:03:50 +00:00
2015-03-10 02:37:25 +00:00
2015-04-11 02:11:45 +00:00
2014-04-15 04:59:12 +00:00
2015-04-11 15:32:26 +00:00
2015-04-16 12:43:07 +00:00
2015-03-04 07:51:50 +00:00
2014-03-05 07:30:04 +00:00
2015-04-01 18:24:06 +00:00
2015-04-14 03:20:40 +00:00
2015-01-14 11:23:27 +00:00
2015-02-15 22:54:22 +00:00
2015-04-03 01:15:16 +00:00
2015-03-03 23:41:58 +00:00
2015-03-17 19:50:55 +00:00
2015-05-06 17:12:25 +00:00
2015-05-08 18:07:24 +00:00
2015-05-15 16:04:50 +00:00