diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-04-10 18:09:25 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-04-10 18:09:25 +0000 |
commit | 0d830ff7bf86e68d53931259af81dfa70bb9935b (patch) | |
tree | 42cba4e6d998a3578430a73eb93fcc1356abbd74 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 59d309c7b5860e1e795156ceb902f6b4dbf4ed61 (diff) | |
download | llvm-0d830ff7bf86e68d53931259af81dfa70bb9935b.zip llvm-0d830ff7bf86e68d53931259af81dfa70bb9935b.tar.gz llvm-0d830ff7bf86e68d53931259af81dfa70bb9935b.tar.bz2 |
[InstCombine] Use commutable matchers and m_OneUse in visitSub to shorten code. Add missing test cases.
In one case I removed commute handling for a multiply with a constant since we'll eventually get the constant on the right hand side.
llvm-svn: 299863
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions