Factor checked library call optimization into a common helper class and use it
to unify the almost identical code in CodeGenPrepare and InstCombineCalls.

llvm-svn: 98338
4 files changed
tree: b10bc8fcd84b48685c9195aecfd611504f978448
  1. clang/
  2. compiler-rt/
  3. llvm/