summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Reassociate/wrap-flags.ll
Commit message (Collapse)AuthorAgeFilesLines
* [Reassociate] Don't propogate flags when creating negationsDavid Majnemer2015-06-241-0/+11
| | | | | | | | | Reassociate mutated existing instructions in order to form negations which would create additional reassociate opportunities. This fixes PR23926. llvm-svn: 240593
* [Reassociate] Canonicalize negative constants out of expressions.Chad Rosier2014-11-111-3/+3
| | | | | | | | This is a reapplication of r221171, but we only perform the transformation on expressions which include a multiplication. We do not transform rem/div operations as this doesn't appear to be safe in all cases. llvm-svn: 221721
* [Reassociate] Better preserve NSW/NUW flags.Chad Rosier2014-11-071-0/+34
Part of PR12985. Phabricator Revision: http://reviews.llvm.org/D6172 llvm-svn: 221555
OpenPOWER on IntegriCloud