[PATCH] Added instruction combine to transform few more negative values addition to subtraction (Part 2)
Jingyue Wu
jingyue at google.com
Thu Jun 19 21:59:34 PDT 2014
Hi Dinesh,
I didn't see the code handling the second case in your summary:
```
(x + (~((y >> z) | c) + 1) --> x - ((y>>z) | c) if c is even
```
Am I missing anything?
Thanks,
Jingyue
http://reviews.llvm.org/D4209
More information about the llvm-commits
mailing list