diff options
author | Dinesh Dwivedi <dinesh.d@samsung.com> | 2014-06-19 08:29:18 +0000 |
---|---|---|
committer | Dinesh Dwivedi <dinesh.d@samsung.com> | 2014-06-19 08:29:18 +0000 |
commit | 83175090522ebd6513e45033c342200cd645f89c (patch) | |
tree | e9334ddae2170015070bbf36e6586779a1e2aef3 /cmake | |
parent | c28beb254dabd5f522bafdbdd59a4e22f0a539ec (diff) | |
download | llvm-83175090522ebd6513e45033c342200cd645f89c.tar.gz llvm-83175090522ebd6513e45033c342200cd645f89c.tar.bz2 llvm-83175090522ebd6513e45033c342200cd645f89c.tar.xz |
Refactored and updated SimplifyUsingDistributiveLaws() to
* Find factorization opportunities using identity values.
* Find factorization opportunities by treating shl(X, C) as mul (X, shl(C))
* Keep NSW flag while simplifying instruction using factorization.
This fixes PR19263.
Differential Revision: http://reviews.llvm.org/D3799
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211261 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions