commit | a8f5cd3539580b2fe3c20c748c1374f76992f113 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Wed Nov 23 16:26:47 2011 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Wed Nov 23 16:26:47 2011 +0000 |
tree | 4b6fa623e718b5472a01f35d839f2c2c3d874691 | |
parent | f238f50aaf8a68f16dcc43a017aa32cbb73e938e [diff] |
Fix a crash in which a multiplication was being reported as being both negative and positive: positive, because it could be directly computed to be positive; negative, because the nsw flags means it is either negative or undefined (the multiplication always overflowed). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145104 91177308-0d34-0410-b5e6-96231b3b80d8