[PM] Simplify (ha! ha!) the way that instcombine calls the
authorChandler Carruth <chandlerc@gmail.com>
Wed, 21 Jan 2015 11:23:40 +0000 (11:23 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 21 Jan 2015 11:23:40 +0000 (11:23 +0000)
commitba4c5179a0aa11531f90a51775ae95f2287bf98b
tree2425e7cf81dcaf53ea2dc86160d11cff60f6f194
parent475b25eefacaa5316c10f9b0906497d9d93af41b
[PM] Simplify (ha! ha!) the way that instcombine calls the
SimplifyLibCalls utility by sinking it into the specific call part of
the combiner.

This will avoid us needing to do any contortions to build this object in
a subsequent refactoring I'm doing and seems generally better factored.
We don't need this utility everywhere and it carries no interesting
state so we might as well build it on demand.

llvm-svn: 226654
llvm/lib/Transforms/InstCombine/InstCombine.h
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp