Don't try to materialize a function that isn't materializable anyways. This
commit1e966d23e39c98395918808c74b2d63df616b27c
authorNick Lewycky <nicholas@mxc.ca>
Mon, 15 Feb 2010 21:27:56 +0000 (15 21:27 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 15 Feb 2010 21:27:56 +0000 (15 21:27 +0000)
tree6cc090b4dae7ca7bfb09f1e8ee8d67ccec29c264
parenteddc3a75ce105cc5c4d8520ff95183dd25cb59d5
Don't try to materialize a function that isn't materializable anyways. This
fixes a crash using FPM on a Function that isn't owned by a Module.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96273 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/PassManager.cpp