Files
clang-p2996/llvm/test/Transforms/InstCombine
Benjamin Kramer e6461e3053 InstCombine: Canonicalize (gep i8* X, -(ptrtoint Y)) to (sub (ptrtoint X), (ptrtoint Y))
The GEP pattern is what SCEV expander emits for "ugly geps". The latter is what
you get for pointer subtraction in C code. The rest of instcombine already
knows how to deal with that so just canonicalize on that.

llvm-svn: 191090
2013-09-20 14:38:44 +00:00
..
2013-08-28 23:04:41 +00:00
2013-07-09 07:50:59 +00:00
2013-08-28 23:04:41 +00:00
2013-07-09 22:01:22 +00:00
2013-08-12 12:43:26 +00:00
2013-08-19 21:40:31 +00:00
2013-02-16 23:41:36 +00:00
2012-11-14 20:18:34 +00:00
2013-08-28 23:04:41 +00:00
2013-08-21 19:53:10 +00:00
2013-08-28 23:04:41 +00:00
2013-08-28 23:04:41 +00:00
2013-03-28 19:34:14 +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.