When uses of personality functions were moved from LandingPadInst to Function, we forgot to update SimplifyPersonality(). This patch corrects that.
Note: SimplifyPersonality() is an optimization which replaces personality functions with the default C++ personality when possible. Without this update, some ObjC++ projects fail to link against C++ libraries (seeing as the exception ABI had effectively changed).
if (!F)
You should test this by adding an uncommon use of the personality function. Just declare it as a global function (the type doesn't really matter) and take its address somewhere.