Simon Tatham
8183de62fd
[TableGen] Allow 2^63-1 and 2^63-2 as int literals.
...
These two values correspond to the 'Empty' and 'Tombstone' special
keys defined by DenseMapInfo<int64_t>, which means that neither one
can be used as a key in DenseMap<int64_t, anything>. Hence, if you try
to use either of those values as an int literal, IntInit::get() fails
an assertion when it tries to insert them into its static cache of
int-literal objects.
Fixed by replacing the DenseMap with a std::map, which doesn't intrude
on the space of legal values of the key type.
Reviewers: nhaehnle, hfinkel, javedabsar, efriedma
Reviewed By: efriedma
Subscribers: fhahn, efriedma, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59016
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355900 91177308-0d34-0410-b5e6-96231b3b80d8
2019-03-12 09:28:19 +00:00
..
2019-01-03 00:14:33 +00:00
2017-12-07 09:51:55 +00:00
2018-11-29 18:20:08 +00:00
2018-03-06 13:49:01 +00:00
2018-03-14 11:00:43 +00:00
2017-07-07 05:50:45 +00:00
2018-03-06 13:48:47 +00:00
2018-03-06 13:48:39 +00:00
2018-03-06 13:48:47 +00:00
2018-10-10 10:52:57 +00:00
2018-03-19 14:14:20 +00:00
2018-03-06 13:48:39 +00:00
2018-03-14 11:00:57 +00:00
2017-08-28 20:11:27 +00:00
2019-01-25 10:25:25 +00:00
2019-01-25 10:25:25 +00:00
2019-01-25 10:25:25 +00:00
2019-01-25 10:25:25 +00:00
2019-01-25 10:25:25 +00:00
2019-01-25 10:25:25 +00:00
2019-01-25 10:25:25 +00:00
2019-01-25 10:25:25 +00:00
2019-01-25 10:25:25 +00:00
2019-01-25 10:25:25 +00:00
2018-11-28 11:43:49 +00:00
2018-11-28 11:43:49 +00:00
2018-11-28 11:43:49 +00:00
2018-11-28 11:43:49 +00:00
2018-11-28 11:43:49 +00:00
2018-11-28 11:43:49 +00:00
2018-11-28 11:43:49 +00:00
2018-11-28 11:43:49 +00:00
2018-03-14 11:00:48 +00:00
2018-12-05 00:47:59 +00:00
2018-06-04 14:26:05 +00:00
2018-03-09 12:24:42 +00:00
2018-03-09 12:24:42 +00:00
2016-12-01 19:38:50 +00:00
2018-03-14 11:00:57 +00:00
2018-03-14 11:00:57 +00:00
2018-05-22 14:36:58 +00:00
2018-03-06 13:48:39 +00:00
2018-03-06 13:49:16 +00:00
2018-03-05 15:21:04 +00:00
2018-05-02 13:17:26 +00:00
2018-06-21 13:35:44 +00:00
2018-03-05 15:21:04 +00:00
2018-03-09 12:24:30 +00:00
2018-06-21 13:36:22 +00:00
2018-06-21 13:36:22 +00:00
2018-09-25 17:59:02 +00:00
2019-02-20 19:43:47 +00:00
2019-02-09 00:29:13 +00:00
2017-09-14 16:56:21 +00:00
2018-03-06 13:48:20 +00:00
2018-03-06 13:48:20 +00:00
2018-06-23 02:02:38 +00:00
2018-06-23 02:02:38 +00:00
2018-06-23 02:02:38 +00:00
2019-03-12 09:28:19 +00:00
2018-03-09 12:24:06 +00:00
2018-07-11 08:40:19 +00:00
2018-08-06 22:37:44 +00:00
2018-06-04 14:26:05 +00:00
2018-03-14 11:00:43 +00:00
2019-03-05 17:16:07 +00:00
2019-03-01 09:46:29 +00:00
2018-03-21 17:12:53 +00:00
2018-03-05 14:01:38 +00:00
2018-06-04 14:26:05 +00:00
2018-03-05 15:21:04 +00:00
2018-06-04 14:26:05 +00:00
2018-06-21 13:35:44 +00:00
2018-03-14 11:00:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2017-01-30 15:07:01 +00:00
2017-05-15 10:13:07 +00:00
2018-01-08 16:25:40 +00:00
2018-06-21 13:36:22 +00:00
2018-03-19 14:14:28 +00:00
2018-03-19 14:14:10 +00:00
2018-03-21 17:12:53 +00:00
2018-02-23 10:46:07 +00:00
2018-06-04 14:26:05 +00:00
2018-03-05 15:21:04 +00:00
2018-03-05 15:21:11 +00:00
2018-08-04 01:22:12 +00:00
2018-08-04 01:22:12 +00:00
2018-08-04 01:22:12 +00:00
2016-01-13 07:53:11 +00:00
2018-03-06 13:48:30 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2017-07-12 13:24:46 +00:00