Chris Lattner
4de2c76542
Fix m_Not and m_Neg to not match random ConstantInt's. Before
...
these would try hard to match constants by inverting the bits
and recursively matching. There are two problems with this:
1) some patterns would match when we didn't want them to (theoretical)
2) this is insanely expensive to do, and most often pointless.
This was apparently useful in just 2 instcombine cases, which I
added code to handle explicitly. This change speeds up 'opt'
time on 176.gcc by 1% and produces bitwise identical code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123518 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-15 05:52:27 +00:00
..
2010-11-29 19:44:50 +00:00
2010-12-07 18:11:54 +00:00
2011-01-03 01:29:37 +00:00
2010-11-29 19:44:50 +00:00
2010-11-21 00:28:59 +00:00
2010-09-18 13:03:32 +00:00
2010-07-08 16:52:57 +00:00
2009-12-23 16:08:15 +00:00
2010-11-29 18:16:10 +00:00
2010-08-10 14:49:24 +00:00
2010-12-17 21:21:31 +00:00
2010-02-02 12:53:04 +00:00
2010-12-17 06:20:15 +00:00
2010-11-05 07:19:09 +00:00
2010-08-04 09:30:20 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 18:47:54 +00:00
2009-12-23 23:19:43 +00:00
2010-04-02 20:26:07 +00:00
2010-11-29 18:16:10 +00:00
2010-05-27 09:48:47 +00:00
2010-09-30 17:16:09 +00:00
2010-11-29 19:44:50 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 19:44:50 +00:00
2010-11-13 02:48:51 +00:00
2010-11-29 19:44:50 +00:00
2010-12-28 01:49:01 +00:00
2010-11-29 18:16:10 +00:00
2009-12-22 20:11:00 +00:00
2010-09-01 14:20:41 +00:00
2009-12-04 22:46:47 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 19:44:50 +00:00
2010-11-29 19:44:50 +00:00
2010-12-26 22:49:25 +00:00
2010-12-16 03:29:14 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 18:16:10 +00:00
2010-12-15 22:33:06 +00:00
2010-11-29 19:44:50 +00:00
2010-12-16 03:29:14 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 19:44:50 +00:00
2010-11-29 18:16:10 +00:00
2010-11-18 02:15:42 +00:00
2010-08-07 11:45:42 +00:00
2010-12-17 17:22:36 +00:00
2011-01-12 23:55:06 +00:00
2010-12-17 18:19:06 +00:00
2011-01-15 05:52:27 +00:00
2010-11-29 18:16:10 +00:00
2010-08-20 17:38:38 +00:00
2010-11-29 19:44:50 +00:00
2010-11-29 19:44:50 +00:00
2009-12-19 01:38:42 +00:00
2010-11-29 18:16:10 +00:00
2010-04-08 15:22:35 +00:00
2010-08-20 17:38:44 +00:00
2010-07-26 21:05:37 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 19:44:50 +00:00
2010-01-18 22:16:54 +00:00
2010-11-29 19:44:50 +00:00
2010-11-17 08:13:01 +00:00
2011-01-14 08:21:08 +00:00
2010-07-14 22:38:02 +00:00
2010-11-29 18:16:10 +00:00
2010-12-09 17:36:48 +00:00
2010-11-03 16:14:16 +00:00
2010-02-17 18:39:56 +00:00
2010-11-29 19:44:50 +00:00
2010-11-29 19:44:50 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 18:16:10 +00:00
2010-10-07 20:32:40 +00:00
2009-12-15 07:40:44 +00:00
2010-09-10 20:55:01 +00:00
2010-11-29 19:44:50 +00:00
2010-12-20 22:28:03 +00:00