Nikita Popov
3547a7e64e
[ConstantRange] Add makeExactNoWrapRegion()
...
I got confused on the terminology, and the change in D60598 was not
correct. I was thinking of "exact" in terms of the result being
non-approximate. However, the relevant distinction here is whether
the result is
* Largest range such that:
Forall Y in Other: Forall X in Result: X BinOp Y does not wrap.
(makeGuaranteedNoWrapRegion)
* Smallest range such that:
Forall Y in Other: Forall X not in Result: X BinOp Y wraps.
(A hypothetical makeAllowedNoWrapRegion)
* Both. (makeExactNoWrapRegion)
I'm adding a separate makeExactNoWrapRegion method accepting a
single APInt (same as makeExactICmpRegion) and using it in the
places where the guarantee is relevant.
Differential Revision: https://reviews.llvm.org/D60960
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359402 91177308-0d34-0410-b5e6-96231b3b80d8
2019-04-28 15:40:56 +00:00
..
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-03-12 21:02:54 +00:00
2019-01-19 08:50:56 +00:00
2019-02-14 23:42:21 +00:00
2019-01-19 08:50:56 +00:00
2019-04-26 05:56:23 +00:00
2019-01-20 21:19:56 +00:00
2019-01-19 08:50:56 +00:00
2018-06-23 02:02:38 +00:00
2019-01-19 08:50:56 +00:00
2019-03-14 19:22:08 +00:00
2019-01-19 08:50:56 +00:00
2019-04-28 15:40:56 +00:00
2019-01-19 08:50:56 +00:00
2019-03-08 10:44:06 +00:00
2019-01-19 08:50:56 +00:00
2019-04-11 20:25:10 +00:00
2019-04-12 12:54:52 +00:00
2019-01-19 08:50:56 +00:00
2019-02-01 02:28:03 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-04-09 09:38:25 +00:00
2019-01-19 08:50:56 +00:00
2019-04-24 19:51:16 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-02-08 20:48:56 +00:00
2019-02-08 20:48:56 +00:00
2019-04-22 17:04:51 +00:00
2019-04-22 17:04:51 +00:00
2019-02-08 20:48:56 +00:00
2019-04-16 18:55:16 +00:00
2019-02-07 14:38:25 +00:00
2019-03-17 23:16:18 +00:00
2019-04-23 09:39:58 +00:00
2019-04-03 13:56:36 +00:00
2019-03-14 13:46:14 +00:00
2019-01-19 08:50:56 +00:00
2019-03-13 19:46:33 +00:00
2019-03-13 19:07:59 +00:00
2019-04-25 22:27:57 +00:00
2019-03-29 08:45:24 +00:00
2019-03-18 06:01:27 +00:00
2019-03-13 19:46:32 +00:00
2019-03-19 05:02:30 +00:00
2019-04-15 17:17:35 +00:00
2019-01-19 08:50:56 +00:00
2019-02-08 20:48:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-03-06 15:20:13 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-04-08 19:13:55 +00:00
2019-01-19 08:50:56 +00:00
2019-03-01 18:36:24 +00:00
2019-01-19 08:50:56 +00:00
2019-03-15 15:11:38 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-03-12 01:31:44 +00:00
2019-02-28 04:00:55 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-03-22 23:11:08 +00:00
2019-02-03 16:16:48 +00:00
2019-01-19 08:50:56 +00:00
2019-02-28 19:55:07 +00:00
2019-04-24 00:06:24 +00:00
2019-01-19 08:50:56 +00:00
2019-03-31 10:15:39 +00:00
2019-02-11 07:42:30 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-28 13:25:57 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-20 21:19:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00