Reapply r64300:

Make sure the SCC pass manager initializes any contained
function pass managers.  Without this, simplify-libcalls
would add nocapture attributes when run on its own, but
not when run as part of -std-compile-opts or similar.

llvm-svn: 64443
2 files changed
tree: ccd110aeca5655f73c630cc1b1dcde85622d42e4
  1. clang/
  2. llvm/