Hans Wennborg d922915685 Switch lowering: fix assert in buildBitTests (PR23738)
When checking (High - Low + 1).sle(BitWidth), BitWidth would be truncated
to the size of the left-hand side. In the case of this PR, the left-hand
side was i4, so BitWidth=64 got truncated to 0 and the assert failed.

llvm-svn: 239048
2015-06-04 15:55:00 +00:00
..
2014-10-16 20:00:02 +00:00
2014-12-15 22:34:58 +00:00
2015-06-03 13:41:48 +00:00
2015-06-03 13:41:48 +00:00
2014-04-19 13:47:43 +00:00
2014-05-05 16:47:07 +00:00
2015-04-06 22:29:07 +00:00
2015-04-06 22:29:07 +00:00
2014-10-21 23:01:01 +00:00
2014-10-21 23:01:01 +00:00
2015-03-06 20:51:25 +00:00
2015-03-06 21:50:27 +00:00
2015-01-08 07:57:27 +00:00
2014-05-06 01:20:42 +00:00
2014-03-21 00:30:24 +00:00
2014-02-25 20:01:08 +00:00
2014-11-11 20:49:16 +00:00
2015-06-02 22:33:30 +00:00
2015-05-28 22:12:27 +00:00
2014-12-03 02:08:38 +00:00
2014-12-03 02:08:38 +00:00
2015-02-05 23:52:12 +00:00
2015-01-26 21:28:32 +00:00
2015-04-30 21:22:28 +00:00
2015-05-02 11:50:47 +00:00
2015-01-26 21:28:32 +00:00
2015-02-11 15:00:41 +00:00
2015-02-11 15:00:19 +00:00
2015-03-06 21:30:18 +00:00
2015-03-06 20:38:55 +00:00
2015-03-06 20:46:16 +00:00
2015-02-11 14:58:25 +00:00
2014-06-07 21:23:09 +00:00