Files
archived-llvm-mirror/test/Transforms/InstCombine
Sanjay Patel 3e2b1fd515 [InstSimplify] fold sdiv/srem based on compare of dividend and divisor
This should bring signed div/rem analysis up to the same level as unsigned. 
We use icmp simplification to determine when the divisor is known greater than the dividend.

Each positive test is followed by a negative test to show that we're not overstepping the boundaries of the known bits.
There are extra tests for the signed-min-value special cases.

Alive proofs:
http://rise4fun.com/Alive/WI5

Differential Revision: https://reviews.llvm.org/D37713

llvm-svn: 313264
2017-09-14 14:59:07 +00:00
..
2016-07-16 16:24:06 +00:00
2017-01-22 20:28:56 +00:00
2017-01-10 23:08:54 +00:00
2016-04-17 04:30:43 +00:00
2017-05-19 22:37:09 +00:00
2016-04-05 17:24:54 +00:00
2015-08-11 21:33:55 +00:00
2015-08-28 19:09:31 +00:00
2017-04-19 12:06:40 +00:00
2016-01-07 19:27:16 +00:00
2017-04-14 17:47:07 +00:00
2017-05-19 22:37:09 +00:00
2016-04-05 17:24:54 +00:00

This directory contains test cases for the instcombine transformation.  The
dated tests are actual bug tests, whereas the named tests are used to test
for features that the this pass should be capable of performing.