[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)
commit67d52573742da2951054df93aae3d1132352d4f7
treed89eeb408233c8f88d8e1bfc37c5f5e4312f4b40
parentcde587f359cb032f80ea73b84a8bf574341adeac
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226654 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombine.h
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp