<div dir="ltr">This function is also used by bindings (include/llvm-c) and has not been updated there. I have done some minimal changes in r240010 but actually don't know how to test them.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 17, 2015 at 10:52 PM, David Majnemer <span dir="ltr"><<a href="mailto:david.majnemer@gmail.com" target="_blank">david.majnemer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: majnemer<br>
Date: Wed Jun 17 15:52:32 2015<br>
New Revision: 239940<br>
<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D239940-26view-3Drev&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Olkfnk5PicFgVquz-pMYtiPZUsHOonTcayHl8voXJO8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=239940&view=rev</a><br>
Log:<br>
Move the personality function from LandingPadInst to Function<br>
<br>
The personality routine currently lives in the LandingPadInst.<br>
<br>
This isn't desirable because:<br>
- All LandingPadInsts in the same function must have the same<br>
  personality routine.  This means that each LandingPadInst beyond the<br>
  first has an operand which produces no additional information.<br>
<br>
- There is ongoing work to introduce EH IR constructs other than<br>
  LandingPadInst.  Moving the personality routine off of any one<br>
  particular Instruction and onto the parent function seems a lot better<br>
  than have N different places a personality function can sneak onto an<br>
  exceptional function.<br>
<br>
Differential Revision: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10429&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=PuE7Phtn72f_OYxEc5XM0qtL-srgyvs2d4DER9uqMdY&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/D10429</a><br>
<br>
Modified:<br>
    llvm/trunk/docs/BitCodeFormat.rst<br>
    llvm/trunk/docs/LangRef.rst<br>
    llvm/trunk/include/llvm/Analysis/LibCallSemantics.h<br>
    llvm/trunk/include/llvm/Bitcode/LLVMBitCodes.h<br>
    llvm/trunk/include/llvm/IR/Function.h<br>
    llvm/trunk/include/llvm/IR/IRBuilder.h<br>
    llvm/trunk/include/llvm/IR/Instructions.h<br>
    llvm/trunk/include/llvm/IR/User.h<br>
    llvm/trunk/lib/Analysis/LibCallSemantics.cpp<br>
    llvm/trunk/lib/AsmParser/LLParser.cpp<br>
    llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp<br>
    llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp<br>
    llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.cpp<br>
    llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp<br>
    llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp<br>
    llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp<br>
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp<br>
    llvm/trunk/lib/CodeGen/ShadowStackGCLowering.cpp<br>
    llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp<br>
    llvm/trunk/lib/CodeGen/WinEHPrepare.cpp<br>
    llvm/trunk/lib/IR/AsmWriter.cpp<br>
    llvm/trunk/lib/IR/Core.cpp<br>
    llvm/trunk/lib/IR/Function.cpp<br>
    llvm/trunk/lib/IR/Instructions.cpp<br>
    llvm/trunk/lib/IR/TypeFinder.cpp<br>
    llvm/trunk/lib/IR/Verifier.cpp<br>
    llvm/trunk/lib/Linker/LinkModules.cpp<br>
    llvm/trunk/lib/Target/X86/X86WinEHState.cpp<br>
    llvm/trunk/lib/Transforms/IPO/GlobalDCE.cpp<br>
    llvm/trunk/lib/Transforms/IPO/PruneEH.cpp<br>
    llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp<br>
    llvm/trunk/lib/Transforms/Utils/InlineFunction.cpp<br>
    llvm/trunk/lib/Transforms/Utils/Local.cpp<br>
    llvm/trunk/test/Analysis/CallGraph/do-nothing-intrinsic.ll<br>
    llvm/trunk/test/Analysis/Dominators/invoke.ll<br>
    llvm/trunk/test/Analysis/LazyCallGraph/basic.ll<br>
    llvm/trunk/test/Analysis/Lint/cppeh-catch-intrinsics-clean.ll<br>
    llvm/trunk/test/Analysis/Lint/cppeh-catch-intrinsics.ll<br>
    llvm/trunk/test/Assembler/invalid-landingpad.ll<br>
    llvm/trunk/test/Bitcode/miscInstructions.3.2.ll<br>
    llvm/trunk/test/CodeGen/AArch64/arm64-big-endian-eh.ll<br>
    llvm/trunk/test/CodeGen/AArch64/br-to-eh-lpad.ll<br>
    llvm/trunk/test/CodeGen/AArch64/pic-eh-stubs.ll<br>
    llvm/trunk/test/CodeGen/ARM/2009-08-31-LSDA-Name.ll<br>
    llvm/trunk/test/CodeGen/ARM/2010-07-26-GlobalMerge.ll<br>
    llvm/trunk/test/CodeGen/ARM/2010-08-04-EHCrash.ll<br>
    llvm/trunk/test/CodeGen/ARM/2011-05-04-MultipleLandingPadSuccs.ll<br>
    llvm/trunk/test/CodeGen/ARM/2011-12-19-sjlj-clobber.ll<br>
    llvm/trunk/test/CodeGen/ARM/2012-04-24-SplitEHCriticalEdge.ll<br>
    llvm/trunk/test/CodeGen/ARM/2014-05-14-DwarfEHCrash.ll<br>
    llvm/trunk/test/CodeGen/ARM/arm-ttype-target2.ll<br>
    llvm/trunk/test/CodeGen/ARM/big-endian-eh-unwind.ll<br>
    llvm/trunk/test/CodeGen/ARM/crash.ll<br>
    llvm/trunk/test/CodeGen/ARM/debug-frame-no-debug.ll<br>
    llvm/trunk/test/CodeGen/ARM/debug-frame.ll<br>
    llvm/trunk/test/CodeGen/ARM/dwarf-eh.ll<br>
    llvm/trunk/test/CodeGen/ARM/eh-dispcont.ll<br>
    llvm/trunk/test/CodeGen/ARM/eh-resume-darwin.ll<br>
    llvm/trunk/test/CodeGen/ARM/ehabi-filters.ll<br>
    llvm/trunk/test/CodeGen/ARM/ehabi-handlerdata-nounwind.ll<br>
    llvm/trunk/test/CodeGen/ARM/ehabi-handlerdata.ll<br>
    llvm/trunk/test/CodeGen/ARM/ehabi.ll<br>
    llvm/trunk/test/CodeGen/ARM/global-merge.ll<br>
    llvm/trunk/test/CodeGen/ARM/gv-stubs-crash.ll<br>
    llvm/trunk/test/CodeGen/ARM/invoke-donothing-assert.ll<br>
    llvm/trunk/test/CodeGen/ARM/sjlj-prepare-critical-edge.ll<br>
    llvm/trunk/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll<br>
    llvm/trunk/test/CodeGen/Generic/2007-02-25-invoke.ll<br>
    llvm/trunk/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll<br>
    llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll<br>
    llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll<br>
    llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll<br>
    llvm/trunk/test/CodeGen/Generic/donothing.ll<br>
    llvm/trunk/test/CodeGen/Generic/exception-handling.ll<br>
    llvm/trunk/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll<br>
    llvm/trunk/test/CodeGen/Mips/eh.ll<br>
    llvm/trunk/test/CodeGen/Mips/ehframe-indirect.ll<br>
    llvm/trunk/test/CodeGen/Mips/insn-zero-size-bb.ll<br>
    llvm/trunk/test/CodeGen/Mips/mips16ex.ll<br>
    llvm/trunk/test/CodeGen/PowerPC/2007-11-16-landingpad-split.ll<br>
    llvm/trunk/test/CodeGen/PowerPC/extra-toc-reg-deps.ll<br>
    llvm/trunk/test/CodeGen/PowerPC/fast-isel-icmp-split.ll<br>
    llvm/trunk/test/CodeGen/PowerPC/glob-comp-aa-crash.ll<br>
    llvm/trunk/test/CodeGen/PowerPC/pr18663-2.ll<br>
    llvm/trunk/test/CodeGen/PowerPC/preincprep-invoke.ll<br>
    llvm/trunk/test/CodeGen/SPARC/exception.ll<br>
    llvm/trunk/test/CodeGen/Thumb/sjljehprepare-lower-vector.ll<br>
    llvm/trunk/test/CodeGen/Thumb2/constant-islands.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-alloca-sink.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-catch-all.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-catch-and-throw.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-catch-scalar.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-catch-unwind.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-cleanup-invoke.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-demote-liveout.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-frame-vars.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-inalloca.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-min-unwind.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-mixed-catch-and-cleanup.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-multi-catch.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-nested-1.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-nested-2.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-nested-3.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-nested-rethrow.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-nonalloca-frame-values.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch-all.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch-reordered.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-cleanups.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-shared-empty-catch.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-similar-catch-blocks.ll<br>
    llvm/trunk/test/CodeGen/WinEH/cppeh-state-calc-1.ll<br>
    llvm/trunk/test/CodeGen/WinEH/seh-catch-all.ll<br>
    llvm/trunk/test/CodeGen/WinEH/seh-inlined-finally.ll<br>
    llvm/trunk/test/CodeGen/WinEH/seh-outlined-finally.ll<br>
    llvm/trunk/test/CodeGen/WinEH/seh-prepared-basic.ll<br>
    llvm/trunk/test/CodeGen/WinEH/seh-resume-phi.ll<br>
    llvm/trunk/test/CodeGen/WinEH/seh-simple.ll<br>
    llvm/trunk/test/CodeGen/X86/2007-05-05-Personality.ll<br>
    llvm/trunk/test/CodeGen/X86/2008-04-17-CoalescerBug.ll<br>
    llvm/trunk/test/CodeGen/X86/2008-05-28-LocalRegAllocBug.ll<br>
    llvm/trunk/test/CodeGen/X86/2009-03-13-PHIElimBug.ll<br>
    llvm/trunk/test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll<br>
    llvm/trunk/test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll<br>
    llvm/trunk/test/CodeGen/X86/2009-11-25-ImpDefBug.ll<br>
    llvm/trunk/test/CodeGen/X86/2010-04-06-SSEDomainFixCrash.ll<br>
    llvm/trunk/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll<br>
    llvm/trunk/test/CodeGen/X86/2010-08-04-MingWCrash.ll<br>
    llvm/trunk/test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll<br>
    llvm/trunk/test/CodeGen/X86/2012-05-19-CoalescerCrash.ll<br>
    llvm/trunk/test/CodeGen/X86/2012-11-30-misched-dbg.ll<br>
    llvm/trunk/test/CodeGen/X86/asm-label2.ll<br>
    llvm/trunk/test/CodeGen/X86/block-placement.ll<br>
    llvm/trunk/test/CodeGen/X86/branchfolding-landingpads.ll<br>
    llvm/trunk/test/CodeGen/X86/catch.ll<br>
    llvm/trunk/test/CodeGen/X86/cfi.ll<br>
    llvm/trunk/test/CodeGen/X86/code_placement_eh.ll<br>
    llvm/trunk/test/CodeGen/X86/dwarf-eh-prepare.ll<br>
    llvm/trunk/test/CodeGen/X86/eh-label.ll<br>
    llvm/trunk/test/CodeGen/X86/exception-label.ll<br>
    llvm/trunk/test/CodeGen/X86/fast-isel-cmp-branch.ll<br>
    llvm/trunk/test/CodeGen/X86/fast-isel-gep.ll<br>
    llvm/trunk/test/CodeGen/X86/gcc_except_table.ll<br>
    llvm/trunk/test/CodeGen/X86/gcc_except_table_functions.ll<br>
    llvm/trunk/test/CodeGen/X86/global-sections.ll<br>
    llvm/trunk/test/CodeGen/X86/inalloca-invoke.ll<br>
    llvm/trunk/test/CodeGen/X86/indirect-hidden.ll<br>
    llvm/trunk/test/CodeGen/X86/large-gep-chain.ll<br>
    llvm/trunk/test/CodeGen/X86/patchpoint-invoke.ll<br>
    llvm/trunk/test/CodeGen/X86/personality.ll<br>
    llvm/trunk/test/CodeGen/X86/personality_size.ll<br>
    llvm/trunk/test/CodeGen/X86/pr3522.ll<br>
    llvm/trunk/test/CodeGen/X86/scev-interchange.ll<br>
    llvm/trunk/test/CodeGen/X86/seh-catch-all-win32.ll<br>
    llvm/trunk/test/CodeGen/X86/seh-catch-all.ll<br>
    llvm/trunk/test/CodeGen/X86/seh-except-finally.ll<br>
    llvm/trunk/test/CodeGen/X86/seh-filter.ll<br>
    llvm/trunk/test/CodeGen/X86/seh-finally.ll<br>
    llvm/trunk/test/CodeGen/X86/seh-safe-div-win32.ll<br>
    llvm/trunk/test/CodeGen/X86/seh-safe-div.ll<br>
    llvm/trunk/test/CodeGen/X86/setjmp-spills.ll<br>
    llvm/trunk/test/CodeGen/X86/split-eh-lpad-edges.ll<br>
    llvm/trunk/test/CodeGen/X86/stack-protector.ll<br>
    llvm/trunk/test/CodeGen/X86/statepoint-invoke.ll<br>
    llvm/trunk/test/CodeGen/X86/statepoint-stack-usage.ll<br>
    llvm/trunk/test/CodeGen/X86/win32-eh-states.ll<br>
    llvm/trunk/test/CodeGen/X86/win32-eh.ll<br>
    llvm/trunk/test/CodeGen/X86/win64_call_epi.ll<br>
    llvm/trunk/test/CodeGen/X86/win64_eh.ll<br>
    llvm/trunk/test/CodeGen/X86/win_eh_prepare.ll<br>
    llvm/trunk/test/CodeGen/XCore/exception.ll<br>
    llvm/trunk/test/DebugInfo/AArch64/eh_frame_personality.ll<br>
    llvm/trunk/test/DebugInfo/AArch64/frameindices.ll<br>
    llvm/trunk/test/DebugInfo/SystemZ/eh_frame_personality.ll<br>
    llvm/trunk/test/DebugInfo/X86/arange-and-stub.ll<br>
    llvm/trunk/test/DebugInfo/X86/sret.ll<br>
    llvm/trunk/test/DebugInfo/inline-debug-info-multiret.ll<br>
    llvm/trunk/test/DebugInfo/inline-debug-info.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/Inputs/multi-module-eh-b.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/eh-lg-pic.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/eh-sm-pic.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/eh.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll<br>
    llvm/trunk/test/ExecutionEngine/OrcMCJIT/Inputs/multi-module-eh-b.ll<br>
    llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll<br>
    llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll<br>
    llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh.ll<br>
    llvm/trunk/test/ExecutionEngine/OrcMCJIT/multi-module-eh-a.ll<br>
    llvm/trunk/test/Feature/callingconventions.ll<br>
    llvm/trunk/test/Feature/calltest.ll<br>
    llvm/trunk/test/Feature/exception.ll<br>
    llvm/trunk/test/Feature/seh-nounwind.ll<br>
    llvm/trunk/test/Instrumentation/AddressSanitizer/instrument-no-return.ll<br>
    llvm/trunk/test/LTO/X86/linkonce_odr_func.ll<br>
    llvm/trunk/test/Other/2008-10-15-MissingSpace.ll<br>
    llvm/trunk/test/Other/2009-03-31-CallGraph.ll<br>
    llvm/trunk/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll<br>
    llvm/trunk/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll<br>
    llvm/trunk/test/Transforms/ADCE/dce_pure_invoke.ll<br>
    llvm/trunk/test/Transforms/ArgumentPromotion/crash.ll<br>
    llvm/trunk/test/Transforms/BDCE/dce-pure.ll<br>
    llvm/trunk/test/Transforms/BDCE/order.ll<br>
    llvm/trunk/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll<br>
    llvm/trunk/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll<br>
    llvm/trunk/test/Transforms/DeadArgElim/2009-03-17-MRE-Invoke.ll<br>
    llvm/trunk/test/Transforms/FunctionAttrs/nocapture.ll<br>
    llvm/trunk/test/Transforms/GVN/2010-05-08-OneBit.ll<br>
    llvm/trunk/test/Transforms/GVN/2011-09-07-TypeIdFor.ll<br>
    llvm/trunk/test/Transforms/GVN/cond_br2.ll<br>
    llvm/trunk/test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll<br>
    llvm/trunk/test/Transforms/GlobalOpt/invoke.ll<br>
    llvm/trunk/test/Transforms/IPConstantProp/return-argument.ll<br>
    llvm/trunk/test/Transforms/IPConstantProp/return-constant.ll<br>
    llvm/trunk/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll<br>
    llvm/trunk/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll<br>
    llvm/trunk/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll<br>
    llvm/trunk/test/Transforms/IndVarSimplify/crash.ll<br>
    llvm/trunk/test/Transforms/IndVarSimplify/interesting-invoke-use.ll<br>
    llvm/trunk/test/Transforms/Inline/2003-09-14-InlineValue.ll<br>
    llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll<br>
    llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll<br>
    llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll<br>
    llvm/trunk/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll<br>
    llvm/trunk/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll<br>
    llvm/trunk/test/Transforms/Inline/2007-04-15-InlineEH.ll<br>
    llvm/trunk/test/Transforms/Inline/callgraph-update.ll<br>
    llvm/trunk/test/Transforms/Inline/crash.ll<br>
    llvm/trunk/test/Transforms/Inline/debug-invoke.ll<br>
    llvm/trunk/test/Transforms/Inline/inline-invoke-tail.ll<br>
    llvm/trunk/test/Transforms/Inline/inline-invoke-with-asm-call.ll<br>
    llvm/trunk/test/Transforms/Inline/inline_invoke.ll<br>
    llvm/trunk/test/Transforms/Inline/inline_returns_twice.ll<br>
    llvm/trunk/test/Transforms/Inline/invoke-cleanup.ll<br>
    llvm/trunk/test/Transforms/Inline/invoke-combine-clauses.ll<br>
    llvm/trunk/test/Transforms/Inline/invoke-cost.ll<br>
    llvm/trunk/test/Transforms/Inline/invoke_test-1.ll<br>
    llvm/trunk/test/Transforms/Inline/invoke_test-2.ll<br>
    llvm/trunk/test/Transforms/Inline/invoke_test-3.ll<br>
    llvm/trunk/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll<br>
    llvm/trunk/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll<br>
    llvm/trunk/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll<br>
    llvm/trunk/test/Transforms/InstCombine/AddOverFlow.ll<br>
    llvm/trunk/test/Transforms/InstCombine/LandingPadClauses.ll<br>
    llvm/trunk/test/Transforms/InstCombine/call.ll<br>
    llvm/trunk/test/Transforms/InstCombine/cast.ll<br>
    llvm/trunk/test/Transforms/InstCombine/crash.ll<br>
    llvm/trunk/test/Transforms/InstCombine/gepphigep.ll<br>
    llvm/trunk/test/Transforms/InstCombine/invoke.ll<br>
    llvm/trunk/test/Transforms/InstCombine/malloc-free-delete.ll<br>
    llvm/trunk/test/Transforms/InstCombine/objsize-64.ll<br>
    llvm/trunk/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll<br>
    llvm/trunk/test/Transforms/JumpThreading/landing-pad.ll<br>
    llvm/trunk/test/Transforms/LCSSA/invoke-dest.ll<br>
    llvm/trunk/test/Transforms/LoopRotate/multiple-exits.ll<br>
    llvm/trunk/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll<br>
    llvm/trunk/test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll<br>
    llvm/trunk/test/Transforms/LoopSimplify/dbg-loc.ll<br>
    llvm/trunk/test/Transforms/LoopStrengthReduce/dominate-assert.ll<br>
    llvm/trunk/test/Transforms/LoopUnswitch/2011-09-26-EHCrash.ll<br>
    llvm/trunk/test/Transforms/LoopUnswitch/2012-04-30-LoopUnswitch-LPad-Crash.ll<br>
    llvm/trunk/test/Transforms/LowerInvoke/2003-12-10-Crash.ll<br>
    llvm/trunk/test/Transforms/LowerInvoke/lowerinvoke.ll<br>
    llvm/trunk/test/Transforms/Mem2Reg/crash.ll<br>
    llvm/trunk/test/Transforms/MergeFunc/2011-02-08-RemoveEqual.ll<br>
    llvm/trunk/test/Transforms/MergeFunc/call-and-invoke-with-ranges.ll<br>
    llvm/trunk/test/Transforms/ObjCARC/basic.ll<br>
    llvm/trunk/test/Transforms/ObjCARC/contract-testcases.ll<br>
    llvm/trunk/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll<br>
    llvm/trunk/test/Transforms/ObjCARC/invoke.ll<br>
    llvm/trunk/test/Transforms/ObjCARC/path-overflow.ll<br>
    llvm/trunk/test/Transforms/ObjCARC/retain-not-declared.ll<br>
    llvm/trunk/test/Transforms/ObjCARC/split-backedge.ll<br>
    llvm/trunk/test/Transforms/PhaseOrdering/gdce.ll<br>
    llvm/trunk/test/Transforms/PlaceSafepoints/invokes.ll<br>
    llvm/trunk/test/Transforms/PlaceSafepoints/patchable-statepoints.ll<br>
    llvm/trunk/test/Transforms/PlaceSafepoints/statepoint-calling-conventions.ll<br>
    llvm/trunk/test/Transforms/PlaceSafepoints/statepoint-format.ll<br>
    llvm/trunk/test/Transforms/PruneEH/recursivetest.ll<br>
    llvm/trunk/test/Transforms/PruneEH/seh-nounwind.ll<br>
    llvm/trunk/test/Transforms/PruneEH/simpletest.ll<br>
    llvm/trunk/test/Transforms/Reg2Mem/crash.ll<br>
    llvm/trunk/test/Transforms/RewriteStatepointsForGC/live-vector.ll<br>
    llvm/trunk/test/Transforms/RewriteStatepointsForGC/preprocess.ll<br>
    llvm/trunk/test/Transforms/RewriteStatepointsForGC/relocate_invoke_result.ll<br>
    llvm/trunk/test/Transforms/RewriteStatepointsForGC/rematerialize-derived-pointers.ll<br>
    llvm/trunk/test/Transforms/SCCP/2003-08-26-InvokeHandling.ll<br>
    llvm/trunk/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll<br>
    llvm/trunk/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll<br>
    llvm/trunk/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll<br>
    llvm/trunk/test/Transforms/SCCP/ipsccp-basic.ll<br>
    llvm/trunk/test/Transforms/SLPVectorizer/X86/ordering.ll<br>
    llvm/trunk/test/Transforms/SLPVectorizer/X86/phi_landingpad.ll<br>
    llvm/trunk/test/Transforms/SafeStack/escape-gep-invoke.ll<br>
    llvm/trunk/test/Transforms/SafeStack/invoke.ll<br>
    llvm/trunk/test/Transforms/ScalarRepl/2011-09-22-PHISpeculateInvoke.ll<br>
    llvm/trunk/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll<br>
    llvm/trunk/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll<br>
    llvm/trunk/test/Transforms/SimplifyCFG/2007-11-22-InvokeNoUnwind.ll<br>
    llvm/trunk/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll<br>
    llvm/trunk/test/Transforms/SimplifyCFG/2011-09-05-TrivialLPad.ll<br>
    llvm/trunk/test/Transforms/SimplifyCFG/UnreachableEliminate.ll<br>
    llvm/trunk/test/Transforms/SimplifyCFG/duplicate-landingpad.ll<br>
    llvm/trunk/test/Transforms/SimplifyCFG/invoke.ll<br>
    llvm/trunk/test/Transforms/SimplifyCFG/invoke_unwind.ll<br>
    llvm/trunk/test/Transforms/SimplifyCFG/seh-nounwind.ll<br>
    llvm/trunk/test/Transforms/SimplifyCFG/statepoint-invoke-unwind.ll<br>
    llvm/trunk/test/Verifier/dominates.ll<br>
    llvm/trunk/test/Verifier/invoke.ll<br>
    llvm/trunk/test/Verifier/range-2.ll<br>
    llvm/trunk/test/Verifier/statepoint.ll<br>
    llvm/trunk/tools/verify-uselistorder/verify-uselistorder.cpp<br>
    llvm/trunk/unittests/IR/DominatorTreeTest.cpp<br>
    llvm/trunk/unittests/IR/IRBuilderTest.cpp<br>
<br>
Modified: llvm/trunk/docs/BitCodeFormat.rst<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_docs_BitCodeFormat.rst-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=w5oj7A7KQNfxiXRTxoZSZSktN-CF9i39CQ1awOwo-j8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/BitCodeFormat.rst?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/docs/BitCodeFormat.rst (original)<br>
+++ llvm/trunk/docs/BitCodeFormat.rst Wed Jun 17 15:52:32 2015<br>
@@ -741,7 +741,7 @@ global variable. The operand fields are:<br>
 MODULE_CODE_FUNCTION Record<br>
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
<br>
-``[FUNCTION, type, callingconv, isproto, linkage, paramattr, alignment, section, visibility, gc, prologuedata, dllstorageclass, comdat, prefixdata]``<br>
+``[FUNCTION, type, callingconv, isproto, linkage, paramattr, alignment, section, visibility, gc, prologuedata, dllstorageclass, comdat, prefixdata, personalityfn]``<br>
<br>
 The ``FUNCTION`` record (code 8) marks the declaration or definition of a<br>
 function. The operand fields are:<br>
@@ -795,6 +795,8 @@ function. The operand fields are:<br>
 * *prefixdata*: If non-zero, the value index of the prefix data for this function,<br>
   plus 1.<br>
<br>
+* *personalityfn*: If non-zero, the value index of the personality function for this function,<br>
+  plus 1.<br>
<br>
 MODULE_CODE_ALIAS Record<br>
 ^^^^^^^^^^^^^^^^^^^^^^^^<br>
<br>
Modified: llvm/trunk/docs/LangRef.rst<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_docs_LangRef.rst-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=r_x-VagfQwHr057JlJ3w2Qi2XoOIPGdK0b7qSbanOgk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/docs/LangRef.rst (original)<br>
+++ llvm/trunk/docs/LangRef.rst Wed Jun 17 15:52:32 2015<br>
@@ -635,8 +635,9 @@ attributes <paramattrs>`), optional :ref<br>
 an optional section, an optional alignment,<br>
 an optional :ref:`comdat <langref_comdats>`,<br>
 an optional :ref:`garbage collector name <gc>`, an optional :ref:`prefix <prefixdata>`,<br>
-an optional :ref:`prologue <prologuedata>`, an opening<br>
-curly brace, a list of basic blocks, and a closing curly brace.<br>
+an optional :ref:`prologue <prologuedata>`,<br>
+an optional :ref:`personality <personalityfn>`,<br>
+an opening curly brace, a list of basic blocks, and a closing curly brace.<br>
<br>
 LLVM function declarations consist of the "``declare``" keyword, an<br>
 optional :ref:`linkage type <linkage>`, an optional :ref:`visibility<br>
@@ -683,7 +684,8 @@ Syntax::<br>
            [cconv] [ret attrs]<br>
            <ResultType> @<FunctionName> ([argument list])<br>
            [unnamed_addr] [fn Attrs] [section "name"] [comdat [($name)]]<br>
-           [align N] [gc] [prefix Constant] [prologue Constant] { ... }<br>
+           [align N] [gc] [prefix Constant] [prologue Constant]<br>
+           [personality Constant] { ... }<br>
<br>
 The argument list is a comma seperated sequence of arguments where each<br>
 argument is of the following form<br>
@@ -1130,6 +1132,14 @@ A function may have prologue data but no<br>
 to the ``available_externally`` linkage in that the data may be used by the<br>
 optimizers but will not be emitted in the object file.<br>
<br>
+.. _personalityfn:<br>
+<br>
+Personality Function<br>
+-------------<br>
+<br>
+The ``personality`` attribute permits functions to specify what function<br>
+to use for exception handling.<br>
+<br>
 .. _attrgrp:<br>
<br>
 Attribute Groups<br>
@@ -7283,8 +7293,8 @@ Syntax:<br>
<br>
 ::<br>
<br>
-      <resultval> = landingpad <resultty> personality <type> <pers_fn> <clause>+<br>
-      <resultval> = landingpad <resultty> personality <type> <pers_fn> cleanup <clause>*<br>
+      <resultval> = landingpad <resultty> <clause>+<br>
+      <resultval> = landingpad <resultty> cleanup <clause>*<br>
<br>
       <clause> := catch <type> <value><br>
       <clause> := filter <array constant type> <array constant><br>
@@ -7296,14 +7306,13 @@ The '``landingpad``' instruction is used<br>
 system <ExceptionHandling.html#overview>`_ to specify that a basic block<br>
 is a landing pad --- one where the exception lands, and corresponds to the<br>
 code found in the ``catch`` portion of a ``try``/``catch`` sequence. It<br>
-defines values supplied by the personality function (``pers_fn``) upon<br>
+defines values supplied by the :ref:`personality function <personalityfn>` upon<br>
 re-entry to the function. The ``resultval`` has the type ``resultty``.<br>
<br>
 Arguments:<br>
 """"""""""<br>
<br>
-This instruction takes a ``pers_fn`` value. This is the personality<br>
-function associated with the unwinding mechanism. The optional<br>
+The optional<br>
 ``cleanup`` flag indicates that the landing pad block is a cleanup.<br>
<br>
 A ``clause`` begins with the clause type --- ``catch`` or ``filter`` --- and<br>
@@ -7318,7 +7327,7 @@ Semantics:<br>
 """"""""""<br>
<br>
 The '``landingpad``' instruction defines the values which are set by the<br>
-personality function (``pers_fn``) upon re-entry to the function, and<br>
+:ref:`personality function <personalityfn>` upon re-entry to the function, and<br>
 therefore the "result type" of the ``landingpad`` instruction. As with<br>
 calling conventions, how the personality function results are<br>
 represented in LLVM IR is target specific.<br>
@@ -7341,8 +7350,6 @@ The ``landingpad`` instruction has sever<br>
    pad block.<br>
 -  A basic block that is not a landing pad block may not include a<br>
    '``landingpad``' instruction.<br>
--  All '``landingpad``' instructions in a function must have the same<br>
-   personality function.<br>
<br>
 Example:<br>
 """"""""<br>
@@ -7350,13 +7357,13 @@ Example:<br>
 .. code-block:: llvm<br>
<br>
       ;; A landing pad which can catch an integer.<br>
-      %res = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+      %res = landingpad { i8*, i32 }<br>
                catch i8** @_ZTIi<br>
       ;; A landing pad that is a cleanup.<br>
-      %res = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+      %res = landingpad { i8*, i32 }<br>
                cleanup<br>
       ;; A landing pad which can catch an integer and can only throw a double.<br>
-      %res = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+      %res = landingpad { i8*, i32 }<br>
                catch i8** @_ZTIi<br>
                filter [1 x i8**] [@_ZTId]<br>
<br>
<br>
Modified: llvm/trunk/include/llvm/Analysis/LibCallSemantics.h<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_include_llvm_Analysis_LibCallSemantics.h-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=EWcQjLqdv6ZlgXfFcL1JnKvIK6ZoIeldgym9AAc7dvU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LibCallSemantics.h?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/include/llvm/Analysis/LibCallSemantics.h (original)<br>
+++ llvm/trunk/include/llvm/Analysis/LibCallSemantics.h Wed Jun 17 15:52:32 2015<br>
@@ -206,7 +206,7 @@ class InvokeInst;<br>
     llvm_unreachable("invalid enum");<br>
   }<br>
<br>
-  bool canSimplifyInvokeNoUnwind(const InvokeInst *II);<br>
+  bool canSimplifyInvokeNoUnwind(const Function *F);<br>
<br>
 } // end namespace llvm<br>
<br>
<br>
Modified: llvm/trunk/include/llvm/Bitcode/LLVMBitCodes.h<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_include_llvm_Bitcode_LLVMBitCodes.h-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=0PNd7CB40G8KHqa_u817yb4nWMLYpLLgUG8yeBa5KZA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Bitcode/LLVMBitCodes.h?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/include/llvm/Bitcode/LLVMBitCodes.h (original)<br>
+++ llvm/trunk/include/llvm/Bitcode/LLVMBitCodes.h Wed Jun 17 15:52:32 2015<br>
@@ -342,7 +342,7 @@ namespace bitc {<br>
                                      //             align, vol,<br>
                                      //             ordering, synchscope]<br>
     FUNC_CODE_INST_RESUME      = 39, // RESUME:     [opval]<br>
-    FUNC_CODE_INST_LANDINGPAD  = 40, // LANDINGPAD: [ty,val,val,num,id0,val0...]<br>
+    FUNC_CODE_INST_LANDINGPAD_OLD  = 40, // LANDINGPAD: [ty,val,val,num,id0,val0...]<br>
     FUNC_CODE_INST_LOADATOMIC  = 41, // LOAD: [opty, op, align, vol,<br>
                                      //        ordering, synchscope]<br>
     FUNC_CODE_INST_STOREATOMIC_OLD = 42, // STORE: [ptrty,ptr,val, align, vol<br>
@@ -352,6 +352,7 @@ namespace bitc {<br>
     FUNC_CODE_INST_STOREATOMIC = 45, // STORE: [ptrty,ptr,val, align, vol<br>
     FUNC_CODE_INST_CMPXCHG     = 46, // CMPXCHG: [ptrty,ptr,valty,cmp,new, align,<br>
                                      //           vol,ordering,synchscope]<br>
+    FUNC_CODE_INST_LANDINGPAD  = 47, // LANDINGPAD: [ty,val,num,id0,val0...]<br>
   };<br>
<br>
   enum UseListCodes {<br>
<br>
Modified: llvm/trunk/include/llvm/IR/Function.h<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_include_llvm_IR_Function.h-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=jkDf0hg-YJosK5v3S2m2KlvaJi7imweCwbOumgqzPBI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Function.h?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/include/llvm/IR/Function.h (original)<br>
+++ llvm/trunk/include/llvm/IR/Function.h Wed Jun 17 15:52:32 2015<br>
@@ -25,6 +25,7 @@<br>
 #include "llvm/IR/BasicBlock.h"<br>
 #include "llvm/IR/CallingConv.h"<br>
 #include "llvm/IR/GlobalObject.h"<br>
+#include "llvm/IR/OperandTraits.h"<br>
 #include "llvm/Support/Compiler.h"<br>
<br>
 namespace llvm {<br>
@@ -119,11 +120,22 @@ private:<br>
 public:<br>
   static Function *Create(FunctionType *Ty, LinkageTypes Linkage,<br>
                           const Twine &N = "", Module *M = nullptr) {<br>
-    return new(0) Function(Ty, Linkage, N, M);<br>
+    return new(1) Function(Ty, Linkage, N, M);<br>
   }<br>
<br>
   ~Function() override;<br>
<br>
+  /// \brief Provide fast operand accessors<br>
+  DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);<br>
+<br>
+  /// \brief Get the personality function associated with this function.<br>
+  bool hasPersonalityFn() const { return getNumOperands() != 0; }<br>
+  Constant *getPersonalityFn() const {<br>
+    assert(hasPersonalityFn());<br>
+    return cast<Constant>(Op<0>());<br>
+  }<br>
+  void setPersonalityFn(Constant *C);<br>
+<br>
   Type *getReturnType() const;           // Return the type of the ret val<br>
   FunctionType *getFunctionType() const; // Return the FunctionType for me<br>
<br>
@@ -601,6 +613,11 @@ ilist_traits<Argument>::getSymTab(Functi<br>
   return F ? &F->getValueSymbolTable() : nullptr;<br>
 }<br>
<br>
+template <><br>
+struct OperandTraits<Function> : public OptionalOperandTraits<Function> {};<br>
+<br>
+DEFINE_TRANSPARENT_OPERAND_ACCESSORS(Function, Value)<br>
+<br>
 } // End llvm namespace<br>
<br>
 #endif<br>
<br>
Modified: llvm/trunk/include/llvm/IR/IRBuilder.h<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_include_llvm_IR_IRBuilder.h-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=lvEW70xERJiosRWGdU3WZxxi9ejPHhLTvlW4JIFsAws&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/IRBuilder.h?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/include/llvm/IR/IRBuilder.h (original)<br>
+++ llvm/trunk/include/llvm/IR/IRBuilder.h Wed Jun 17 15:52:32 2015<br>
@@ -1556,9 +1556,9 @@ public:<br>
     return Insert(InsertValueInst::Create(Agg, Val, Idxs), Name);<br>
   }<br>
<br>
-  LandingPadInst *CreateLandingPad(Type *Ty, Value *PersFn, unsigned NumClauses,<br>
+  LandingPadInst *CreateLandingPad(Type *Ty, unsigned NumClauses,<br>
                                    const Twine &Name = "") {<br>
-    return Insert(LandingPadInst::Create(Ty, PersFn, NumClauses), Name);<br>
+    return Insert(LandingPadInst::Create(Ty, NumClauses), Name);<br>
   }<br>
<br>
   //===--------------------------------------------------------------------===//<br>
<br>
Modified: llvm/trunk/include/llvm/IR/Instructions.h<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_include_llvm_IR_Instructions.h-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=OYRIwUwXx1qQbFG3JSORXXj1YpDFP2nxZcu8ABAdWoc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Instructions.h?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/include/llvm/IR/Instructions.h (original)<br>
+++ llvm/trunk/include/llvm/IR/Instructions.h Wed Jun 17 15:52:32 2015<br>
@@ -2437,34 +2437,27 @@ private:<br>
     return User::operator new(s);<br>
   }<br>
   void growOperands(unsigned Size);<br>
-  void init(Value *PersFn, unsigned NumReservedValues, const Twine &NameStr);<br>
+  void init(unsigned NumReservedValues, const Twine &NameStr);<br>
+<br>
+  explicit LandingPadInst(Type *RetTy, unsigned NumReservedValues,<br>
+                          const Twine &NameStr, Instruction *InsertBefore);<br>
+  explicit LandingPadInst(Type *RetTy, unsigned NumReservedValues,<br>
+                          const Twine &NameStr, BasicBlock *InsertAtEnd);<br>
<br>
-  explicit LandingPadInst(Type *RetTy, Value *PersonalityFn,<br>
-                          unsigned NumReservedValues, const Twine &NameStr,<br>
-                          Instruction *InsertBefore);<br>
-  explicit LandingPadInst(Type *RetTy, Value *PersonalityFn,<br>
-                          unsigned NumReservedValues, const Twine &NameStr,<br>
-                          BasicBlock *InsertAtEnd);<br>
 protected:<br>
   LandingPadInst *clone_impl() const override;<br>
 public:<br>
   /// Constructors - NumReservedClauses is a hint for the number of incoming<br>
   /// clauses that this landingpad will have (use 0 if you really have no idea).<br>
-  static LandingPadInst *Create(Type *RetTy, Value *PersonalityFn,<br>
-                                unsigned NumReservedClauses,<br>
+  static LandingPadInst *Create(Type *RetTy, unsigned NumReservedClauses,<br>
                                 const Twine &NameStr = "",<br>
                                 Instruction *InsertBefore = nullptr);<br>
-  static LandingPadInst *Create(Type *RetTy, Value *PersonalityFn,<br>
-                                unsigned NumReservedClauses,<br>
+  static LandingPadInst *Create(Type *RetTy, unsigned NumReservedClauses,<br>
                                 const Twine &NameStr, BasicBlock *InsertAtEnd);<br>
<br>
   /// Provide fast operand accessors<br>
   DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);<br>
<br>
-  /// getPersonalityFn - Get the personality function associated with this<br>
-  /// landing pad.<br>
-  Value *getPersonalityFn() const { return getOperand(0); }<br>
-<br>
   /// isCleanup - Return 'true' if this landingpad instruction is a<br>
   /// cleanup. I.e., it should be run when unwinding even if its landing pad<br>
   /// doesn't catch the exception.<br>
@@ -2482,21 +2475,21 @@ public:<br>
   /// Get the value of the clause at index Idx. Use isCatch/isFilter to<br>
   /// determine what type of clause this is.<br>
   Constant *getClause(unsigned Idx) const {<br>
-    return cast<Constant>(getOperandList()[Idx + 1]);<br>
+    return cast<Constant>(getOperandList()[Idx]);<br>
   }<br>
<br>
   /// isCatch - Return 'true' if the clause and index Idx is a catch clause.<br>
   bool isCatch(unsigned Idx) const {<br>
-    return !isa<ArrayType>(getOperandList()[Idx + 1]->getType());<br>
+    return !isa<ArrayType>(getOperandList()[Idx]->getType());<br>
   }<br>
<br>
   /// isFilter - Return 'true' if the clause and index Idx is a filter clause.<br>
   bool isFilter(unsigned Idx) const {<br>
-    return isa<ArrayType>(getOperandList()[Idx + 1]->getType());<br>
+    return isa<ArrayType>(getOperandList()[Idx]->getType());<br>
   }<br>
<br>
   /// getNumClauses - Get the number of clauses for this landing pad.<br>
-  unsigned getNumClauses() const { return getNumOperands() - 1; }<br>
+  unsigned getNumClauses() const { return getNumOperands(); }<br>
<br>
   /// reserveClauses - Grow the size of the operand list to accommodate the new<br>
   /// number of clauses.<br>
@@ -2512,7 +2505,7 @@ public:<br>
 };<br>
<br>
 template <><br>
-struct OperandTraits<LandingPadInst> : public HungoffOperandTraits<2> {<br>
+struct OperandTraits<LandingPadInst> : public HungoffOperandTraits<1> {<br>
 };<br>
<br>
 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(LandingPadInst, Value)<br>
<br>
Modified: llvm/trunk/include/llvm/IR/User.h<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_include_llvm_IR_User.h-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=cdBwKAR_pWAQEZnB-MgLxANzNfKmq7e6XYtsdBuV5oE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/User.h?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/include/llvm/IR/User.h (original)<br>
+++ llvm/trunk/include/llvm/IR/User.h Wed Jun 17 15:52:32 2015<br>
@@ -150,6 +150,19 @@ public:<br>
     NumUserOperands = NumOps;<br>
   }<br>
<br>
+  /// Set the number of operands on a Function.<br>
+  ///<br>
+  /// Function always allocates space for a single operands, but<br>
+  /// doesn't always use it.<br>
+  ///<br>
+  /// FIXME: As that the number of operands is used to find the start of<br>
+  /// the allocated memory in operator delete, we need to always think we have<br>
+  /// 1 operand before delete.<br>
+  void setFunctionNumOperands(unsigned NumOps) {<br>
+    assert(NumOps <= 1 && "Function can only have 0 or 1 operands");<br>
+    NumUserOperands = NumOps;<br>
+  }<br>
+<br>
   /// \brief Subclasses with hung off uses need to manage the operand count<br>
   /// themselves.  In these instances, the operand count isn't used to find the<br>
   /// OperandList, so there's no issue in having the operand count change.<br>
<br>
Modified: llvm/trunk/lib/Analysis/LibCallSemantics.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_Analysis_LibCallSemantics.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=aT3b7fgicWZV9dsPac8FudOaF9gxw1gzAZzhvqdZjTs&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LibCallSemantics.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Analysis/LibCallSemantics.cpp (original)<br>
+++ llvm/trunk/lib/Analysis/LibCallSemantics.cpp Wed Jun 17 15:52:32 2015<br>
@@ -80,9 +80,8 @@ EHPersonality llvm::classifyEHPersonalit<br>
     .Default(EHPersonality::Unknown);<br>
 }<br>
<br>
-bool llvm::canSimplifyInvokeNoUnwind(const InvokeInst *II) {<br>
-  const LandingPadInst *LP = II->getLandingPadInst();<br>
-  EHPersonality Personality = classifyEHPersonality(LP->getPersonalityFn());<br>
+bool llvm::canSimplifyInvokeNoUnwind(const Function *F) {<br>
+  EHPersonality Personality = classifyEHPersonality(F->getPersonalityFn());<br>
   // We can't simplify any invokes to nounwind functions if the personality<br>
   // function wants to catch asynch exceptions.  The nounwind attribute only<br>
   // implies that the function does not throw synchronous exceptions.<br>
<br>
Modified: llvm/trunk/lib/AsmParser/LLParser.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_AsmParser_LLParser.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=sN1PZbjwmHVFqf90iqrodG5ln28H4TbnFu9Zzmld1kc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)<br>
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Wed Jun 17 15:52:32 2015<br>
@@ -4057,7 +4057,7 @@ bool LLParser::ParseTypeAndBasicBlock(Ba<br>
 /// FunctionHeader<br>
 ///   ::= OptionalLinkage OptionalVisibility OptionalCallingConv OptRetAttrs<br>
 ///       OptUnnamedAddr Type GlobalName '(' ArgList ')' OptFuncAttrs OptSection<br>
-///       OptionalAlign OptGC OptionalPrefix OptionalPrologue<br>
+///       OptionalAlign OptGC OptionalPrefix OptionalPrologue OptPersonalityFn<br>
 bool LLParser::ParseFunctionHeader(Function *&Fn, bool isDefine) {<br>
   // Parse the linkage.<br>
   LocTy LinkageLoc = Lex.getLoc();<br>
@@ -4139,6 +4139,7 @@ bool LLParser::ParseFunctionHeader(Funct<br>
   LocTy UnnamedAddrLoc;<br>
   Constant *Prefix = nullptr;<br>
   Constant *Prologue = nullptr;<br>
+  Constant *PersonalityFn = nullptr;<br>
   Comdat *C;<br>
<br>
   if (ParseArgumentList(ArgList, isVarArg) ||<br>
@@ -4155,7 +4156,9 @@ bool LLParser::ParseFunctionHeader(Funct<br>
       (EatIfPresent(lltok::kw_prefix) &&<br>
        ParseGlobalTypeAndValue(Prefix)) ||<br>
       (EatIfPresent(lltok::kw_prologue) &&<br>
-       ParseGlobalTypeAndValue(Prologue)))<br>
+       ParseGlobalTypeAndValue(Prologue)) ||<br>
+      (EatIfPresent(lltok::kw_personality) &&<br>
+       ParseGlobalTypeAndValue(PersonalityFn)))<br>
     return true;<br>
<br>
   if (FuncAttrs.contains(Attribute::Builtin))<br>
@@ -4254,6 +4257,7 @@ bool LLParser::ParseFunctionHeader(Funct<br>
   Fn->setAlignment(Alignment);<br>
   Fn->setSection(Section);<br>
   Fn->setComdat(C);<br>
+  Fn->setPersonalityFn(PersonalityFn);<br>
   if (!GC.empty()) Fn->setGC(GC.c_str());<br>
   Fn->setPrefixData(Prefix);<br>
   Fn->setPrologueData(Prologue);<br>
@@ -5105,14 +5109,11 @@ int LLParser::ParsePHI(Instruction *&Ins<br>
 ///   ::= 'filter' TypeAndValue ( ',' TypeAndValue )*<br>
 bool LLParser::ParseLandingPad(Instruction *&Inst, PerFunctionState &PFS) {<br>
   Type *Ty = nullptr; LocTy TyLoc;<br>
-  Value *PersFn; LocTy PersFnLoc;<br>
<br>
-  if (ParseType(Ty, TyLoc) ||<br>
-      ParseToken(lltok::kw_personality, "expected 'personality'") ||<br>
-      ParseTypeAndValue(PersFn, PersFnLoc, PFS))<br>
+  if (ParseType(Ty, TyLoc))<br>
     return true;<br>
<br>
-  std::unique_ptr<LandingPadInst> LP(LandingPadInst::Create(Ty, PersFn, 0));<br>
+  std::unique_ptr<LandingPadInst> LP(LandingPadInst::Create(Ty, 0));<br>
   LP->setCleanup(EatIfPresent(lltok::kw_cleanup));<br>
<br>
   while (Lex.getKind() == lltok::kw_catch || Lex.getKind() == lltok::kw_filter){<br>
<br>
Modified: llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_Bitcode_Reader_BitcodeReader.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=mfOA9azmVgWZjwj0uQp5iP21GUjcQKXg7OTvYDkv_lo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp (original)<br>
+++ llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp Wed Jun 17 15:52:32 2015<br>
@@ -150,6 +150,7 @@ class BitcodeReader : public GVMateriali<br>
   std::vector<std::pair<GlobalAlias*, unsigned> > AliasInits;<br>
   std::vector<std::pair<Function*, unsigned> > FunctionPrefixes;<br>
   std::vector<std::pair<Function*, unsigned> > FunctionPrologues;<br>
+  std::vector<std::pair<Function*, unsigned> > FunctionPersonalityFns;<br>
<br>
   SmallVector<Instruction*, 64> InstsWithTBAATag;<br>
<br>
@@ -2031,11 +2032,13 @@ std::error_code BitcodeReader::resolveGl<br>
   std::vector<std::pair<GlobalAlias*, unsigned> > AliasInitWorklist;<br>
   std::vector<std::pair<Function*, unsigned> > FunctionPrefixWorklist;<br>
   std::vector<std::pair<Function*, unsigned> > FunctionPrologueWorklist;<br>
+  std::vector<std::pair<Function*, unsigned> > FunctionPersonalityFnWorklist;<br>
<br>
   GlobalInitWorklist.swap(GlobalInits);<br>
   AliasInitWorklist.swap(AliasInits);<br>
   FunctionPrefixWorklist.swap(FunctionPrefixes);<br>
   FunctionPrologueWorklist.swap(FunctionPrologues);<br>
+  FunctionPersonalityFnWorklist.swap(FunctionPersonalityFns);<br>
<br>
   while (!GlobalInitWorklist.empty()) {<br>
     unsigned ValID = GlobalInitWorklist.back().second;<br>
@@ -2093,6 +2096,19 @@ std::error_code BitcodeReader::resolveGl<br>
     FunctionPrologueWorklist.pop_back();<br>
   }<br>
<br>
+  while (!FunctionPersonalityFnWorklist.empty()) {<br>
+    unsigned ValID = FunctionPersonalityFnWorklist.back().second;<br>
+    if (ValID >= ValueList.size()) {<br>
+      FunctionPersonalityFns.push_back(FunctionPersonalityFnWorklist.back());<br>
+    } else {<br>
+      if (Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID]))<br>
+        FunctionPersonalityFnWorklist.back().first->setPersonalityFn(C);<br>
+      else<br>
+        return error("Expected a constant");<br>
+    }<br>
+    FunctionPersonalityFnWorklist.pop_back();<br>
+  }<br>
+<br>
   return std::error_code();<br>
 }<br>
<br>
@@ -3023,6 +3039,9 @@ std::error_code BitcodeReader::parseModu<br>
       if (Record.size() > 13 && Record[13] != 0)<br>
         FunctionPrefixes.push_back(std::make_pair(Func, Record[13]-1));<br>
<br>
+      if (Record.size() > 14 && Record[14] != 0)<br>
+        FunctionPersonalityFns.push_back(std::make_pair(Func, Record[14] - 1));<br>
+<br>
       ValueList.push_back(Func);<br>
<br>
       // If this is a function with a body, remember the prototype we are<br>
@@ -3976,21 +3995,35 @@ std::error_code BitcodeReader::parseFunc<br>
       break;<br>
     }<br>
<br>
-    case bitc::FUNC_CODE_INST_LANDINGPAD: {<br>
+    case bitc::FUNC_CODE_INST_LANDINGPAD:<br>
+    case bitc::FUNC_CODE_INST_LANDINGPAD_OLD: {<br>
       // LANDINGPAD: [ty, val, val, num, (id0,val0 ...)?]<br>
       unsigned Idx = 0;<br>
-      if (Record.size() < 4)<br>
-        return error("Invalid record");<br>
+      if (BitCode == bitc::FUNC_CODE_INST_LANDINGPAD) {<br>
+        if (Record.size() < 3)<br>
+          return error("Invalid record");<br>
+      } else {<br>
+        assert(BitCode == bitc::FUNC_CODE_INST_LANDINGPAD_OLD);<br>
+        if (Record.size() < 4)<br>
+          return error("Invalid record");<br>
+      }<br>
       Type *Ty = getTypeByID(Record[Idx++]);<br>
       if (!Ty)<br>
         return error("Invalid record");<br>
-      Value *PersFn = nullptr;<br>
-      if (getValueTypePair(Record, Idx, NextValueNo, PersFn))<br>
-        return error("Invalid record");<br>
+      if (BitCode == bitc::FUNC_CODE_INST_LANDINGPAD_OLD) {<br>
+        Value *PersFn = nullptr;<br>
+        if (getValueTypePair(Record, Idx, NextValueNo, PersFn))<br>
+          return error("Invalid record");<br>
+<br>
+        if (!F->hasPersonalityFn())<br>
+          F->setPersonalityFn(cast<Constant>(PersFn));<br>
+        else if (F->getPersonalityFn() != cast<Constant>(PersFn))<br>
+          return error("Personality function mismatch");<br>
+      }<br>
<br>
       bool IsCleanup = !!Record[Idx++];<br>
       unsigned NumClauses = Record[Idx++];<br>
-      LandingPadInst *LP = LandingPadInst::Create(Ty, PersFn, NumClauses);<br>
+      LandingPadInst *LP = LandingPadInst::Create(Ty, NumClauses);<br>
       LP->setCleanup(IsCleanup);<br>
       for (unsigned J = 0; J != NumClauses; ++J) {<br>
         LandingPadInst::ClauseType CT =<br>
<br>
Modified: llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_Bitcode_Writer_BitcodeWriter.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Xj55o03koslHYbgZf8tlFe8NqtZBxcH-CDgQgb5TKfA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp (original)<br>
+++ llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp Wed Jun 17 15:52:32 2015<br>
@@ -695,7 +695,7 @@ static void WriteModuleInfo(const Module<br>
   for (const Function &F : *M) {<br>
     // FUNCTION:  [type, callingconv, isproto, linkage, paramattrs, alignment,<br>
     //             section, visibility, gc, unnamed_addr, prologuedata,<br>
-    //             dllstorageclass, comdat, prefixdata]<br>
+    //             dllstorageclass, comdat, prefixdata, personalityfn]<br>
     Vals.push_back(VE.getTypeID(F.getFunctionType()));<br>
     Vals.push_back(F.getCallingConv());<br>
     Vals.push_back(F.isDeclaration());<br>
@@ -712,6 +712,8 @@ static void WriteModuleInfo(const Module<br>
     Vals.push_back(F.hasComdat() ? VE.getComdatID(F.getComdat()) : 0);<br>
     Vals.push_back(F.hasPrefixData() ? (VE.getValueID(F.getPrefixData()) + 1)<br>
                                      : 0);<br>
+    Vals.push_back(<br>
+        F.hasPersonalityFn() ? (VE.getValueID(F.getPersonalityFn()) + 1) : 0);<br>
<br>
     unsigned AbbrevToUse = 0;<br>
     Stream.EmitRecord(bitc::MODULE_CODE_FUNCTION, Vals, AbbrevToUse);<br>
@@ -1859,7 +1861,6 @@ static void WriteInstruction(const Instr<br>
     const LandingPadInst &LP = cast<LandingPadInst>(I);<br>
     Code = bitc::FUNC_CODE_INST_LANDINGPAD;<br>
     Vals.push_back(VE.getTypeID(LP.getType()));<br>
-    PushValueAndType(LP.getPersonalityFn(), InstID, Vals, VE);<br>
     Vals.push_back(LP.isCleanup());<br>
     Vals.push_back(LP.getNumClauses());<br>
     for (unsigned I = 0, E = LP.getNumClauses(); I != E; ++I) {<br>
<br>
Modified: llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_Bitcode_Writer_ValueEnumerator.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=9yI6P7HfSwkUVsT0qP-bT2rnh3YnqyQhO0bzG-85ow0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.cpp (original)<br>
+++ llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.cpp Wed Jun 17 15:52:32 2015<br>
@@ -93,6 +93,9 @@ static OrderMap orderModule(const Module<br>
     if (F.hasPrologueData())<br>
       if (!isa<GlobalValue>(F.getPrologueData()))<br>
         orderValue(F.getPrologueData(), OM);<br>
+    if (F.hasPersonalityFn())<br>
+      if (!isa<GlobalValue>(F.getPersonalityFn()))<br>
+        orderValue(F.getPersonalityFn(), OM);<br>
   }<br>
   OM.LastGlobalConstantID = OM.size();<br>
<br>
@@ -274,6 +277,8 @@ static UseListOrderStack predictUseListO<br>
       predictValueUseListOrder(F.getPrefixData(), nullptr, OM, Stack);<br>
     if (F.hasPrologueData())<br>
       predictValueUseListOrder(F.getPrologueData(), nullptr, OM, Stack);<br>
+    if (F.hasPersonalityFn())<br>
+      predictValueUseListOrder(F.getPersonalityFn(), nullptr, OM, Stack);<br>
   }<br>
<br>
   return Stack;<br>
@@ -326,6 +331,11 @@ ValueEnumerator::ValueEnumerator(const M<br>
     if (F.hasPrologueData())<br>
       EnumerateValue(F.getPrologueData());<br>
<br>
+  // Enumerate the personality functions.<br>
+  for (Module::const_iterator I = M.begin(), E = M.end(); I != E; ++I)<br>
+    if (I->hasPersonalityFn())<br>
+      EnumerateValue(I->getPersonalityFn());<br>
+<br>
   // Enumerate the metadata type.<br>
   //<br>
   // TODO: Move this to ValueEnumerator::EnumerateOperandType() once bitcode<br>
<br>
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_CodeGen_AsmPrinter_AsmPrinter.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=MU735pDLvS0rOs4HdZ5Bq0v2AQEJpVeCp2AhKucMZtk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)<br>
+++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Wed Jun 17 15:52:32 2015<br>
@@ -548,6 +548,10 @@ void AsmPrinter::EmitFunctionHeader() {<br>
   if (F->hasPrefixData())<br>
     EmitGlobalConstant(F->getPrefixData());<br>
<br>
+  // Emit the personality function.<br>
+  if (F->hasPersonalityFn())<br>
+    EmitGlobalConstant(F->getPersonalityFn());<br>
+<br>
   // Emit the CurrentFnSym.  This is a virtual function to allow targets to<br>
   // do their wild and crazy things as required.<br>
   EmitFunctionEntryLabel();<br>
<br>
Modified: llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_CodeGen_DwarfEHPrepare.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=7oP_B3I7HRRss1kIPPagYGGHj9JXuTVHEEvqPoiiIBs&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp (original)<br>
+++ llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp Wed Jun 17 15:52:32 2015<br>
@@ -181,27 +181,22 @@ size_t DwarfEHPrepare::pruneUnreachableR<br>
 bool DwarfEHPrepare::InsertUnwindResumeCalls(Function &Fn) {<br>
   SmallVector<ResumeInst*, 16> Resumes;<br>
   SmallVector<LandingPadInst*, 16> CleanupLPads;<br>
-  bool FoundLP = false;<br>
   for (BasicBlock &BB : Fn) {<br>
     if (auto *RI = dyn_cast<ResumeInst>(BB.getTerminator()))<br>
       Resumes.push_back(RI);<br>
-    if (auto *LP = BB.getLandingPadInst()) {<br>
+    if (auto *LP = BB.getLandingPadInst())<br>
       if (LP->isCleanup())<br>
         CleanupLPads.push_back(LP);<br>
-      // Check the personality on the first landingpad. Don't do anything if<br>
-      // it's for MSVC.<br>
-      if (!FoundLP) {<br>
-        FoundLP = true;<br>
-        EHPersonality Pers = classifyEHPersonality(LP->getPersonalityFn());<br>
-        if (isMSVCEHPersonality(Pers))<br>
-          return false;<br>
-      }<br>
-    }<br>
   }<br>
<br>
   if (Resumes.empty())<br>
     return false;<br>
<br>
+  // Check the personality, don't do anything if it's for MSVC.<br>
+  EHPersonality Pers = classifyEHPersonality(Fn.getPersonalityFn());<br>
+  if (isMSVCEHPersonality(Pers))<br>
+    return false;<br>
+<br>
   LLVMContext &Ctx = Fn.getContext();<br>
<br>
   size_t ResumesLeft = pruneUnreachableResumes(Fn, Resumes, CleanupLPads);<br>
<br>
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_CodeGen_SelectionDAG_FunctionLoweringInfo.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=UvlM0N1-BFMBMTO2hH8lB2gGYAwgmflDe1_d9x8mo4Q&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp (original)<br>
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp Wed Jun 17 15:52:32 2015<br>
@@ -259,8 +259,8 @@ void FunctionLoweringInfo::set(const Fun<br>
<br>
   // If this is an MSVC EH personality, we need to do a bit more work.<br>
   EHPersonality Personality = EHPersonality::Unknown;<br>
-  if (!LPads.empty())<br>
-    Personality = classifyEHPersonality(LPads.back()->getPersonalityFn());<br>
+  if (Fn->hasPersonalityFn())<br>
+    Personality = classifyEHPersonality(Fn->getPersonalityFn());<br>
   if (!isMSVCEHPersonality(Personality))<br>
     return;<br>
<br>
@@ -546,8 +546,10 @@ void llvm::ComputeUsesVAFloatArgument(co<br>
 /// landingpad instruction and add them to the specified machine module info.<br>
 void llvm::AddLandingPadInfo(const LandingPadInst &I, MachineModuleInfo &MMI,<br>
                              MachineBasicBlock *MBB) {<br>
-  MMI.addPersonality(MBB,<br>
-                     cast<Function>(I.getPersonalityFn()->stripPointerCasts()));<br>
+  MMI.addPersonality(<br>
+      MBB,<br>
+      cast<Function>(<br>
+          I.getParent()->getParent()->getPersonalityFn()->stripPointerCasts()));<br>
<br>
   if (I.isCleanup())<br>
     MMI.addCleanup(MBB);<br>
<br>
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_CodeGen_SelectionDAG_SelectionDAGISel.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=sce1DZkm11wv55C1WS6E4Lnbhizd5D3Uo5cu9qKqMuE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (original)<br>
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Wed Jun 17 15:52:32 2015<br>
@@ -938,8 +938,10 @@ bool SelectionDAGISel::PrepareEHLandingP<br>
   // pad into several BBs.<br>
   const BasicBlock *LLVMBB = MBB->getBasicBlock();<br>
   const LandingPadInst *LPadInst = LLVMBB->getLandingPadInst();<br>
-  MF->getMMI().addPersonality(<br>
-      MBB, cast<Function>(LPadInst->getPersonalityFn()->stripPointerCasts()));<br>
+  MF->getMMI().addPersonality(MBB, cast<Function>(LPadInst->getParent()<br>
+                                                      ->getParent()<br>
+                                                      ->getPersonalityFn()<br>
+                                                      ->stripPointerCasts()));<br>
   EHPersonality Personality = MF->getMMI().getPersonalityType();<br>
<br>
   if (isMSVCEHPersonality(Personality)) {<br>
<br>
Modified: llvm/trunk/lib/CodeGen/ShadowStackGCLowering.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_CodeGen_ShadowStackGCLowering.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=8oRacnH1nl60KBQOokWLvdA-8MPJo-paTWYr3jKBW24&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ShadowStackGCLowering.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/CodeGen/ShadowStackGCLowering.cpp (original)<br>
+++ llvm/trunk/lib/CodeGen/ShadowStackGCLowering.cpp Wed Jun 17 15:52:32 2015<br>
@@ -144,10 +144,14 @@ public:<br>
       BasicBlock *CleanupBB = BasicBlock::Create(C, CleanupBBName, &F);<br>
       Type *ExnTy =<br>
           StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C), nullptr);<br>
-      Constant *PersFn = F.getParent()->getOrInsertFunction(<br>
-          "__gcc_personality_v0", FunctionType::get(Type::getInt32Ty(C), true));<br>
+      if (!F.hasPersonalityFn()) {<br>
+        Constant *PersFn = F.getParent()->getOrInsertFunction(<br>
+            "__gcc_personality_v0",<br>
+            FunctionType::get(Type::getInt32Ty(C), true));<br>
+        F.setPersonalityFn(PersFn);<br>
+      }<br>
       LandingPadInst *LPad =<br>
-          LandingPadInst::Create(ExnTy, PersFn, 1, "cleanup.lpad", CleanupBB);<br>
+          LandingPadInst::Create(ExnTy, 1, "cleanup.lpad", CleanupBB);<br>
       LPad->setCleanup(true);<br>
       ResumeInst *RI = ResumeInst::Create(LPad, CleanupBB);<br>
<br>
<br>
Modified: llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_CodeGen_SjLjEHPrepare.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Vlr-37IHehILIpvyD9dEOfItGMCIFdeooNR8EeWNJzU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp (original)<br>
+++ llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp Wed Jun 17 15:52:32 2015<br>
@@ -227,7 +227,7 @@ Value *SjLjEHPrepare::setupFunctionConte<br>
   // Personality function<br>
   IRBuilder<> Builder(EntryBB->getTerminator());<br>
   if (!PersonalityFn)<br>
-    PersonalityFn = LPads[0]->getPersonalityFn();<br>
+    PersonalityFn = F.getPersonalityFn();<br>
   Value *PersonalityFieldPtr = Builder.CreateConstGEP2_32(<br>
       FunctionContextTy, FuncCtx, 0, 3, "pers_fn_gep");<br>
   Builder.CreateStore(<br>
<br>
Modified: llvm/trunk/lib/CodeGen/WinEHPrepare.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_CodeGen_WinEHPrepare.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=MkQvtTJqqB9PuZaIBlTfNOtnqqpS3PGD3FCnX7DzuP0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/WinEHPrepare.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/CodeGen/WinEHPrepare.cpp (original)<br>
+++ llvm/trunk/lib/CodeGen/WinEHPrepare.cpp Wed Jun 17 15:52:32 2015<br>
@@ -111,7 +111,7 @@ private:<br>
   bool outlineHandler(ActionHandler *Action, Function *SrcFn,<br>
                       LandingPadInst *LPad, BasicBlock *StartBB,<br>
                       FrameVarInfoMap &VarInfo);<br>
-  void addStubInvokeToHandlerIfNeeded(Function *Handler, Value *PersonalityFn);<br>
+  void addStubInvokeToHandlerIfNeeded(Function *Handler);<br>
<br>
   void mapLandingPadBlocks(LandingPadInst *LPad, LandingPadActions &Actions);<br>
   CatchHandler *findCatchHandler(BasicBlock *BB, BasicBlock *&NextBB,<br>
@@ -379,7 +379,7 @@ bool WinEHPrepare::runOnFunction(Functio<br>
     return false;<br>
<br>
   // Classify the personality to see what kind of preparation we need.<br>
-  Personality = classifyEHPersonality(LPads.back()->getPersonalityFn());<br>
+  Personality = classifyEHPersonality(Fn.getPersonalityFn());<br>
<br>
   // Do nothing if this is not an MSVC personality.<br>
   if (!isMSVCEHPersonality(Personality))<br>
@@ -1265,8 +1265,7 @@ static bool isCatchBlock(BasicBlock *BB)<br>
   return false;<br>
 }<br>
<br>
-static BasicBlock *createStubLandingPad(Function *Handler,<br>
-                                        Value *PersonalityFn) {<br>
+static BasicBlock *createStubLandingPad(Function *Handler) {<br>
   // FIXME: Finish this!<br>
   LLVMContext &Context = Handler->getContext();<br>
   BasicBlock *StubBB = BasicBlock::Create(Context, "stub");<br>
@@ -1275,7 +1274,7 @@ static BasicBlock *createStubLandingPad(<br>
   LandingPadInst *LPad = Builder.CreateLandingPad(<br>
       llvm::StructType::get(Type::getInt8PtrTy(Context),<br>
                             Type::getInt32Ty(Context), nullptr),<br>
-      PersonalityFn, 0);<br>
+      0);<br>
   // Insert a call to llvm.eh.actions so that we don't try to outline this lpad.<br>
   Function *ActionIntrin =<br>
       Intrinsic::getDeclaration(Handler->getParent(), Intrinsic::eh_actions);<br>
@@ -1290,8 +1289,7 @@ static BasicBlock *createStubLandingPad(<br>
 // landing pad if none is found.  The code that generates the .xdata tables for<br>
 // the handler needs at least one landing pad to identify the parent function's<br>
 // personality.<br>
-void WinEHPrepare::addStubInvokeToHandlerIfNeeded(Function *Handler,<br>
-                                                  Value *PersonalityFn) {<br>
+void WinEHPrepare::addStubInvokeToHandlerIfNeeded(Function *Handler) {<br>
   ReturnInst *Ret = nullptr;<br>
   UnreachableInst *Unreached = nullptr;<br>
   for (BasicBlock &BB : *Handler) {<br>
@@ -1323,7 +1321,7 @@ void WinEHPrepare::addStubInvokeToHandle<br>
   // parent block.  We want to replace that with an invoke call, so we can<br>
   // erase it now.<br>
   OldRetBB->getTerminator()->eraseFromParent();<br>
-  BasicBlock *StubLandingPad = createStubLandingPad(Handler, PersonalityFn);<br>
+  BasicBlock *StubLandingPad = createStubLandingPad(Handler);<br>
   Function *F =<br>
       Intrinsic::getDeclaration(Handler->getParent(), Intrinsic::donothing);<br>
   InvokeInst::Create(F, NewRetBB, StubLandingPad, None, "", OldRetBB);<br>
@@ -1379,6 +1377,7 @@ bool WinEHPrepare::outlineHandler(Action<br>
     Handler = createHandlerFunc(Type::getVoidTy(Context),<br>
                                 SrcFn->getName() + ".cleanup", M, ParentFP);<br>
   }<br>
+  Handler->setPersonalityFn(SrcFn->getPersonalityFn());<br>
   HandlerToParentFP[Handler] = ParentFP;<br>
   Handler->addFnAttr("wineh-parent", SrcFn->getName());<br>
   BasicBlock *Entry = &Handler->getEntryBlock();<br>
@@ -1456,7 +1455,7 @@ bool WinEHPrepare::outlineHandler(Action<br>
   ClonedEntryBB->eraseFromParent();<br>
<br>
   // Make sure we can identify the handler's personality later.<br>
-  addStubInvokeToHandlerIfNeeded(Handler, LPad->getPersonalityFn());<br>
+  addStubInvokeToHandlerIfNeeded(Handler);<br>
<br>
   if (auto *CatchAction = dyn_cast<CatchHandler>(Action)) {<br>
     WinEHCatchDirector *CatchDirector =<br>
<br>
Modified: llvm/trunk/lib/IR/AsmWriter.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_IR_AsmWriter.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=wshu7s_oWenrFSvfkE_M976PgOLVN9MIeWuY4GoXKD0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/AsmWriter.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/IR/AsmWriter.cpp (original)<br>
+++ llvm/trunk/lib/IR/AsmWriter.cpp Wed Jun 17 15:52:32 2015<br>
@@ -109,6 +109,10 @@ static OrderMap orderModule(const Module<br>
       if (!isa<GlobalValue>(F.getPrologueData()))<br>
         orderValue(F.getPrologueData(), OM);<br>
<br>
+    if (F.hasPersonalityFn())<br>
+      if (!isa<GlobalValue>(F.getPersonalityFn()))<br>
+        orderValue(F.getPersonalityFn(), OM);<br>
+<br>
     orderValue(&F, OM);<br>
<br>
     if (F.isDeclaration())<br>
@@ -2540,6 +2544,10 @@ void AssemblyWriter::printFunction(const<br>
     Out << " prologue ";<br>
     writeOperand(F->getPrologueData(), true);<br>
   }<br>
+  if (F->hasPersonalityFn()) {<br>
+    Out << " personality ";<br>
+    writeOperand(F->getPersonalityFn(), /*PrintType=*/true);<br>
+  }<br>
<br>
   SmallVector<std::pair<unsigned, MDNode *>, 4> MDs;<br>
   F->getAllMetadata(MDs);<br>
@@ -2782,8 +2790,8 @@ void AssemblyWriter::printInstruction(co<br>
   } else if (const LandingPadInst *LPI = dyn_cast<LandingPadInst>(&I)) {<br>
     Out << ' ';<br>
     TypePrinter.print(I.getType(), Out);<br>
-    Out << " personality ";<br>
-    writeOperand(I.getOperand(0), true); Out << '\n';<br>
+    if (LPI->isCleanup() || LPI->getNumClauses() != 0)<br>
+      Out << '\n';<br>
<br>
     if (LPI->isCleanup())<br>
       Out << "          cleanup";<br>
<br>
Modified: llvm/trunk/lib/IR/Core.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_IR_Core.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=bsjuNODge_ggZLbYHi4FXf9RrS2AALHLD-gD6HkLvSI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Core.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/IR/Core.cpp (original)<br>
+++ llvm/trunk/lib/IR/Core.cpp Wed Jun 17 15:52:32 2015<br>
@@ -2249,11 +2249,8 @@ LLVMValueRef LLVMBuildInvoke(LLVMBuilder<br>
 }<br>
<br>
 LLVMValueRef LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty,<br>
-                                 LLVMValueRef PersFn, unsigned NumClauses,<br>
-                                 const char *Name) {<br>
-  return wrap(unwrap(B)->CreateLandingPad(unwrap(Ty),<br>
-                                          cast<Function>(unwrap(PersFn)),<br>
-                                          NumClauses, Name));<br>
+                                 unsigned NumClauses, const char *Name) {<br>
+  return wrap(unwrap(B)->CreateLandingPad(unwrap(Ty), NumClauses, Name));<br>
 }<br>
<br>
 LLVMValueRef LLVMBuildResume(LLVMBuilderRef B, LLVMValueRef Exn) {<br>
<br>
Modified: llvm/trunk/lib/IR/Function.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_IR_Function.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=waNH8QAwKja0cwfF8v-A0pSvmm_F3jGiYU6PBX7VtVc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Function.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/IR/Function.cpp (original)<br>
+++ llvm/trunk/lib/IR/Function.cpp Wed Jun 17 15:52:32 2015<br>
@@ -248,8 +248,8 @@ void Function::eraseFromParent() {<br>
<br>
 Function::Function(FunctionType *Ty, LinkageTypes Linkage, const Twine &name,<br>
                    Module *ParentModule)<br>
-    : GlobalObject(PointerType::getUnqual(Ty), Value::FunctionVal, nullptr, 0,<br>
-                   Linkage, name),<br>
+    : GlobalObject(PointerType::getUnqual(Ty), Value::FunctionVal,<br>
+                   OperandTraits<Function>::op_begin(this), 0, Linkage, name),<br>
       Ty(Ty) {<br>
   assert(FunctionType::isValidReturnType(getReturnType()) &&<br>
          "invalid return type");<br>
@@ -279,6 +279,9 @@ Function::~Function() {<br>
<br>
   // Remove the function from the on-the-side GC table.<br>
   clearGC();<br>
+<br>
+  // FIXME: needed by operator delete<br>
+  setFunctionNumOperands(1);<br>
 }<br>
<br>
 void Function::BuildLazyArguments() const {<br>
@@ -331,6 +334,8 @@ void Function::dropAllReferences() {<br>
<br>
   // Metadata is stored in a side-table.<br>
   clearMetadata();<br>
+<br>
+  setPersonalityFn(nullptr);<br>
 }<br>
<br>
 void Function::addAttribute(unsigned i, Attribute::AttrKind attr) {<br>
@@ -426,6 +431,10 @@ void Function::copyAttributesFrom(const<br>
     setPrologueData(SrcF->getPrologueData());<br>
   else<br>
     setPrologueData(nullptr);<br>
+  if (SrcF->hasPersonalityFn())<br>
+    setPersonalityFn(SrcF->getPersonalityFn());<br>
+  else<br>
+    setPersonalityFn(nullptr);<br>
 }<br>
<br>
 /// \brief This does the actual lookup of an intrinsic ID which<br>
@@ -976,3 +985,22 @@ Optional<uint64_t> Function::getEntryCou<br>
       }<br>
   return None;<br>
 }<br>
+<br>
+void Function::setPersonalityFn(Constant *C) {<br>
+  if (!C) {<br>
+    if (hasPersonalityFn()) {<br>
+      // Note, the num operands is used to compute the offset of the operand, so<br>
+      // the order here matters.  Clearing the operand then clearing the num<br>
+      // operands ensures we have the correct offset to the operand.<br>
+      Op<0>().set(nullptr);<br>
+      setFunctionNumOperands(0);<br>
+    }<br>
+  } else {<br>
+    // Note, the num operands is used to compute the offset of the operand, so<br>
+    // the order here matters.  We need to set num operands to 1 first so that<br>
+    // we get the correct offset to the first operand when we set it.<br>
+    if (!hasPersonalityFn())<br>
+      setFunctionNumOperands(1);<br>
+    Op<0>().set(C);<br>
+  }<br>
+}<br>
<br>
Modified: llvm/trunk/lib/IR/Instructions.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_IR_Instructions.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=fVmgGoYr6JGot2kykwZ5T2DVJZUZH8T-bb3wUyquPt8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Instructions.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/IR/Instructions.cpp (original)<br>
+++ llvm/trunk/lib/IR/Instructions.cpp Wed Jun 17 15:52:32 2015<br>
@@ -153,18 +153,16 @@ Value *PHINode::hasConstantValue() const<br>
 //                       LandingPadInst Implementation<br>
 //===----------------------------------------------------------------------===//<br>
<br>
-LandingPadInst::LandingPadInst(Type *RetTy, Value *PersonalityFn,<br>
-                               unsigned NumReservedValues, const Twine &NameStr,<br>
-                               Instruction *InsertBefore)<br>
-  : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertBefore) {<br>
-  init(PersonalityFn, 1 + NumReservedValues, NameStr);<br>
+LandingPadInst::LandingPadInst(Type *RetTy, unsigned NumReservedValues,<br>
+                               const Twine &NameStr, Instruction *InsertBefore)<br>
+    : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertBefore) {<br>
+  init(NumReservedValues, NameStr);<br>
 }<br>
<br>
-LandingPadInst::LandingPadInst(Type *RetTy, Value *PersonalityFn,<br>
-                               unsigned NumReservedValues, const Twine &NameStr,<br>
-                               BasicBlock *InsertAtEnd)<br>
-  : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertAtEnd) {<br>
-  init(PersonalityFn, 1 + NumReservedValues, NameStr);<br>
+LandingPadInst::LandingPadInst(Type *RetTy, unsigned NumReservedValues,<br>
+                               const Twine &NameStr, BasicBlock *InsertAtEnd)<br>
+    : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertAtEnd) {<br>
+  init(NumReservedValues, NameStr);<br>
 }<br>
<br>
 LandingPadInst::LandingPadInst(const LandingPadInst &LP)<br>
@@ -180,28 +178,22 @@ LandingPadInst::LandingPadInst(const Lan<br>
   setCleanup(LP.isCleanup());<br>
 }<br>
<br>
-LandingPadInst *LandingPadInst::Create(Type *RetTy, Value *PersonalityFn,<br>
-                                       unsigned NumReservedClauses,<br>
+LandingPadInst *LandingPadInst::Create(Type *RetTy, unsigned NumReservedClauses,<br>
                                        const Twine &NameStr,<br>
                                        Instruction *InsertBefore) {<br>
-  return new LandingPadInst(RetTy, PersonalityFn, NumReservedClauses, NameStr,<br>
-                            InsertBefore);<br>
+  return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertBefore);<br>
 }<br>
<br>
-LandingPadInst *LandingPadInst::Create(Type *RetTy, Value *PersonalityFn,<br>
-                                       unsigned NumReservedClauses,<br>
+LandingPadInst *LandingPadInst::Create(Type *RetTy, unsigned NumReservedClauses,<br>
                                        const Twine &NameStr,<br>
                                        BasicBlock *InsertAtEnd) {<br>
-  return new LandingPadInst(RetTy, PersonalityFn, NumReservedClauses, NameStr,<br>
-                            InsertAtEnd);<br>
+  return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertAtEnd);<br>
 }<br>
<br>
-void LandingPadInst::init(Value *PersFn, unsigned NumReservedValues,<br>
-                          const Twine &NameStr) {<br>
+void LandingPadInst::init(unsigned NumReservedValues, const Twine &NameStr) {<br>
   ReservedSpace = NumReservedValues;<br>
-  setNumHungOffUseOperands(1);<br>
+  setNumHungOffUseOperands(0);<br>
   allocHungoffUses(ReservedSpace);<br>
-  Op<0>() = PersFn;<br>
   setName(NameStr);<br>
   setCleanup(false);<br>
 }<br>
@@ -211,7 +203,7 @@ void LandingPadInst::init(Value *PersFn,<br>
 void LandingPadInst::growOperands(unsigned Size) {<br>
   unsigned e = getNumOperands();<br>
   if (ReservedSpace >= e + Size) return;<br>
-  ReservedSpace = (e + Size / 2) * 2;<br>
+  ReservedSpace = (std::max(e, 1U) + Size / 2) * 2;<br>
   growHungoffUses(ReservedSpace);<br>
 }<br>
<br>
<br>
Modified: llvm/trunk/lib/IR/TypeFinder.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_IR_TypeFinder.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=MS9GjOv8GsQJSs2O398sWrf2kI77LL1TdPE9ap46-Nw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/TypeFinder.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/IR/TypeFinder.cpp (original)<br>
+++ llvm/trunk/lib/IR/TypeFinder.cpp Wed Jun 17 15:52:32 2015<br>
@@ -50,6 +50,9 @@ void TypeFinder::run(const Module &M, bo<br>
     if (FI->hasPrologueData())<br>
       incorporateValue(FI->getPrologueData());<br>
<br>
+    if (FI->hasPersonalityFn())<br>
+      incorporateValue(FI->getPersonalityFn());<br>
+<br>
     // First incorporate the arguments.<br>
     for (Function::const_arg_iterator AI = FI->arg_begin(),<br>
            AE = FI->arg_end(); AI != AE; ++AI)<br>
<br>
Modified: llvm/trunk/lib/IR/Verifier.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_IR_Verifier.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=UssWEnRHgmjY6TgVq6_M68qQ9hwpeVIxpyA0iPj8sf0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/IR/Verifier.cpp (original)<br>
+++ llvm/trunk/lib/IR/Verifier.cpp Wed Jun 17 15:52:32 2015<br>
@@ -181,11 +181,6 @@ class Verifier : public InstVisitor<Veri<br>
   /// \brief Track unresolved string-based type references.<br>
   SmallDenseMap<const MDString *, const MDNode *, 32> UnresolvedTypeRefs;<br>
<br>
-  /// \brief The personality function referenced by the LandingPadInsts.<br>
-  /// All LandingPadInsts within the same function must use the same<br>
-  /// personality function.<br>
-  const Value *PersonalityFn;<br>
-<br>
   /// \brief Whether we've seen a call to @llvm.frameescape in this function<br>
   /// already.<br>
   bool SawFrameEscape;<br>
@@ -196,8 +191,7 @@ class Verifier : public InstVisitor<Veri<br>
<br>
 public:<br>
   explicit Verifier(raw_ostream &OS)<br>
-      : VerifierSupport(OS), Context(nullptr), PersonalityFn(nullptr),<br>
-        SawFrameEscape(false) {}<br>
+      : VerifierSupport(OS), Context(nullptr), SawFrameEscape(false) {}<br>
<br>
   bool verify(const Function &F) {<br>
     M = F.getParent();<br>
@@ -231,7 +225,6 @@ public:<br>
     // FIXME: We strip const here because the inst visitor strips const.<br>
     visit(const_cast<Function &>(F));<br>
     InstsInThisBlock.clear();<br>
-    PersonalityFn = nullptr;<br>
     SawFrameEscape = false;<br>
<br>
     return !Broken;<br>
@@ -1757,6 +1750,8 @@ void Verifier::visitFunction(const Funct<br>
            "invalid linkage type for function declaration", &F);<br>
     Assert(MDs.empty(), "function without a body cannot have metadata", &F,<br>
            MDs.empty() ? nullptr : MDs.front().second);<br>
+    Assert(!F.hasPersonalityFn(),<br>
+           "Function declaration shouldn't have a personality routine", &F);<br>
   } else {<br>
     // Verify that this function (which has a body) is not named "llvm.*".  It<br>
     // is not legal to define intrinsics.<br>
@@ -2795,22 +2790,16 @@ void Verifier::visitLandingPadInst(Landi<br>
            &LPI);<br>
   }<br>
<br>
+  Function *F = LPI.getParent()->getParent();<br>
+  Assert(F->hasPersonalityFn(),<br>
+         "LandingPadInst needs to be in a function with a personality.", &LPI);<br>
+<br>
   // The landingpad instruction must be the first non-PHI instruction in the<br>
   // block.<br>
   Assert(LPI.getParent()->getLandingPadInst() == &LPI,<br>
          "LandingPadInst not the first non-PHI instruction in the block.",<br>
          &LPI);<br>
<br>
-  // The personality functions for all landingpad instructions within the same<br>
-  // function should match.<br>
-  if (PersonalityFn)<br>
-    Assert(LPI.getPersonalityFn() == PersonalityFn,<br>
-           "Personality function doesn't match others in function", &LPI);<br>
-  PersonalityFn = LPI.getPersonalityFn();<br>
-<br>
-  // All operands must be constants.<br>
-  Assert(isa<Constant>(PersonalityFn), "Personality function is not constant!",<br>
-         &LPI);<br>
   for (unsigned i = 0, e = LPI.getNumClauses(); i < e; ++i) {<br>
     Constant *Clause = LPI.getClause(i);<br>
     if (LPI.isCatch(i)) {<br>
<br>
Modified: llvm/trunk/lib/Linker/LinkModules.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_Linker_LinkModules.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=H3KNZ8Fo3Gsyjewa91Nf1rB06A084s24dgudsDC0AfQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Linker/LinkModules.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Linker/LinkModules.cpp (original)<br>
+++ llvm/trunk/lib/Linker/LinkModules.cpp Wed Jun 17 15:52:32 2015<br>
@@ -1194,6 +1194,11 @@ bool ModuleLinker::linkFunctionBody(Func<br>
     Dst.setPrologueData(MapValue(Src.getPrologueData(), ValueMap, RF_None,<br>
                                  &TypeMap, &ValMaterializer));<br>
<br>
+  // Link in the personality function.<br>
+  if (Src.hasPersonalityFn())<br>
+    Dst.setPersonalityFn(MapValue(Src.getPersonalityFn(), ValueMap, RF_None,<br>
+                                  &TypeMap, &ValMaterializer));<br>
+<br>
   // Go through and convert function arguments over, remembering the mapping.<br>
   Function::arg_iterator DI = Dst.arg_begin();<br>
   for (Argument &Arg : Src.args()) {<br>
<br>
Modified: llvm/trunk/lib/Target/X86/X86WinEHState.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_Target_X86_X86WinEHState.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=2wN1skTMBq8W3BYo8jvT--7elKuSdCamYOAqfKseF04&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86WinEHState.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Target/X86/X86WinEHState.cpp (original)<br>
+++ llvm/trunk/lib/Target/X86/X86WinEHState.cpp Wed Jun 17 15:52:32 2015<br>
@@ -146,16 +146,10 @@ bool WinEHStatePass::runOnFunction(Funct<br>
     return false;<br>
<br>
   // Check the personality. Do nothing if this is not an MSVC personality.<br>
-  LandingPadInst *LP = nullptr;<br>
-  for (BasicBlock &BB : F) {<br>
-    LP = BB.getLandingPadInst();<br>
-    if (LP)<br>
-      break;<br>
-  }<br>
-  if (!LP)<br>
+  if (!F.hasPersonalityFn())<br>
     return false;<br>
   PersonalityFn =<br>
-      dyn_cast<Function>(LP->getPersonalityFn()->stripPointerCasts());<br>
+      dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts());<br>
   if (!PersonalityFn)<br>
     return false;<br>
   Personality = classifyEHPersonality(PersonalityFn);<br>
<br>
Modified: llvm/trunk/lib/Transforms/IPO/GlobalDCE.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_Transforms_IPO_GlobalDCE.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=oRMVihjDs_MAPNbWgmDxT2OSZK0yWcaHbZLw1hGNQ2Q&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/GlobalDCE.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Transforms/IPO/GlobalDCE.cpp (original)<br>
+++ llvm/trunk/lib/Transforms/IPO/GlobalDCE.cpp Wed Jun 17 15:52:32 2015<br>
@@ -228,6 +228,9 @@ void GlobalDCE::GlobalIsNeeded(GlobalVal<br>
     if (F->hasPrologueData())<br>
       MarkUsedGlobalsAsNeeded(F->getPrologueData());<br>
<br>
+    if (F->hasPersonalityFn())<br>
+      MarkUsedGlobalsAsNeeded(F->getPersonalityFn());<br>
+<br>
     for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB)<br>
       for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; ++I)<br>
         for (User::op_iterator U = I->op_begin(), E = I->op_end(); U != E; ++U)<br>
<br>
Modified: llvm/trunk/lib/Transforms/IPO/PruneEH.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_Transforms_IPO_PruneEH.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=vBFz8ERwH40puMgl5-huKxkIrCFmSonGrB9I1pIRpV4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/PruneEH.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Transforms/IPO/PruneEH.cpp (original)<br>
+++ llvm/trunk/lib/Transforms/IPO/PruneEH.cpp Wed Jun 17 15:52:32 2015<br>
@@ -177,7 +177,7 @@ bool PruneEH::SimplifyFunction(Function<br>
   bool MadeChange = false;<br>
   for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB) {<br>
     if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator()))<br>
-      if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(II)) {<br>
+      if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(F)) {<br>
         SmallVector<Value*, 8> Args(II->op_begin(), II->op_end() - 3);<br>
         // Insert a call instruction before the invoke.<br>
         CallInst *Call = CallInst::Create(II->getCalledValue(), Args, "", II);<br>
<br>
Modified: llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_Transforms_InstCombine_InstructionCombining.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=-5w0vWTrJ0sKoo5uIO6VAMwaS8r1PnhcsYl5sg-AjuM&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp (original)<br>
+++ llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp Wed Jun 17 15:52:32 2015<br>
@@ -2353,7 +2353,8 @@ Instruction *InstCombiner::visitLandingP<br>
   // The logic here should be correct for any real-world personality function.<br>
   // However if that turns out not to be true, the offending logic can always<br>
   // be conditioned on the personality function, like the catch-all logic is.<br>
-  EHPersonality Personality = classifyEHPersonality(LI.getPersonalityFn());<br>
+  EHPersonality Personality =<br>
+      classifyEHPersonality(LI.getParent()->getParent()->getPersonalityFn());<br>
<br>
   // Simplify the list of clauses, eg by removing repeated catch clauses<br>
   // (these are often created by inlining).<br>
@@ -2620,7 +2621,6 @@ Instruction *InstCombiner::visitLandingP<br>
   // with a new one.<br>
   if (MakeNewInstruction) {<br>
     LandingPadInst *NLI = LandingPadInst::Create(LI.getType(),<br>
-                                                 LI.getPersonalityFn(),<br>
                                                  NewClauses.size());<br>
     for (unsigned i = 0, e = NewClauses.size(); i != e; ++i)<br>
       NLI->addClause(NewClauses[i]);<br>
@@ -2691,7 +2691,8 @@ bool InstCombiner::run() {<br>
     }<br>
<br>
     // Instruction isn't dead, see if we can constant propagate it.<br>
-    if (!I->use_empty() && isa<Constant>(I->getOperand(0))) {<br>
+    if (!I->use_empty() &&<br>
+        (I->getNumOperands() == 0 || isa<Constant>(I->getOperand(0)))) {<br>
       if (Constant *C = ConstantFoldInstruction(I, DL, TLI)) {<br>
         DEBUG(dbgs() << "IC: ConstFold to: " << *C << " from: " << *I << '\n');<br>
<br>
@@ -2846,7 +2847,8 @@ static bool AddReachableCodeToWorklist(B<br>
       }<br>
<br>
       // ConstantProp instruction if trivially constant.<br>
-      if (!Inst->use_empty() && isa<Constant>(Inst->getOperand(0)))<br>
+      if (!Inst->use_empty() &&<br>
+          (Inst->getNumOperands() == 0 || isa<Constant>(Inst->getOperand(0))))<br>
         if (Constant *C = ConstantFoldInstruction(Inst, DL, TLI)) {<br>
           DEBUG(dbgs() << "IC: ConstFold to: " << *C << " from: "<br>
                        << *Inst << '\n');<br>
<br>
Modified: llvm/trunk/lib/Transforms/Utils/InlineFunction.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_Transforms_Utils_InlineFunction.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=6ybZ_adsJcMU_9MNX9wWdBly9m7bWtsrwN2DzoezpKA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/InlineFunction.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Transforms/Utils/InlineFunction.cpp (original)<br>
+++ llvm/trunk/lib/Transforms/Utils/InlineFunction.cpp Wed Jun 17 15:52:32 2015<br>
@@ -949,35 +949,23 @@ bool llvm::InlineFunction(CallSite CS, I<br>
   }<br>
<br>
   // Get the personality function from the callee if it contains a landing pad.<br>
-  Value *CalleePersonality = nullptr;<br>
-  for (Function::const_iterator I = CalledFunc->begin(), E = CalledFunc->end();<br>
-       I != E; ++I)<br>
-    if (const InvokeInst *II = dyn_cast<InvokeInst>(I->getTerminator())) {<br>
-      const BasicBlock *BB = II->getUnwindDest();<br>
-      const LandingPadInst *LP = BB->getLandingPadInst();<br>
-      CalleePersonality = LP->getPersonalityFn();<br>
-      break;<br>
-    }<br>
+  Constant *CalledPersonality =<br>
+      CalledFunc->hasPersonalityFn() ? CalledFunc->getPersonalityFn() : nullptr;<br>
<br>
   // Find the personality function used by the landing pads of the caller. If it<br>
   // exists, then check to see that it matches the personality function used in<br>
   // the callee.<br>
-  if (CalleePersonality) {<br>
-    for (Function::const_iterator I = Caller->begin(), E = Caller->end();<br>
-         I != E; ++I)<br>
-      if (const InvokeInst *II = dyn_cast<InvokeInst>(I->getTerminator())) {<br>
-        const BasicBlock *BB = II->getUnwindDest();<br>
-        const LandingPadInst *LP = BB->getLandingPadInst();<br>
-<br>
-        // If the personality functions match, then we can perform the<br>
-        // inlining. Otherwise, we can't inline.<br>
-        // TODO: This isn't 100% true. Some personality functions are proper<br>
-        //       supersets of others and can be used in place of the other.<br>
-        if (LP->getPersonalityFn() != CalleePersonality)<br>
-          return false;<br>
-<br>
-        break;<br>
-      }<br>
+  Constant *CallerPersonality =<br>
+      Caller->hasPersonalityFn() ? Caller->getPersonalityFn() : nullptr;<br>
+  if (CalledPersonality) {<br>
+    if (!CallerPersonality)<br>
+      Caller->setPersonalityFn(CalledPersonality);<br>
+    // If the personality functions match, then we can perform the<br>
+    // inlining. Otherwise, we can't inline.<br>
+    // TODO: This isn't 100% true. Some personality functions are proper<br>
+    //       supersets of others and can be used in place of the other.<br>
+    else if (CalledPersonality != CallerPersonality)<br>
+      return false;<br>
   }<br>
<br>
   // Get an iterator to the last basic block in the function, which will have<br>
<br>
Modified: llvm/trunk/lib/Transforms/Utils/Local.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_Transforms_Utils_Local.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=OXGYdEYcRbl_8pi-xInd4FVMANdBxmxlTeObkJGjpsY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/Local.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Transforms/Utils/Local.cpp (original)<br>
+++ llvm/trunk/lib/Transforms/Utils/Local.cpp Wed Jun 17 15:52:32 2015<br>
@@ -1173,10 +1173,11 @@ static void changeToCall(InvokeInst *II)<br>
   II->eraseFromParent();<br>
 }<br>
<br>
-static bool markAliveBlocks(BasicBlock *BB,<br>
+static bool markAliveBlocks(Function &F,<br>
                             SmallPtrSetImpl<BasicBlock*> &Reachable) {<br>
<br>
   SmallVector<BasicBlock*, 128> Worklist;<br>
+  BasicBlock *BB = F.begin();<br>
   Worklist.push_back(BB);<br>
   Reachable.insert(BB);<br>
   bool Changed = false;<br>
@@ -1247,7 +1248,7 @@ static bool markAliveBlocks(BasicBlock *<br>
       if (isa<ConstantPointerNull>(Callee) || isa<UndefValue>(Callee)) {<br>
         changeToUnreachable(II, true);<br>
         Changed = true;<br>
-      } else if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(II)) {<br>
+      } else if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(&F)) {<br>
         if (II->use_empty() && II->onlyReadsMemory()) {<br>
           // jump to the normal destination branch.<br>
           BranchInst::Create(II->getNormalDest(), II);<br>
@@ -1272,7 +1273,7 @@ static bool markAliveBlocks(BasicBlock *<br>
 /// otherwise.<br>
 bool llvm::removeUnreachableBlocks(Function &F) {<br>
   SmallPtrSet<BasicBlock*, 128> Reachable;<br>
-  bool Changed = markAliveBlocks(F.begin(), Reachable);<br>
+  bool Changed = markAliveBlocks(F, Reachable);<br>
<br>
   // If there are unreachable blocks in the CFG...<br>
   if (Reachable.size() == F.size())<br>
<br>
Modified: llvm/trunk/test/Analysis/CallGraph/do-nothing-intrinsic.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Analysis_CallGraph_do-2Dnothing-2Dintrinsic.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=A0kLI80co3BtWtUstJ4MWlmFmBQQ7-uioJG7cVRZ4BU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/CallGraph/do-nothing-intrinsic.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Analysis/CallGraph/do-nothing-intrinsic.ll (original)<br>
+++ llvm/trunk/test/Analysis/CallGraph/do-nothing-intrinsic.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,11 +1,11 @@<br>
 ; RUN: opt < %s -basiccg<br>
 ; PR13903<br>
<br>
-define void @main() {<br>
+define void @main() personality i8 0 {<br>
   invoke void @llvm.donothing()<br>
           to label %ret unwind label %unw<br>
 unw:<br>
-  %tmp = landingpad i8 personality i8 0 cleanup<br>
+  %tmp = landingpad i8 cleanup<br>
   br label %ret<br>
 ret:<br>
   ret void<br>
<br>
Modified: llvm/trunk/test/Analysis/Dominators/invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Analysis_Dominators_invoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=bj8XF1g_uW0wrY1hSkOfyAnij3oc7hg-6p6j_j2n0vE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/Dominators/invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Analysis/Dominators/invoke.ll (original)<br>
+++ llvm/trunk/test/Analysis/Dominators/invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,7 +1,7 @@<br>
 ; RUN: opt -verify -disable-output < %s<br>
 ; This tests that we handle unreachable blocks correctly<br>
<br>
-define void @f() {<br>
+define void @f() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
   %v1 = invoke i32* @g()<br>
           to label %bb1 unwind label %bb2<br>
   invoke void @__dynamic_cast()<br>
@@ -10,7 +10,7 @@ bb1:<br>
   %Hidden = getelementptr inbounds i32, i32* %v1, i64 1<br>
   ret void<br>
 bb2:<br>
-  %lpad.loopexit80 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %lpad.loopexit80 = landingpad { i8*, i32 }<br>
           cleanup<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/Analysis/LazyCallGraph/basic.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Analysis_LazyCallGraph_basic.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=aa1XzB9LuJDMDXGJNAv1R32lvgXw6QUuQsME4l4yY0U&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/LazyCallGraph/basic.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Analysis/LazyCallGraph/basic.ll (original)<br>
+++ llvm/trunk/test/Analysis/LazyCallGraph/basic.ll Wed Jun 17 15:52:32 2015<br>
@@ -63,7 +63,7 @@ entry:<br>
   ret void<br>
 }<br>
<br>
-define void ()* @test1(void ()** %x) {<br>
+define void ()* @test1(void ()** %x) personality i32 (...)* @__gxx_personality_v0 {<br>
 ; CHECK-LABEL: Call edges in function: test1<br>
 ; CHECK-NEXT: -> f12<br>
 ; CHECK-NEXT: -> f11<br>
@@ -97,7 +97,7 @@ exit:<br>
   ret void ()* @f11<br>
<br>
 unwind:<br>
-  %res = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %res = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } { i8* bitcast (void ()* @f12 to i8*), i32 42 }<br>
 }<br>
<br>
Modified: llvm/trunk/test/Analysis/Lint/cppeh-catch-intrinsics-clean.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Analysis_Lint_cppeh-2Dcatch-2Dintrinsics-2Dclean.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=4HLVjxCy7Uk5A2izdaqYk6XTc3YmvuFVgnHEYCXwReo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/Lint/cppeh-catch-intrinsics-clean.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Analysis/Lint/cppeh-catch-intrinsics-clean.ll (original)<br>
+++ llvm/trunk/test/Analysis/Lint/cppeh-catch-intrinsics-clean.ll Wed Jun 17 15:52:32 2015<br>
@@ -12,13 +12,13 @@ declare void @llvm.eh.endcatch()<br>
 @_ZTIi = external constant i8*<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @test_ref_clean() {<br>
+define void @test_ref_clean() personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   invoke void @_Z9may_throwv()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %exn = extractvalue { i8*, i32 } %0, 0<br>
   %sel = extractvalue { i8*, i32 } %0, 1<br>
@@ -43,7 +43,7 @@ eh.resume:<br>
 }<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @test_ref_clean_multibranch() {<br>
+define void @test_ref_clean_multibranch() personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   invoke void @_Z9may_throwv()<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -53,7 +53,7 @@ invoke.cont:<br>
           to label %invoke.cont unwind label %lpad1<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %exn = extractvalue { i8*, i32 } %0, 0<br>
   %sel = extractvalue { i8*, i32 } %0, 1<br>
@@ -65,7 +65,7 @@ lpad:<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad1:                                            ; preds = %entry<br>
-  %l1.0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %l1.0 = landingpad { i8*, i32 }<br>
                  cleanup<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %exn1 = extractvalue { i8*, i32 } %l1.0, 0<br>
<br>
Modified: llvm/trunk/test/Analysis/Lint/cppeh-catch-intrinsics.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Analysis_Lint_cppeh-2Dcatch-2Dintrinsics.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=bCYO6F-Lip023-SMxzcvfrEYopHpZVTep_TOo3iafQk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/Lint/cppeh-catch-intrinsics.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Analysis/Lint/cppeh-catch-intrinsics.ll (original)<br>
+++ llvm/trunk/test/Analysis/Lint/cppeh-catch-intrinsics.ll Wed Jun 17 15:52:32 2015<br>
@@ -13,7 +13,7 @@ declare void @llvm.eh.endcatch()<br>
 @_ZTIi = external constant i8*<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @test_missing_endcatch() {<br>
+define void @test_missing_endcatch() personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 ; CHECK: Some paths from llvm.eh.begincatch may not reach llvm.eh.endcatch<br>
 ; CHECK-NEXT: call void @llvm.eh.begincatch(i8* %exn, i8* null)<br>
 entry:<br>
@@ -21,7 +21,7 @@ entry:<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %exn = extractvalue { i8*, i32 } %0, 0<br>
   %sel = extractvalue { i8*, i32 } %0, 1<br>
@@ -45,7 +45,7 @@ eh.resume:<br>
 }<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @test_missing_begincatch() {<br>
+define void @test_missing_begincatch() personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 ; CHECK: llvm.eh.endcatch may be reachable without passing llvm.eh.begincatch<br>
 ; CHECK-NEXT:  call void @llvm.eh.endcatch()<br>
 entry:<br>
@@ -53,7 +53,7 @@ entry:<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %exn = extractvalue { i8*, i32 } %0, 0<br>
   %sel = extractvalue { i8*, i32 } %0, 1<br>
@@ -77,7 +77,7 @@ eh.resume:<br>
 }<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @test_multiple_begin() {<br>
+define void @test_multiple_begin() personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 ; CHECK: llvm.eh.begincatch may be called a second time before llvm.eh.endcatch<br>
 ; CHECK-NEXT: call void @llvm.eh.begincatch(i8* %exn, i8* null)<br>
 ; CHECK-NEXT: call void @llvm.eh.begincatch(i8* %exn, i8* null)<br>
@@ -86,7 +86,7 @@ entry:<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %exn = extractvalue { i8*, i32 } %0, 0<br>
   %sel = extractvalue { i8*, i32 } %0, 1<br>
@@ -112,7 +112,7 @@ eh.resume:<br>
 }<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @test_multiple_end() {<br>
+define void @test_multiple_end() personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 ; CHECK: llvm.eh.endcatch may be called a second time after llvm.eh.begincatch<br>
 ; CHECK-NEXT:  call void @llvm.eh.endcatch()<br>
 ; CHECK-NEXT:  call void @llvm.eh.endcatch()<br>
@@ -121,7 +121,7 @@ entry:<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %exn = extractvalue { i8*, i32 } %0, 0<br>
   %sel = extractvalue { i8*, i32 } %0, 1<br>
@@ -166,7 +166,7 @@ try.cont:<br>
 }<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @test_branch_to_begincatch_with_no_lpad(i32 %fake.sel) {<br>
+define void @test_branch_to_begincatch_with_no_lpad(i32 %fake.sel) personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 ; CHECK: llvm.eh.begincatch may be reachable without passing a landingpad<br>
 ; CHECK-NEXT: call void @llvm.eh.begincatch(i8* %exn2, i8* null)<br>
 entry:<br>
@@ -175,7 +175,7 @@ entry:<br>
           to label %catch unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %exn = extractvalue { i8*, i32 } %0, 0<br>
   %sel = extractvalue { i8*, i32 } %0, 1<br>
@@ -211,7 +211,7 @@ eh.resume:<br>
 }<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @test_branch_missing_endcatch() {<br>
+define void @test_branch_missing_endcatch() personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 ; CHECK: Some paths from llvm.eh.begincatch may not reach llvm.eh.endcatch<br>
 ; CHECK-NEXT: call void @llvm.eh.begincatch(i8* %exn2, i8* null)<br>
 entry:<br>
@@ -223,7 +223,7 @@ invoke.cont:<br>
           to label %invoke.cont unwind label %lpad1<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %exn = extractvalue { i8*, i32 } %0, 0<br>
   %sel = extractvalue { i8*, i32 } %0, 1<br>
@@ -235,7 +235,7 @@ lpad:<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad1:                                            ; preds = %entry<br>
-  %l1.0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %l1.0 = landingpad { i8*, i32 }<br>
                  cleanup<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %exn1 = extractvalue { i8*, i32 } %l1.0, 0<br>
<br>
Modified: llvm/trunk/test/Assembler/invalid-landingpad.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Assembler_invalid-2Dlandingpad.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=itSR_Xswi0C6ZOPYvoaVPj9kZw0jF5aC0gKfR3KEW58&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/invalid-landingpad.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Assembler/invalid-landingpad.ll (original)<br>
+++ llvm/trunk/test/Assembler/invalid-landingpad.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,6 +2,6 @@<br>
<br>
 ; CHECK: clause argument must be a constant<br>
<br>
-define void @test(i32 %in) {<br>
-  landingpad {} personality void()* null filter i32 %in<br>
+define void @test(i32 %in) personality void()* null {<br>
+  landingpad {} filter i32 %in<br>
 }<br>
<br>
Modified: llvm/trunk/test/Bitcode/miscInstructions.3.2.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Bitcode_miscInstructions.3.2.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=x1jhErpgOebcTSC--zR72HFaeDcPbbX0KblUl3tgZgw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/miscInstructions.3.2.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Bitcode/miscInstructions.3.2.ll (original)<br>
+++ llvm/trunk/test/Bitcode/miscInstructions.3.2.ll Wed Jun 17 15:52:32 2015<br>
@@ -13,27 +13,33 @@ entry:<br>
   ret i32 0<br>
 }<br>
<br>
+; CHECK-LABEL: define void @landingpadInstr1<br>
+; CHECK-SAME: personality i32 (...)* @__gxx_personality_v0<br>
 define void @landingpadInstr1(i1 %cond1, <2 x i1> %cond2, <2 x i8> %x1, <2 x i8> %x2){<br>
 entry:<br>
-; CHECK: %res = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK: %res = landingpad { i8*, i32 }<br>
   %res = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
 ; CHECK: catch i8** @_ZTIi<br>
   catch i8** @_ZTIi<br>
   ret void<br>
 }<br>
<br>
+; CHECK-LABEL: define void @landingpadInstr2<br>
+; CHECK-SAME: personality i32 (...)* @__gxx_personality_v0<br>
 define void @landingpadInstr2(i1 %cond1, <2 x i1> %cond2, <2 x i8> %x1, <2 x i8> %x2){<br>
 entry:<br>
-; CHECK: %res = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK: %res = landingpad { i8*, i32 }<br>
   %res = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
 ; CHECK: cleanup<br>
   cleanup<br>
   ret void<br>
 }<br>
<br>
+; CHECK-LABEL: define void @landingpadInstr3<br>
+; CHECK-SAME: personality i32 (...)* @__gxx_personality_v0<br>
 define void @landingpadInstr3(i1 %cond1, <2 x i1> %cond2, <2 x i8> %x1, <2 x i8> %x2){<br>
 entry:<br>
-; CHECK: %res = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK: %res = landingpad { i8*, i32 }<br>
   %res = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
 ; CHECK: catch i8** @_ZTIi<br>
   catch i8** @_ZTIi<br>
<br>
Modified: llvm/trunk/test/CodeGen/AArch64/arm64-big-endian-eh.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_AArch64_arm64-2Dbig-2Dendian-2Deh.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=AjHNeEgcppM3AnuHA2PIJ52-Fg8YO1okZhvR0-yLZq0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/arm64-big-endian-eh.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/AArch64/arm64-big-endian-eh.ll (original)<br>
+++ llvm/trunk/test/CodeGen/AArch64/arm64-big-endian-eh.ll Wed Jun 17 15:52:32 2015<br>
@@ -14,13 +14,13 @@<br>
 ; }<br>
 ;}<br>
<br>
-define void @_Z4testii(i32 %a, i32 %b) #0 {<br>
+define void @_Z4testii(i32 %a, i32 %b) #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @_Z3fooi(i32 %a)<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = tail call i8* @__cxa_begin_catch(i8* %1) #2<br>
@@ -35,7 +35,7 @@ try.cont:<br>
   ret void<br>
<br>
 lpad1:                                            ; preds = %lpad<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup<br>
   invoke void @__cxa_end_catch()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
@@ -44,7 +44,7 @@ eh.resume:<br>
   resume { i8*, i32 } %3<br>
<br>
 terminate.lpad:                                   ; preds = %lpad1<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %5 = extractvalue { i8*, i32 } %4, 0<br>
   tail call void @__clang_call_terminate(i8* %5) #3<br>
<br>
Modified: llvm/trunk/test/CodeGen/AArch64/br-to-eh-lpad.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_AArch64_br-2Dto-2Deh-2Dlpad.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=csKNP-TEbAn_JsOLRPDz3R9suSTzFcRUSqBQ_54TFVQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/br-to-eh-lpad.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/AArch64/br-to-eh-lpad.ll (original)<br>
+++ llvm/trunk/test/CodeGen/AArch64/br-to-eh-lpad.ll Wed Jun 17 15:52:32 2015<br>
@@ -7,12 +7,12 @@<br>
 ; that case, the machine verifier, which relies on analyzing branches for this<br>
 ; kind of verification, is unable to check anything, so accepts the CFG.<br>
<br>
-define void @test_branch_to_landingpad() {<br>
+define void @test_branch_to_landingpad() personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
 entry:<br>
   br i1 undef, label %if.end50.thread, label %if.then6<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch %struct._objc_typeinfo.12.129.194.285.350.493.519.532.571.597.623.765* @"OBJC_EHTYPE_$_NSString"<br>
           catch %struct._objc_typeinfo.12.129.194.285.350.493.519.532.571.597.623.765* @OBJC_EHTYPE_id<br>
           catch i8* null<br>
@@ -46,7 +46,7 @@ invoke.cont43:<br>
   unreachable<br>
<br>
 lpad40:<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   br label %finally.catchall<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/AArch64/pic-eh-stubs.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_AArch64_pic-2Deh-2Dstubs.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=QpXXH3Vu_ePvjLKKACud1KMkexz_-Axc40dQF6kJoLA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/pic-eh-stubs.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/AArch64/pic-eh-stubs.ll (original)<br>
+++ llvm/trunk/test/CodeGen/AArch64/pic-eh-stubs.ll Wed Jun 17 15:52:32 2015<br>
@@ -21,13 +21,13 @@<br>
<br>
 @_ZTIi = external constant i8*<br>
<br>
-define i32 @_Z3barv() {<br>
+define i32 @_Z3barv() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @_Z3foov()<br>
           to label %return unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %1 = extractvalue { i8*, i32 } %0, 1<br>
   %2 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*)) nounwind<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/2009-08-31-LSDA-Name.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_2009-2D08-2D31-2DLSDA-2DName.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=k2dE6_YxYsVEMHF_Xaon3dFG0XmVy-6gwzSqcc1RTx4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2009-08-31-LSDA-Name.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/2009-08-31-LSDA-Name.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/2009-08-31-LSDA-Name.ll Wed Jun 17 15:52:32 2015<br>
@@ -7,7 +7,7 @@<br>
<br>
 %struct.A = type { i32* }<br>
<br>
-define void @"\01-[MyFunction Name:]"() {<br>
+define void @"\01-[MyFunction Name:]"() personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   %save_filt.1 = alloca i32<br>
   %save_eptr.0 = alloca i8*<br>
@@ -39,7 +39,7 @@ return:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %exn = landingpad {i8*, i32} personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %exn = landingpad {i8*, i32}<br>
            cleanup<br>
   %eh_ptr = extractvalue {i8*, i32} %exn, 0<br>
   store i8* %eh_ptr, i8** %eh_exception<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/2010-07-26-GlobalMerge.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_2010-2D07-2D26-2DGlobalMerge.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=zrVWcBIy2DayQnebzFE0-R5xLTaVECEamERUN00Ta8M&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2010-07-26-GlobalMerge.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/2010-07-26-GlobalMerge.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/2010-07-26-GlobalMerge.ll Wed Jun 17 15:52:32 2015<br>
@@ -40,7 +40,7 @@ entry:<br>
<br>
 declare void @__cxa_throw(i8*, i8*, i8*)<br>
<br>
-define i32 @main() ssp {<br>
+define i32 @main() ssp personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   %puts.i = tail call i32 @puts(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @str, i32 0, i32 0)) ; <i32> [#uses=0]<br>
   %exception.i = tail call i8* @__cxa_allocate_exception(i32 4) nounwind ; <i8*> [#uses=2]<br>
@@ -71,7 +71,7 @@ try.cont:<br>
   ret i32 %conv<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %exn.ptr = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %exn.ptr = landingpad { i8*, i32 }<br>
            catch i8* bitcast (%0* @_ZTI1A to i8*)<br>
            catch i8* null<br>
   %exn = extractvalue { i8*, i32 } %exn.ptr, 0<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/2010-08-04-EHCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_2010-2D08-2D04-2DEHCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=TQRHQ7WDKMDeSiBYMRbaXu7q1_sKLgxvkHuDjovn3Ms&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2010-08-04-EHCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/2010-08-04-EHCrash.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/2010-08-04-EHCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,7 +1,7 @@<br>
 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin10<br>
 ; <rdar://problem/8264008><br>
<br>
-define linkonce_odr arm_apcscc void @func1() {<br>
+define linkonce_odr arm_apcscc void @func1() personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   %save_filt.936 = alloca i32                     ; <i32*> [#uses=2]<br>
   %save_eptr.935 = alloca i8*                     ; <i8**> [#uses=2]<br>
@@ -34,7 +34,7 @@ return:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %bb<br>
-  %eh_ptr = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %eh_ptr = landingpad { i8*, i32 }<br>
               cleanup<br>
   %exn = extractvalue { i8*, i32 } %eh_ptr, 0<br>
   store i8* %exn, i8** %eh_exception<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/2011-05-04-MultipleLandingPadSuccs.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_2011-2D05-2D04-2DMultipleLandingPadSuccs.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=yZzZxdKVoznkY0KEryINhg2WMXzBkMUzquCVQenoK84&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2011-05-04-MultipleLandingPadSuccs.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/2011-05-04-MultipleLandingPadSuccs.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/2011-05-04-MultipleLandingPadSuccs.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32-n32"<br>
 target triple = "thumbv7-apple-darwin"<br>
<br>
-define void @func() unnamed_addr align 2 {<br>
+define void @func() unnamed_addr align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   br label %for.cond<br>
<br>
@@ -35,13 +35,13 @@ for.cond.backedge:<br>
   br label %for.cond<br>
<br>
 lpad:<br>
-  %exn = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %exn = landingpad { i8*, i32 }<br>
            catch i8* null<br>
   invoke void @foo()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
<br>
 lpad26:<br>
-  %exn27 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %exn27 = landingpad { i8*, i32 }<br>
            catch i8* null<br>
   invoke void @foo()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
@@ -57,7 +57,7 @@ call8.i.i.i.noexc:<br>
   ret void<br>
<br>
 lpad44:<br>
-  %exn45 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %exn45 = landingpad { i8*, i32 }<br>
            catch i8* null<br>
   invoke void @foo()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
@@ -67,7 +67,7 @@ eh.resume:<br>
   resume { i8*, i32 } %exn.slot.0<br>
<br>
 terminate.lpad:<br>
-  %exn51 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %exn51 = landingpad { i8*, i32 }<br>
            catch i8* null<br>
   tail call void @_ZSt9terminatev() noreturn nounwind<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/2011-12-19-sjlj-clobber.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_2011-2D12-2D19-2Dsjlj-2Dclobber.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=OTy9y-I7JufTNugUQklS22D0wz_HfosIgwqWMSEC9o0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2011-12-19-sjlj-clobber.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/2011-12-19-sjlj-clobber.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/2011-12-19-sjlj-clobber.ll Wed Jun 17 15:52:32 2015<br>
@@ -8,7 +8,7 @@<br>
 %0 = type opaque<br>
 %struct.NSConstantString = type { i32*, i32, i8*, i32 }<br>
<br>
-define i32 @asdf(i32 %a, i32 %b, i8** %c, i8* %d) {<br>
+define i32 @asdf(i32 %a, i32 %b, i8** %c, i8* %d) personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
 bb:<br>
   %tmp = alloca i32, align 4<br>
   %tmp1 = alloca i32, align 4<br>
@@ -37,7 +37,7 @@ bb14:<br>
   unreachable<br>
<br>
 bb15:                                             ; preds = %bb11, %bb<br>
-  %tmp16 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %tmp16 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %tmp17 = extractvalue { i8*, i32 } %tmp16, 0<br>
   store i8* %tmp17, i8** %tmp4<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/2012-04-24-SplitEHCriticalEdge.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_2012-2D04-2D24-2DSplitEHCriticalEdge.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=PIotJi7-a6NTlxVeb87gXMvkF5Egl_k8D3Ir0uR1RZw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2012-04-24-SplitEHCriticalEdge.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/2012-04-24-SplitEHCriticalEdge.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/2012-04-24-SplitEHCriticalEdge.ll Wed Jun 17 15:52:32 2015<br>
@@ -25,13 +25,13 @@ declare void @__cxa_end_catch()<br>
<br>
 declare void @_ZSt9terminatev()<br>
<br>
-define hidden double @t(%0* %self, i8* nocapture %_cmd) optsize ssp {<br>
+define hidden double @t(%0* %self, i8* nocapture %_cmd) optsize ssp personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   %call = invoke double undef(%class.FunctionInterpreter.3.15.31* undef) optsize<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast ({ i8*, i8* }* @_ZTI13ParseErrorMsg to i8*)<br>
   br i1 undef, label %catch, label %eh.resume<br>
<br>
@@ -47,7 +47,7 @@ try.cont:<br>
   ret double %value.0<br>
<br>
 lpad1:                                            ; preds = %catch<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   invoke void @__cxa_end_catch()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
@@ -56,7 +56,7 @@ eh.resume:<br>
   resume { i8*, i32 } undef<br>
<br>
 terminate.lpad:                                   ; preds = %lpad1<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/2014-05-14-DwarfEHCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_2014-2D05-2D14-2DDwarfEHCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=phZLshfcO4NnM4wghP8axD5A7Wlt5ssIF9KNzYxd3dE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2014-05-14-DwarfEHCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/2014-05-14-DwarfEHCrash.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/2014-05-14-DwarfEHCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -8,13 +8,13 @@ target triple = "armv4t--linux-androidea<br>
<br>
 @_ZTIi = external constant i8*<br>
<br>
-define void @_Z3fn2v() #0 {<br>
+define void @_Z3fn2v() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @_Z3fn1v()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %1 = extractvalue { i8*, i32 } %0, 1<br>
   %2 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*)) #2<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/arm-ttype-target2.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_arm-2Dttype-2Dtarget2.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=9EPWW5ERm53qy3btrdbDu2VimuEmqnzM3rm0o20jiOI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/arm-ttype-target2.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/arm-ttype-target2.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/arm-ttype-target2.ll Wed Jun 17 15:52:32 2015<br>
@@ -4,13 +4,13 @@<br>
 @_ZTS3Foo = linkonce_odr constant [5 x i8] c"3Foo\00"<br>
 @_ZTI3Foo = linkonce_odr unnamed_addr constant { i8*, i8* } { i8* bitcast (i8** getelementptr inbounds (i8*, i8** @_ZTVN10__cxxabiv117__class_type_infoE, i32 2) to i8*), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @_ZTS3Foo, i32 0, i32 0) }<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @_Z3foov()<br>
           to label %return unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast ({ i8*, i8* }* @_ZTI3Foo to i8*)<br>
   %1 = extractvalue { i8*, i32 } %0, 1<br>
   %2 = tail call i32 @llvm.eh.typeid.for(i8* bitcast ({ i8*, i8* }* @_ZTI3Foo to i8*)) nounwind<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/big-endian-eh-unwind.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_big-2Dendian-2Deh-2Dunwind.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=SyhfiajmWAU3mhsOtXOhkDbo2XKgNabSMzfreARitJw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/big-endian-eh-unwind.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/big-endian-eh-unwind.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/big-endian-eh-unwind.ll Wed Jun 17 15:52:32 2015<br>
@@ -14,13 +14,13 @@<br>
 ; }<br>
 ;}<br>
<br>
-define void @_Z4testii(i32 %a, i32 %b) #0 {<br>
+define void @_Z4testii(i32 %a, i32 %b) #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @_Z3fooi(i32 %a)<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = tail call i8* @__cxa_begin_catch(i8* %1) #2<br>
@@ -35,7 +35,7 @@ try.cont:<br>
   ret void<br>
<br>
 lpad1:                                            ; preds = %lpad<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup<br>
   invoke void @__cxa_end_catch()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
@@ -44,7 +44,7 @@ eh.resume:<br>
   resume { i8*, i32 } %3<br>
<br>
 terminate.lpad:                                   ; preds = %lpad1<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %5 = extractvalue { i8*, i32 } %4, 0<br>
   tail call void @__clang_call_terminate(i8* %5) #3<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_crash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=aalf2ycpegy7wZFYWevcSE1DWXCBGjuz26ADqC8ZnCE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/crash.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -74,7 +74,7 @@ bb:<br>
 %A = type { %B }<br>
 %B = type { i32 }<br>
<br>
-define void @_Z3Foov() ssp {<br>
+define void @_Z3Foov() ssp personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   br i1 true, label %exit, label %false<br>
<br>
@@ -83,7 +83,7 @@ false:<br>
           to label %exit unwind label %lpad<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   unreachable<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/debug-frame-no-debug.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_debug-2Dframe-2Dno-2Ddebug.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=k71AhIY2E_f8idEXfpx1b_J5-4NGqeJsCuoWUY3L97s&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/debug-frame-no-debug.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/debug-frame-no-debug.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/debug-frame-no-debug.ll Wed Jun 17 15:52:32 2015<br>
@@ -34,14 +34,13 @@ declare void @_Z5printddddd(double, doub<br>
<br>
 define void @_Z4testiiiiiddddd(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e,<br>
                                double %m, double %n, double %p,<br>
-                               double %q, double %r) {<br>
+                               double %q, double %r) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @_Z5printiiiii(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e)<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
   %0 = landingpad { i8*, i32 }<br>
-          personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = tail call i8* @__cxa_begin_catch(i8* %1)<br>
@@ -58,7 +57,6 @@ try.cont:<br>
<br>
 lpad1:<br>
   %3 = landingpad { i8*, i32 }<br>
-          personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
           cleanup<br>
   invoke void @__cxa_end_catch()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
@@ -68,7 +66,6 @@ eh.resume:<br>
<br>
 terminate.lpad:<br>
   %4 = landingpad { i8*, i32 }<br>
-          personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
           catch i8* null<br>
   %5 = extractvalue { i8*, i32 } %4, 0<br>
   tail call void @__clang_call_terminate(i8* %5)<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/debug-frame.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_debug-2Dframe.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Du1hSYI3v6OQkHBYp6AzjqiFTOK1EJtuEI7CN-MfHEc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/debug-frame.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/debug-frame.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/debug-frame.ll Wed Jun 17 15:52:32 2015<br>
@@ -73,14 +73,13 @@ declare void @_Z5printddddd(double, doub<br>
<br>
 define void @_Z4testiiiiiddddd(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e,<br>
                                double %m, double %n, double %p,<br>
-                               double %q, double %r) {<br>
+                               double %q, double %r) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @_Z5printiiiii(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e)<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
   %0 = landingpad { i8*, i32 }<br>
-          personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = tail call i8* @__cxa_begin_catch(i8* %1)<br>
@@ -97,7 +96,6 @@ try.cont:<br>
<br>
 lpad1:<br>
   %3 = landingpad { i8*, i32 }<br>
-          personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
           cleanup<br>
   invoke void @__cxa_end_catch()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
@@ -107,7 +105,6 @@ eh.resume:<br>
<br>
 terminate.lpad:<br>
   %4 = landingpad { i8*, i32 }<br>
-          personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
           catch i8* null<br>
   %5 = extractvalue { i8*, i32 } %4, 0<br>
   tail call void @__clang_call_terminate(i8* %5)<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/dwarf-eh.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_dwarf-2Deh.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=7SyXeto37zAtEjEbyMR2zcJ_GkcMyzW3hMG57UnH_EE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/dwarf-eh.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/dwarf-eh.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/dwarf-eh.ll Wed Jun 17 15:52:32 2015<br>
@@ -17,7 +17,7 @@ target triple = "armv5e--netbsd-eabi"<br>
 @_ZTS9exception = linkonce_odr constant [11 x i8] c"9exception\00"<br>
 @_ZTI9exception = linkonce_odr unnamed_addr constant { i8*, i8* } { i8* bitcast (i8** getelementptr inbounds (i8*, i8** @_ZTVN10__cxxabiv117__class_type_infoE, i32 2) to i8*), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @_ZTS9exception, i32 0, i32 0) }<br>
<br>
-define void @f() uwtable {<br>
+define void @f() uwtable personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
   %1 = alloca i8*<br>
   %2 = alloca i32<br>
   %e = alloca %struct.exception*, align 4<br>
@@ -26,7 +26,7 @@ define void @f() uwtable {<br>
<br>
   br label %16<br>
<br>
-  %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %5 = landingpad { i8*, i32 }<br>
           catch i8* bitcast ({ i8*, i8* }* @_ZTI9exception to i8*)<br>
   %6 = extractvalue { i8*, i32 } %5, 0<br>
   store i8* %6, i8** %1<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/eh-dispcont.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_eh-2Ddispcont.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=LtA-RQ9WRJx_g0HWQBM--MJY3lfGsQjAXhlMtaO6kuY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/eh-dispcont.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/eh-dispcont.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/eh-dispcont.ll Wed Jun 17 15:52:32 2015<br>
@@ -7,7 +7,7 @@<br>
<br>
 @_ZTIi = external constant i8*<br>
<br>
-define i32 @main() #0 {<br>
+define i32 @main() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   %exception = tail call i8* @__cxa_allocate_exception(i32 4) #1<br>
   %0 = bitcast i8* %exception to i32*<br>
@@ -16,7 +16,7 @@ entry:<br>
           to label %unreachable unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   %3 = tail call i8* @__cxa_begin_catch(i8* %2) #1<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/eh-resume-darwin.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_eh-2Dresume-2Ddarwin.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=552QeSbyU7t6mUCyIEcUclFB6CVqukKjA6EW1ipTkwc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/eh-resume-darwin.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/eh-resume-darwin.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/eh-resume-darwin.ll Wed Jun 17 15:52:32 2015<br>
@@ -5,7 +5,7 @@ declare void @func()<br>
<br>
 declare i32 @__gxx_personality_sj0(...)<br>
<br>
-define void @test0() {<br>
+define void @test0() personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   invoke void @func()<br>
     to label %cont unwind label %lpad<br>
@@ -14,7 +14,7 @@ cont:<br>
   ret void<br>
<br>
 lpad:<br>
-  %exn = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %exn = landingpad { i8*, i32 }<br>
            cleanup<br>
   resume { i8*, i32 } %exn<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/ehabi-filters.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_ehabi-2Dfilters.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=P_wSW6QRDBCuI70qXqKqFjXOAvg2SJnngzodKUUys3c&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/ehabi-filters.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/ehabi-filters.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/ehabi-filters.ll Wed Jun 17 15:52:32 2015<br>
@@ -14,7 +14,7 @@ declare void @__cxa_throw(i8*, i8*, i8*)<br>
<br>
 declare void @__cxa_call_unexpected(i8*)<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 ; CHECK-LABEL: main:<br>
 entry:<br>
   %exception.i = tail call i8* @__cxa_allocate_exception(i32 4) nounwind<br>
@@ -24,7 +24,7 @@ entry:<br>
           to label %unreachable.i unwind label %lpad.i<br>
<br>
 lpad.i:                                           ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           filter [1 x i8*] [i8* bitcast (i8** @_ZTIi to i8*)]<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK: .long _ZTIi(target2)          @ TypeInfo 1<br>
@@ -45,7 +45,7 @@ unreachable.i:<br>
   unreachable<br>
<br>
 lpad:                                             ; preds = %ehspec.unexpected.i<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   br label %lpad.body<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/ehabi-handlerdata-nounwind.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_ehabi-2Dhandlerdata-2Dnounwind.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=UsywJbv4XdHgMbc1tx7AKirsJyWbMGds5QxFaVfPShE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/ehabi-handlerdata-nounwind.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/ehabi-handlerdata-nounwind.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/ehabi-handlerdata-nounwind.ll Wed Jun 17 15:52:32 2015<br>
@@ -25,12 +25,12 @@ declare i8* @__cxa_begin_catch(i8*)<br>
<br>
 declare void @__cxa_end_catch()<br>
<br>
-define void @test1() nounwind {<br>
+define void @test1() nounwind personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throw_exception() to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = tail call i8* @__cxa_begin_catch(i8* %1)<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/ehabi-handlerdata.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_ehabi-2Dhandlerdata.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=vl5zwXebayRQ6rNi1w1_xvOWwPb8VPZ0JLF4WX5ewDg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/ehabi-handlerdata.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/ehabi-handlerdata.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/ehabi-handlerdata.ll Wed Jun 17 15:52:32 2015<br>
@@ -23,12 +23,12 @@ declare i8* @__cxa_begin_catch(i8*)<br>
<br>
 declare void @__cxa_end_catch()<br>
<br>
-define void @test1() {<br>
+define void @test1() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throw_exception() to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = tail call i8* @__cxa_begin_catch(i8* %1)<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/ehabi.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_ehabi.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=EAuZ4qNjRmt64IEinH1fXv6RD4zJjTcq0i_P6uBD7gY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/ehabi.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/ehabi.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/ehabi.ll Wed Jun 17 15:52:32 2015<br>
@@ -89,14 +89,13 @@ declare void @_Z5printddddd(double, doub<br>
<br>
 define void @_Z4testiiiiiddddd(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e,<br>
                                double %m, double %n, double %p,<br>
-                               double %q, double %r) {<br>
+                               double %q, double %r) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @_Z5printiiiii(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e)<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
   %0 = landingpad { i8*, i32 }<br>
-          personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = tail call i8* @__cxa_begin_catch(i8* %1)<br>
@@ -113,7 +112,6 @@ try.cont:<br>
<br>
 lpad1:<br>
   %3 = landingpad { i8*, i32 }<br>
-          personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
           cleanup<br>
   invoke void @__cxa_end_catch()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
@@ -123,7 +121,6 @@ eh.resume:<br>
<br>
 terminate.lpad:<br>
   %4 = landingpad { i8*, i32 }<br>
-          personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
           catch i8* null<br>
   %5 = extractvalue { i8*, i32 } %4, 0<br>
   tail call void @__clang_call_terminate(i8* %5)<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/global-merge.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_global-2Dmerge.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=TEicHFoLjPDDtaWvCuwWFsHnvUBwvbgRhjGqdDuavQw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/global-merge.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/global-merge.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/global-merge.ll Wed Jun 17 15:52:32 2015<br>
@@ -15,13 +15,13 @@<br>
 ; CHECK: ZTIi<br>
 @_ZTIi = internal global i8* null<br>
<br>
-define i32 @_Z9exceptioni(i32 %arg) {<br>
+define i32 @_Z9exceptioni(i32 %arg) personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 bb:<br>
   %tmp = invoke i32 @_Z14throwSomethingi(i32 %arg)<br>
           to label %bb9 unwind label %bb1<br>
<br>
 bb1:                                              ; preds = %bb<br>
-  %tmp2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp2 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %tmp3 = extractvalue { i8*, i32 } %tmp2, 1<br>
   %tmp4 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*))<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/gv-stubs-crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_gv-2Dstubs-2Dcrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=lBfR3xjGBaxrgxjt_31ZMO0EXuHh7K5DfbJBCGyqSUk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/gv-stubs-crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/gv-stubs-crash.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/gv-stubs-crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
<br>
 @Exn = external hidden unnamed_addr constant { i8*, i8* }<br>
<br>
-define hidden void @func(i32* %this, i32* %e) optsize align 2 {<br>
+define hidden void @func(i32* %this, i32* %e) optsize align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
   %e.ld = load i32, i32* %e, align 4<br>
   %inv = invoke zeroext i1 @func2(i32* %this, i32 %e.ld) optsize<br>
           to label %ret unwind label %lpad<br>
@@ -12,7 +12,7 @@ ret:<br>
   ret void<br>
<br>
 lpad:<br>
-  %lp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %lp = landingpad { i8*, i32 }<br>
           catch i8* bitcast ({ i8*, i8* }* @Exn to i8*)<br>
   br label %.loopexit4<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/invoke-donothing-assert.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_invoke-2Ddonothing-2Dassert.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=JDM9Vs6KzHeqKq-iKUbnD7jKE-LoW9oaGgvGX1enuSk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/invoke-donothing-assert.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/invoke-donothing-assert.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/invoke-donothing-assert.ll Wed Jun 17 15:52:32 2015<br>
@@ -4,7 +4,7 @@<br>
 ; <rdar://problem/13228754> & <rdar://problem/13316637><br>
<br>
 ; CHECK: .globl  _foo<br>
-define void @foo() {<br>
+define void @foo() personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 invoke.cont:<br>
   invoke void @callA()<br>
           to label %invoke.cont25 unwind label %lpad2<br>
@@ -20,12 +20,12 @@ invoke.cont75:<br>
   ret void<br>
<br>
 lpad2:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %eh.resume<br>
<br>
 lpad15:<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %eh.resume<br>
<br>
@@ -34,7 +34,7 @@ eh.resume:<br>
 }<br>
<br>
 ; CHECK: .globl _bar<br>
-define linkonce_odr void @bar(i32* %a) {<br>
+define linkonce_odr void @bar(i32* %a) personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 if.end.i.i.i:<br>
   invoke void @llvm.donothing()<br>
           to label %call.i.i.i.noexc unwind label %eh.resume<br>
@@ -58,7 +58,7 @@ _ZN3lol5ArrayIivvvvvvvED1Ev.exit:<br>
   ret void<br>
<br>
 eh.resume:<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   %3 = extractvalue { i8*, i32 } %1, 1<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/sjlj-prepare-critical-edge.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_sjlj-2Dprepare-2Dcritical-2Dedge.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=uNYRak3yr3jbx0NelcLOL8-Z1Va-OCANi0vyQ4bvOPg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/sjlj-prepare-critical-edge.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/sjlj-prepare-critical-edge.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/sjlj-prepare-critical-edge.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@<br>
<br>
 declare void @bar(%struct.__CFString*, %struct.__CFString*)<br>
<br>
-define noalias i8* @foo(i8* nocapture %inRefURL) noreturn ssp {<br>
+define noalias i8* @foo(i8* nocapture %inRefURL) noreturn ssp personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   %call = tail call %struct.__CFString* @bar3()<br>
   %call2 = invoke i8* @bar2()<br>
@@ -17,14 +17,14 @@ for.cond:<br>
           to label %for.cond unwind label %lpad5<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = extractvalue { i8*, i32 } %0, 1<br>
   br label %ehcleanup<br>
<br>
 lpad5:                                            ; preds = %for.cond<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %4 = extractvalue { i8*, i32 } %3, 0<br>
   %5 = extractvalue { i8*, i32 } %3, 1<br>
@@ -32,7 +32,7 @@ lpad5:<br>
           to label %ehcleanup unwind label %terminate.lpad.i.i16<br>
<br>
 terminate.lpad.i.i16:                             ; preds = %lpad5<br>
-  %6 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %6 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   tail call void @terminatev() noreturn nounwind<br>
   unreachable<br>
@@ -45,7 +45,7 @@ ehcleanup:<br>
           to label %_ZN5SmartIPK10__CFStringED1Ev.exit unwind label %terminate.lpad.i.i<br>
<br>
 terminate.lpad.i.i:                               ; preds = %ehcleanup<br>
-  %8 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %8 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   tail call void @terminatev() noreturn nounwind<br>
   unreachable<br>
@@ -90,7 +90,7 @@ declare void @terminatev()<br>
<br>
 @.str = private unnamed_addr constant [12 x i8] c"some_string\00", align 1<br>
<br>
-define void @_Z4foo1c(i8 signext %a) {<br>
+define void @_Z4foo1c(i8 signext %a) personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   %s1 = alloca %"class.std::__1::basic_string", align 4<br>
   call void @_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(%"class.std::__1::basic_string"* %s1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i32 0, i32 0), i32 11)<br>
@@ -131,14 +131,14 @@ invoke.cont6:<br>
   ret void<br>
<br>
 lpad.body:                                        ; preds = %entry<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %3 = extractvalue { i8*, i32 } %2, 0<br>
   %4 = extractvalue { i8*, i32 } %2, 1<br>
   br label %ehcleanup<br>
<br>
 lpad2:                                            ; preds = %invoke.cont<br>
-  %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %5 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %6 = extractvalue { i8*, i32 } %5, 0<br>
   %7 = extractvalue { i8*, i32 } %5, 1<br>
@@ -161,7 +161,7 @@ eh.resume:<br>
   resume { i8*, i32 } %lpad.val13<br>
<br>
 terminate.lpad:                                   ; preds = %ehcleanup<br>
-  %8 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %8 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %9 = extractvalue { i8*, i32 } %8, 0<br>
   call void @__clang_call_terminate(i8* %9)<br>
<br>
Modified: llvm/trunk/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_ARM_sjljehprepare-2Dlower-2Dempty-2Dstruct.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=X6563b5w0aawdp0o2qgXr9cNx-sFsWC7N-uieGF5iFU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll (original)<br>
+++ llvm/trunk/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,7 +10,7 @@<br>
 ; __Unwind_SjLj_Register and actual @bar invocation<br>
<br>
<br>
-define i8* @foo(i8 %a, {} %c) {<br>
+define i8* @foo(i8 %a, {} %c) personality i8* bitcast (i32 (...)* @baz to i8*) {<br>
 entry:<br>
 ; CHECK: bl __Unwind_SjLj_Register<br>
 ; CHECK-NEXT: {{[A-Z][a-zA-Z0-9]*}}:<br>
@@ -22,7 +22,7 @@ unreachable:<br>
   unreachable<br>
<br>
 handler:<br>
-  %tmp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @baz to i8*)<br>
+  %tmp = landingpad { i8*, i32 }<br>
   cleanup<br>
   resume { i8*, i32 } undef<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/Generic/2007-02-25-invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Generic_2007-2D02-2D25-2Dinvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=olkSPWaDqf1yb1QSEv4qliq9FPYS1VPQ12rg7Fh-W8g&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-02-25-invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Generic/2007-02-25-invoke.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Generic/2007-02-25-invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,12 +3,12 @@<br>
 ; PR1224<br>
<br>
 declare i32 @test()<br>
-define i32 @test2() {<br>
+define i32 @test2() personality i32 (...)* @__gxx_personality_v0 {<br>
         %A = invoke i32 @test() to label %invcont unwind label %blat<br>
 invcont:<br>
         ret i32 %A<br>
 blat:<br>
-  %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %lpad = landingpad { i8*, i32 }<br>
             cleanup<br>
   ret i32 0<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Generic_2007-2D04-2D30-2DLandingPadBranchFolding.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=pgKM9F-t-hl4vIteoXI2DTYrtkpoceXATPZpOoC4ViA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll Wed Jun 17 15:52:32 2015<br>
@@ -7,7 +7,7 @@<br>
        %"struct.std::locale::facet" = type { i32 (...)**, i32 }<br>
        %"struct.std::string" = type { %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Alloc_hider" }<br>
<br>
-define void @_ZNKSt6locale4nameEv(%"struct.std::string"* %agg.result) {<br>
+define void @_ZNKSt6locale4nameEv(%"struct.std::string"* %agg.result) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        %tmp105 = icmp eq i8* null, null                ; <i1> [#uses=1]<br>
        br i1 %tmp105, label %cond_true, label %cond_true222<br>
@@ -45,7 +45,7 @@ cond_next1328:                ; preds = %cond_true235,<br>
        ret void<br>
<br>
 cond_true1402:         ; preds = %invcont282, %cond_false280, %cond_true235, %cond_true<br>
-  %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %lpad = landingpad { i8*, i32 }<br>
             cleanup<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Generic_2007-2D12-2D17-2DInvokeAsm.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=eAMXIBm7PvvSCKfcCDvFoLYGogpAGgCnCdX5QPOz530&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,6 +1,6 @@<br>
 ; RUN: llc -no-integrated-as < %s<br>
<br>
-define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() {<br>
+define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )<br>
       to label %.noexc unwind label %cleanup144<br>
@@ -9,7 +9,7 @@ entry:<br>
   ret void<br>
<br>
 cleanup144:            ; preds = %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   resume { i8*, i32 } %exn<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Generic_2007-2D12-2D31-2DUnusedSelector.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=RZIiW1cNGXNHlDsDekLPfW7rSXs0aQxhqOxL7UKLLno&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll Wed Jun 17 15:52:32 2015<br>
@@ -5,7 +5,7 @@<br>
        %struct.__type_info_pseudo = type { i8*, i8* }<br>
 @_ZTI2e1 = external constant %struct.__class_type_info_pseudo          ; <%struct.__class_type_info_pseudo*> [#uses=1]<br>
<br>
-define void @_Z7ex_testv() {<br>
+define void @_Z7ex_testv() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        invoke void @__cxa_throw( i8* null, i8* bitcast (%struct.__class_type_info_pseudo* @_ZTI2e1 to i8*), void (i8*)* null ) noreturn<br>
                        to label %UnifiedUnreachableBlock unwind label %lpad<br>
@@ -14,13 +14,13 @@ bb14:               ; preds = %lpad<br>
        unreachable<br>
<br>
 lpad:          ; preds = %entry<br>
-        %lpad1 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+        %lpad1 = landingpad { i8*, i32 }<br>
                   catch i8* null<br>
        invoke void @__cxa_end_catch( )<br>
                        to label %bb14 unwind label %lpad17<br>
<br>
 lpad17:                ; preds = %lpad<br>
-        %lpad2 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+        %lpad2 = landingpad { i8*, i32 }<br>
                   catch i8* null<br>
        unreachable<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Generic_2009-2D11-2D16-2DBadKillsCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ecFeHZoqmD9SkHyYouyML0-WvNNaY9KThQ2xnSwNtoI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -19,7 +19,7 @@ declare i8* @__cxa_begin_catch(i8*) noun<br>
<br>
 declare %"struct.std::ctype<char>"* @_ZSt9use_facetISt5ctypeIcEERKT_RKSt6locale(%"struct.std::locale"*)<br>
<br>
-define %"struct.std::basic_istream<char,std::char_traits<char> >"* @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_PS3_(%"struct.std::basic_istream<char,std::char_traits<char> >"* %__in, i8* nocapture %__s) {<br>
+define %"struct.std::basic_istream<char,std::char_traits<char> >"* @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_PS3_(%"struct.std::basic_istream<char,std::char_traits<char> >"* %__in, i8* nocapture %__s) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   %0 = invoke %"struct.std::ctype<char>"* @_ZSt9use_facetISt5ctypeIcEERKT_RKSt6locale(%"struct.std::locale"* undef)<br>
           to label %invcont8 unwind label %lpad74 ; <%"struct.std::ctype<char>"*> [#uses=0]<br>
@@ -62,14 +62,14 @@ invcont38:<br>
<br>
 lpad:                                             ; preds = %bb.i93, %invcont24, %bb1.i, %invcont8<br>
   %__extracted.1 = phi i32 [ 0, %invcont8 ], [ %2, %bb1.i ], [ undef, %bb.i93 ], [ undef, %invcont24 ] ; <i32> [#uses=0]<br>
-  %lpad1 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %lpad1 = landingpad { i8*, i32 }<br>
             catch i8* null<br>
   %eh_ptr = extractvalue { i8*, i32 } %lpad1, 0<br>
   %6 = call i8* @__cxa_begin_catch(i8* %eh_ptr) nounwind ; <i8*> [#uses=0]<br>
   unreachable<br>
<br>
 lpad74:                                           ; preds = %entry<br>
-  %lpad2 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %lpad2 = landingpad { i8*, i32 }<br>
             cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/Generic/donothing.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Generic_donothing.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=STPY3-ERfnhtWpAvOef3W9qBv67no1PhpE7a54PfZeg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/donothing.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Generic/donothing.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Generic/donothing.ll Wed Jun 17 15:52:32 2015<br>
@@ -5,7 +5,7 @@ declare void @__cxa_call_unexpected(i8*)<br>
 declare void @llvm.donothing() readnone<br>
<br>
 ; CHECK: f1<br>
-define void @f1() nounwind uwtable ssp {<br>
+define void @f1() nounwind uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; CHECK-NOT: donothing<br>
   invoke void @llvm.donothing()<br>
@@ -15,7 +15,7 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   tail call void @__cxa_call_unexpected(i8* %1) noreturn nounwind<br>
<br>
Modified: llvm/trunk/test/CodeGen/Generic/exception-handling.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Generic_exception-2Dhandling.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=7hR7Hofh-5VEaZqy866q-glE_8MegR3k9JcYvh6_nhg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/exception-handling.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Generic/exception-handling.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Generic/exception-handling.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,7 +2,7 @@<br>
 ; PR10733<br>
 declare void @_Znam()<br>
<br>
-define void @_ZNK14gIndexOdometer15AfterExcisionOfERi() uwtable align 2 {<br>
+define void @_ZNK14gIndexOdometer15AfterExcisionOfERi() uwtable align 2 personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0 {<br>
 _ZN6Gambit5ArrayIiEC2Ej.exit36:<br>
   br label %"9"<br>
<br>
@@ -19,7 +19,7 @@ _ZN6Gambit5ArrayIiEC2Ej.exit36:<br>
<br>
 lpad27:                                           ; preds = %"10", %"9"<br>
   %0 = phi i32 [ undef, %"9" ], [ %tmp, %"10" ]<br>
-  %1 = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } zeroinitializer<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Generic_multiple-2Dreturn-2Dvalues-2Dcross-2Dblock-2Dwith-2Dinvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=D88j-_n8-uStf4E54CzTZl3US3ECvrHpwOuofa5r36k&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,7 +2,7 @@<br>
 ; XFAIL: hexagon<br>
 declare { i64, double } @wild()<br>
<br>
-define void @foo(i64* %p, double* %q) nounwind {<br>
+define void @foo(i64* %p, double* %q) nounwind personality i32 (...)* @__gxx_personality_v0 {<br>
         %t = invoke { i64, double } @wild() to label %normal unwind label %handler<br>
<br>
 normal:<br>
@@ -13,7 +13,7 @@ normal:<br>
        ret void<br>
<br>
 handler:<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  catch i8* null<br>
        ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/Mips/eh.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Mips_eh.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=kGhadNIhVqM8DP-FK1kg1bbtwblvVdq-V5l_LxLJyOA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/eh.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Mips/eh.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Mips/eh.ll Wed Jun 17 15:52:32 2015<br>
@@ -4,7 +4,7 @@<br>
 @g1 = global double 0.000000e+00, align 8<br>
 @_ZTId = external constant i8*<br>
<br>
-define void @_Z1fd(double %i2) {<br>
+define void @_Z1fd(double %i2) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
 ; CHECK-EL:  addiu $sp, $sp<br>
 ; CHECK-EL:  .cfi_def_cfa_offset<br>
@@ -26,7 +26,7 @@ lpad:<br>
 ; CHECK-EL:  # %lpad<br>
 ; CHECK-EL:  bne $5<br>
<br>
-  %exn.val = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %exn.val = landingpad { i8*, i32 }<br>
            cleanup<br>
            catch i8* bitcast (i8** @_ZTId to i8*)<br>
   %exn = extractvalue { i8*, i32 } %exn.val, 0<br>
<br>
Modified: llvm/trunk/test/CodeGen/Mips/ehframe-indirect.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Mips_ehframe-2Dindirect.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=XJYbmGNbMWhCYZN7XgvU4_KVa8W4riU6CfrO8Dgk6U0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/ehframe-indirect.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Mips/ehframe-indirect.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Mips/ehframe-indirect.ll Wed Jun 17 15:52:32 2015<br>
@@ -7,7 +7,7 @@<br>
<br>
 @_ZTISt9exception = external constant i8*<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 ; ALL: .cfi_startproc<br>
 ; ALL: .cfi_personality 128, DW.ref.__gxx_personality_v0<br>
<br>
@@ -17,8 +17,7 @@ entry:<br>
 ; ALL: jalr<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8*<br>
-    bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
     catch i8* null<br>
     catch i8* bitcast (i8** @_ZTISt9exception to i8*)<br>
   ret i32 0<br>
<br>
Modified: llvm/trunk/test/CodeGen/Mips/insn-zero-size-bb.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Mips_insn-2Dzero-2Dsize-2Dbb.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=sap9KpkJwe3niZAHio2Wes2r1Ee8ah8qGHKrzuVZB2I&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/insn-zero-size-bb.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Mips/insn-zero-size-bb.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Mips/insn-zero-size-bb.ll Wed Jun 17 15:52:32 2015<br>
@@ -8,7 +8,7 @@<br>
 declare i32 @foo(...)<br>
 declare void @bar()<br>
<br>
-define void @main() {<br>
+define void @main() personality i8* bitcast (i32 (...)* @foo to i8*) {<br>
 entry:<br>
   invoke void @bar() #0<br>
           to label %unreachable unwind label %return<br>
@@ -19,7 +19,7 @@ unreachable:<br>
   unreachable<br>
<br>
 return:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @foo to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/Mips/mips16ex.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Mips_mips16ex.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=hN1oxHwwie8U749Q35RdHlSdI7bEgbm41pWmE89737I&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/mips16ex.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Mips/mips16ex.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Mips/mips16ex.ll Wed Jun 17 15:52:32 2015<br>
@@ -9,7 +9,7 @@<br>
 @_ZTIi = external constant i8*<br>
 @.str1 = private unnamed_addr constant [15 x i8] c"exception %i \0A\00", align 1<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %retval = alloca i32, align 4<br>
   %exn.slot = alloca i8*<br>
@@ -24,7 +24,7 @@ entry:<br>
           to label %unreachable unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   store i8* %2, i8** %exn.slot<br>
@@ -56,7 +56,7 @@ try.cont:<br>
   ret i32 0<br>
<br>
 lpad1:                                            ; preds = %catch<br>
-  %8 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %8 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %9 = extractvalue { i8*, i32 } %8, 0<br>
   store i8* %9, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-11-16-landingpad-split.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_PowerPC_2007-2D11-2D16-2Dlandingpad-2Dsplit.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=z-wzAvsdx_ZeTV96Nern-5Xem9vi4191lqvo4iGQMCM&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-11-16-landingpad-split.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/PowerPC/2007-11-16-landingpad-split.ll (original)<br>
+++ llvm/trunk/test/CodeGen/PowerPC/2007-11-16-landingpad-split.ll Wed Jun 17 15:52:32 2015<br>
@@ -19,7 +19,7 @@ target triple = "powerpc64-apple-darwin8<br>
 ; CHECK: .cfi_endproc<br>
<br>
<br>
-define void @Bork(i64 %range.0.0, i64 %range.0.1, i64 %size) {<br>
+define void @Bork(i64 %range.0.0, i64 %range.0.1, i64 %size) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        %effectiveRange = alloca %struct.Range, align 8         ; <%struct.Range*> [#uses=2]<br>
        %tmp4 = call i8* @llvm.stacksave()              ; <i8*> [#uses=1]<br>
@@ -33,7 +33,7 @@ bb30.preheader:               ; preds = %entry<br>
        br label %bb30<br>
<br>
 unwind:                ; preds = %cond_true, %entry<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  catch i8* null<br>
        call void @llvm.stackrestore(i8* %tmp4)<br>
         resume { i8*, i32 } %exn<br>
<br>
Modified: llvm/trunk/test/CodeGen/PowerPC/extra-toc-reg-deps.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_PowerPC_extra-2Dtoc-2Dreg-2Ddeps.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=d6JlFeEleeYNz6xajafP6IKxeJxOO7CpF6NGnAFMLns&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/extra-toc-reg-deps.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/PowerPC/extra-toc-reg-deps.ll (original)<br>
+++ llvm/trunk/test/CodeGen/PowerPC/extra-toc-reg-deps.ll Wed Jun 17 15:52:32 2015<br>
@@ -61,7 +61,7 @@ target triple = "powerpc64-bgq-linux"<br>
 @.str28 = external unnamed_addr constant [7 x i8], align 1<br>
 @_ZN4Foam4PoutE = external global %"class.Foam::prefixOSstream.27", align 8<br>
<br>
-define void @_ZN4Foam13checkTopologyERKNS_8polyMeshEbb(i1 zeroext %allTopology) #0 {<br>
+define void @_ZN4Foam13checkTopologyERKNS_8polyMeshEbb(i1 zeroext %allTopology) #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   br i1 undef, label %for.body, label %for.cond.cleanup<br>
<br>
@@ -124,7 +124,7 @@ _ZNK4Foam8ZoneMeshINS_9pointZoneENS_8pol<br>
           to label %_ZN4Foam4wordC2EPKcb.exit unwind label %lpad.i<br>
<br>
 lpad.i:                                           ; preds = %_ZNK4Foam8ZoneMeshINS_9pointZoneENS_8polyMeshEE15checkDefinitionEb.exit<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } %0<br>
<br>
@@ -157,7 +157,7 @@ for.cond.cleanup69:<br>
   br i1 undef, label %if.then121, label %if.else<br>
<br>
 lpad:                                             ; preds = %_ZN4Foam4wordC2EPKcb.exit<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br i1 undef, label %_ZNSsD2Ev.exit1578, label %if.then.i.i1570, !prof !1<br>
<br>
@@ -181,7 +181,7 @@ if.else:<br>
           to label %_ZN4Foam4wordC2EPKcb.exit1701 unwind label %lpad.i1689<br>
<br>
 lpad.i1689:                                       ; preds = %if.else<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -200,12 +200,12 @@ if.then178:<br>
   unreachable<br>
<br>
 lpad165:                                          ; preds = %_ZN4Foam4wordC2EPKcb.exit1701<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad175:                                          ; preds = %invoke.cont169<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           cleanup<br>
   invoke void @_ZN4Foam8pointSetD1Ev()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
@@ -215,7 +215,7 @@ if.end213:<br>
           to label %_ZN4Foam4wordC2EPKcb.exit1777 unwind label %lpad.i1765<br>
<br>
 lpad.i1765:                                       ; preds = %if.end213<br>
-  %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %5 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br i1 undef, label %eh.resume.i1776, label %if.then.i.i.i1767, !prof !1<br>
<br>
@@ -247,12 +247,12 @@ invoke.cont231:<br>
           to label %invoke.cont243 unwind label %lpad230<br>
<br>
 lpad217:                                          ; preds = %_ZN4Foam4wordC2EPKcb.exit1777<br>
-  %6 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %6 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %eh.resume<br>
<br>
 lpad230:                                          ; preds = %invoke.cont231, %_ZNSsD2Ev.exit1792<br>
-  %7 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %7 = landingpad { i8*, i32 }<br>
           cleanup<br>
   invoke void @_ZN4Foam7faceSetD1Ev()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
@@ -262,7 +262,7 @@ invoke.cont243:<br>
           to label %_ZN4Foam4wordC2EPKcb.exit1862 unwind label %lpad.i1850<br>
<br>
 lpad.i1850:                                       ; preds = %invoke.cont243<br>
-  %8 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %8 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -283,7 +283,7 @@ if.then292:<br>
   unreachable<br>
<br>
 lpad276:                                          ; preds = %_ZN4Foam4wordC2EPKcb.exit1862<br>
-  %9 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %9 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -314,7 +314,7 @@ invoke.cont676:<br>
           to label %if.end878 unwind label %lpad663<br>
<br>
 lpad663:                                          ; preds = %invoke.cont670, %if.end660, %invoke.cont668, %invoke.cont674, %invoke.cont676<br>
-  %10 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %10 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br i1 undef, label %_ZN4Foam4ListIiED2Ev.exit.i3073, label %delete.notnull.i.i3071<br>
<br>
@@ -342,7 +342,7 @@ if.else888:<br>
           to label %_ZN4Foam4wordC2EPKcb.exit3098 unwind label %lpad.i3086<br>
<br>
 lpad.i3086:                                       ; preds = %if.else888<br>
-  %11 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %11 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -371,7 +371,7 @@ invoke.cont906:<br>
   unreachable<br>
<br>
 lpad898:                                          ; preds = %_ZN4Foam4wordC2EPKcb.exit3098<br>
-  %12 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %12 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br i1 undef, label %_ZNSsD2Ev.exit3204, label %if.then.i.i3196, !prof !1<br>
<br>
@@ -382,7 +382,7 @@ _ZNSsD2Ev.exit3204:<br>
   unreachable<br>
<br>
 lpad905.loopexit.split-lp:                        ; preds = %call.i3116.noexc, %_ZNSsD2Ev.exit3113<br>
-  %lpad.loopexit.split-lp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %lpad.loopexit.split-lp = landingpad { i8*, i32 }<br>
           cleanup<br>
   invoke void @_ZN4Foam8pointSetD1Ev()<br>
           to label %eh.resume unwind label %terminate.lpad<br>
@@ -391,7 +391,7 @@ eh.resume:<br>
   resume { i8*, i32 } undef<br>
<br>
 terminate.lpad:                                   ; preds = %_ZN4Foam4ListIiED2Ev.exit.i3073, %lpad230, %lpad175, %lpad905.loopexit.split-lp<br>
-  %13 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %13 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/PowerPC/fast-isel-icmp-split.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_PowerPC_fast-2Disel-2Dicmp-2Dsplit.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=19mj--2OPTEAm1n4Bg9b_4UVzJVg_MgTu-n9c02Lasg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fast-isel-icmp-split.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/PowerPC/fast-isel-icmp-split.ll (original)<br>
+++ llvm/trunk/test/CodeGen/PowerPC/fast-isel-icmp-split.ll Wed Jun 17 15:52:32 2015<br>
@@ -9,7 +9,7 @@ target triple = "powerpc64-bgq-linux"<br>
 %"class.boost::serialization::extended_type_info.129.150" = type { i32 (...)**, i32, i8* }<br>
<br>
 ; Function Attrs: noinline<br>
-define void @_ZN5boost13serialization18extended_type_info4findEPKc() #0 align 2 {<br>
+define void @_ZN5boost13serialization18extended_type_info4findEPKc() #0 align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   br i1 undef, label %cond.true, label %cond.false<br>
<br>
@@ -42,7 +42,7 @@ if.then:<br>
   br label %cleanup<br>
<br>
 lpad:                                             ; preds = %cond.end<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %eh.resume<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/PowerPC/glob-comp-aa-crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_PowerPC_glob-2Dcomp-2Daa-2Dcrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=9LsQRs_tchAoaL38zosm0rqaLV8eHkMk6R4G--cz6vM&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/glob-comp-aa-crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/PowerPC/glob-comp-aa-crash.ll (original)<br>
+++ llvm/trunk/test/CodeGen/PowerPC/glob-comp-aa-crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -17,7 +17,7 @@ target triple = "powerpc64-bgq-linux"<br>
 declare i32 @__gxx_personality_v0(...)<br>
<br>
 ; Function Attrs: optsize<br>
-define void @_ZNSt3__117__assoc_sub_state4copyEv(%"class.std::__1::__assoc_sub_state"* %this) #0 align 2 {<br>
+define void @_ZNSt3__117__assoc_sub_state4copyEv(%"class.std::__1::__assoc_sub_state"* %this) #0 align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %__lk = alloca %"class.std::__1::unique_lock", align 8<br>
   %ref.tmp = alloca %"class.std::__exception_ptr::exception_ptr", align 8<br>
@@ -50,14 +50,14 @@ invoke.cont4:<br>
   unreachable<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   %3 = extractvalue { i8*, i32 } %1, 1<br>
   br label %ehcleanup<br>
<br>
 lpad3:                                            ; preds = %if.then<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %5 = extractvalue { i8*, i32 } %4, 0<br>
   %6 = extractvalue { i8*, i32 } %4, 1<br>
<br>
Modified: llvm/trunk/test/CodeGen/PowerPC/pr18663-2.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_PowerPC_pr18663-2D2.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=fdg9ZHP5bnoKeMOvuO0xE73dNL5KTYGSYHM2_A4_r3A&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/pr18663-2.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/PowerPC/pr18663-2.ll (original)<br>
+++ llvm/trunk/test/CodeGen/PowerPC/pr18663-2.ll Wed Jun 17 15:52:32 2015<br>
@@ -46,7 +46,7 @@ declare void @_ZN4Foam7IOerror4exitEi()<br>
 ; Function Attrs: inlinehint<br>
 declare void @_ZN4Foam8fileName12stripInvalidEv() #2 align 2<br>
<br>
-define void @_ZN4Foam3CSVINS_6VectorIdEEE4readEv() #0 align 2 {<br>
+define void @_ZN4Foam3CSVINS_6VectorIdEEE4readEv() #0 align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @_ZN4Foam6string6expandEb()<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -66,7 +66,7 @@ _ZN4Foam6stringC2ERKS0_.exit.i:<br>
           to label %invoke.cont2 unwind label %lpad.i<br>
<br>
 lpad.i:                                           ; preds = %_ZN4Foam6stringC2ERKS0_.exit.i<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup142<br>
<br>
@@ -90,17 +90,17 @@ memptr.end.i:<br>
           to label %if.end unwind label %lpad5<br>
<br>
 lpad:                                             ; preds = %if.then.i.i.i.i176, %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup142<br>
<br>
 lpad3:                                            ; preds = %invoke.cont2<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup142<br>
<br>
 lpad5:                                            ; preds = %memptr.end.i, %invoke.cont8, %if.then<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup142<br>
<br>
@@ -119,12 +119,12 @@ invoke.cont.i.i.i:<br>
   unreachable<br>
<br>
 lpad.i.i.i:                                       ; preds = %.noexc205<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup142<br>
<br>
 lpad19:                                           ; preds = %for.body<br>
-  %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %5 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup142<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/PowerPC/preincprep-invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_PowerPC_preincprep-2Dinvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=iTKOtUQ0VYhtQtpoZ0cbHt6Q13XD6P1bBugvfRraxVE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/preincprep-invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/PowerPC/preincprep-invoke.ll (original)<br>
+++ llvm/trunk/test/CodeGen/PowerPC/preincprep-invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -11,7 +11,7 @@ declare void @_ZN13CStdOutStream5FlushEv<br>
<br>
 declare i32 @__gxx_personality_v0(...)<br>
<br>
-define void @_Z11GetPasswordP13CStdOutStreamb() {<br>
+define void @_Z11GetPasswordP13CStdOutStreamb() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   br label %for.cond.i.i<br>
<br>
@@ -41,7 +41,7 @@ for.cond.i.i30:<br>
   br label %for.cond.i.i30<br>
<br>
 lpad:                                             ; preds = %invoke.cont4, %invoke.cont, %_ZN11CStringBaseIcEC2EPKc.exit.critedge<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } undef<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/SPARC/exception.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_SPARC_exception.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=p7IKUErw5uQfCNgHAoXwNzeVqiSuANnfTrNIjaTmOMA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/exception.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/SPARC/exception.ll (original)<br>
+++ llvm/trunk/test/CodeGen/SPARC/exception.ll Wed Jun 17 15:52:32 2015<br>
@@ -71,7 +71,7 @@<br>
 ; V9PIC: .L_ZTIi.DW.stub:<br>
 ; V9PIC-NEXT:   .xword _ZTIi<br>
<br>
-define i32 @main(i32 %argc, i8** nocapture readnone %argv) unnamed_addr #0 {<br>
+define i32 @main(i32 %argc, i8** nocapture readnone %argv) unnamed_addr #0 personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0 {<br>
 entry:<br>
   %0 = icmp eq i32 %argc, 2<br>
   %1 = tail call i8* @__cxa_allocate_exception(i32 4) #1<br>
@@ -102,7 +102,7 @@ entry:<br>
   ret i32 %6<br>
<br>
 "8":                                              ; preds = %"4", %"3"<br>
-  %exc = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0<br>
+  %exc = landingpad { i8*, i32 }<br>
           catch %struct.__fundamental_type_info_pseudo* @_ZTIi<br>
           catch %struct.__fundamental_type_info_pseudo* @_ZTIf<br>
   %exc_ptr12 = extractvalue { i8*, i32 } %exc, 0<br>
<br>
Modified: llvm/trunk/test/CodeGen/Thumb/sjljehprepare-lower-vector.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Thumb_sjljehprepare-2Dlower-2Dvector.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=iHmCjbjbiLlsMVhtF5a7BGw9F-PJs1LDqNyKb_u79xY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb/sjljehprepare-lower-vector.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Thumb/sjljehprepare-lower-vector.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Thumb/sjljehprepare-lower-vector.ll Wed Jun 17 15:52:32 2015<br>
@@ -4,7 +4,7 @@<br>
 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32-S32"<br>
 target triple = "thumbv7-apple-ios"<br>
<br>
-define i8* @foo(<4 x i32> %c) {<br>
+define i8* @foo(<4 x i32> %c) personality i8* bitcast (i32 (...)* @baz to i8*) {<br>
 entry:<br>
   invoke void @bar ()<br>
     to label %unreachable unwind label %handler<br>
@@ -13,7 +13,7 @@ unreachable:<br>
   unreachable<br>
<br>
 handler:<br>
-  %tmp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @baz to i8*)<br>
+  %tmp = landingpad { i8*, i32 }<br>
   cleanup<br>
   resume { i8*, i32 } undef<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/Thumb2/constant-islands.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_Thumb2_constant-2Dislands.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=RDD5OdXIl-moM8LHlmMOSZbJvv3aFUxAjbfLJZdbpcE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/constant-islands.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Thumb2/constant-islands.ll (original)<br>
+++ llvm/trunk/test/CodeGen/Thumb2/constant-islands.ll Wed Jun 17 15:52:32 2015<br>
@@ -76,7 +76,7 @@ declare %class.btCapsuleShape* @_ZN14btC<br>
<br>
 declare %class.btMatrix3x3* @_ZN11btTransform8getBasisEv(%class.btTransform*) nounwind inlinehint ssp align 2<br>
<br>
-define %class.RagDoll* @_ZN7RagDollC2EP15btDynamicsWorldRK9btVector3f(%class.RagDoll* %this, %class.btDynamicsWorld* %ownerWorld, %class.btVector3* %positionOffset, float %scale) unnamed_addr ssp align 2 {<br>
+define %class.RagDoll* @_ZN7RagDollC2EP15btDynamicsWorldRK9btVector3f(%class.RagDoll* %this, %class.btDynamicsWorld* %ownerWorld, %class.btVector3* %positionOffset, float %scale) unnamed_addr ssp align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   %retval = alloca %class.RagDoll*, align 4<br>
   %this.addr = alloca %class.RagDoll*, align 4<br>
@@ -635,7 +635,7 @@ for.inc:<br>
   br label %for.cond<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %67 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %67 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %68 = extractvalue { i8*, i32 } %67, 0<br>
   store i8* %68, i8** %exn.slot<br>
@@ -648,7 +648,7 @@ invoke.cont4:<br>
   br label %eh.resume<br>
<br>
 lpad8:                                            ; preds = %invoke.cont<br>
-  %70 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %70 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %71 = extractvalue { i8*, i32 } %70, 0<br>
   store i8* %71, i8** %exn.slot<br>
@@ -661,7 +661,7 @@ invoke.cont11:<br>
   br label %eh.resume<br>
<br>
 lpad17:                                           ; preds = %invoke.cont9<br>
-  %73 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %73 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %74 = extractvalue { i8*, i32 } %73, 0<br>
   store i8* %74, i8** %exn.slot<br>
@@ -674,7 +674,7 @@ invoke.cont20:<br>
   br label %eh.resume<br>
<br>
 lpad26:                                           ; preds = %invoke.cont18<br>
-  %76 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %76 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %77 = extractvalue { i8*, i32 } %76, 0<br>
   store i8* %77, i8** %exn.slot<br>
@@ -687,7 +687,7 @@ invoke.cont29:<br>
   br label %eh.resume<br>
<br>
 lpad35:                                           ; preds = %invoke.cont27<br>
-  %79 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %79 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %80 = extractvalue { i8*, i32 } %79, 0<br>
   store i8* %80, i8** %exn.slot<br>
@@ -700,7 +700,7 @@ invoke.cont38:<br>
   br label %eh.resume<br>
<br>
 lpad44:                                           ; preds = %invoke.cont36<br>
-  %82 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %82 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %83 = extractvalue { i8*, i32 } %82, 0<br>
   store i8* %83, i8** %exn.slot<br>
@@ -713,7 +713,7 @@ invoke.cont47:<br>
   br label %eh.resume<br>
<br>
 lpad53:                                           ; preds = %invoke.cont45<br>
-  %85 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %85 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %86 = extractvalue { i8*, i32 } %85, 0<br>
   store i8* %86, i8** %exn.slot<br>
@@ -726,7 +726,7 @@ invoke.cont56:<br>
   br label %eh.resume<br>
<br>
 lpad62:                                           ; preds = %invoke.cont54<br>
-  %88 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %88 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %89 = extractvalue { i8*, i32 } %88, 0<br>
   store i8* %89, i8** %exn.slot<br>
@@ -739,7 +739,7 @@ invoke.cont65:<br>
   br label %eh.resume<br>
<br>
 lpad71:                                           ; preds = %invoke.cont63<br>
-  %91 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %91 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %92 = extractvalue { i8*, i32 } %91, 0<br>
   store i8* %92, i8** %exn.slot<br>
@@ -752,7 +752,7 @@ invoke.cont74:<br>
   br label %eh.resume<br>
<br>
 lpad80:                                           ; preds = %invoke.cont72<br>
-  %94 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %94 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %95 = extractvalue { i8*, i32 } %94, 0<br>
   store i8* %95, i8** %exn.slot<br>
@@ -765,7 +765,7 @@ invoke.cont83:<br>
   br label %eh.resume<br>
<br>
 lpad89:                                           ; preds = %invoke.cont81<br>
-  %97 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %97 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %98 = extractvalue { i8*, i32 } %97, 0<br>
   store i8* %98, i8** %exn.slot<br>
@@ -1264,7 +1264,7 @@ invoke.cont517:<br>
   ret %class.RagDoll* %200<br>
<br>
 lpad258:                                          ; preds = %for.end<br>
-  %201 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %201 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %202 = extractvalue { i8*, i32 } %201, 0<br>
   store i8* %202, i8** %exn.slot<br>
@@ -1274,7 +1274,7 @@ lpad258:<br>
   br label %eh.resume<br>
<br>
 lpad284:                                          ; preds = %invoke.cont259<br>
-  %204 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %204 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %205 = extractvalue { i8*, i32 } %204, 0<br>
   store i8* %205, i8** %exn.slot<br>
@@ -1284,7 +1284,7 @@ lpad284:<br>
   br label %eh.resume<br>
<br>
 lpad313:                                          ; preds = %invoke.cont285<br>
-  %207 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %207 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %208 = extractvalue { i8*, i32 } %207, 0<br>
   store i8* %208, i8** %exn.slot<br>
@@ -1294,7 +1294,7 @@ lpad313:<br>
   br label %eh.resume<br>
<br>
 lpad342:                                          ; preds = %invoke.cont314<br>
-  %210 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %210 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %211 = extractvalue { i8*, i32 } %210, 0<br>
   store i8* %211, i8** %exn.slot<br>
@@ -1304,7 +1304,7 @@ lpad342:<br>
   br label %eh.resume<br>
<br>
 lpad371:                                          ; preds = %invoke.cont343<br>
-  %213 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %213 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %214 = extractvalue { i8*, i32 } %213, 0<br>
   store i8* %214, i8** %exn.slot<br>
@@ -1314,7 +1314,7 @@ lpad371:<br>
   br label %eh.resume<br>
<br>
 lpad400:                                          ; preds = %invoke.cont372<br>
-  %216 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %216 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %217 = extractvalue { i8*, i32 } %216, 0<br>
   store i8* %217, i8** %exn.slot<br>
@@ -1324,7 +1324,7 @@ lpad400:<br>
   br label %eh.resume<br>
<br>
 lpad429:                                          ; preds = %invoke.cont401<br>
-  %219 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %219 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %220 = extractvalue { i8*, i32 } %219, 0<br>
   store i8* %220, i8** %exn.slot<br>
@@ -1334,7 +1334,7 @@ lpad429:<br>
   br label %eh.resume<br>
<br>
 lpad458:                                          ; preds = %invoke.cont430<br>
-  %222 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %222 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %223 = extractvalue { i8*, i32 } %222, 0<br>
   store i8* %223, i8** %exn.slot<br>
@@ -1344,7 +1344,7 @@ lpad458:<br>
   br label %eh.resume<br>
<br>
 lpad487:                                          ; preds = %invoke.cont459<br>
-  %225 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %225 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %226 = extractvalue { i8*, i32 } %225, 0<br>
   store i8* %226, i8** %exn.slot<br>
@@ -1354,7 +1354,7 @@ lpad487:<br>
   br label %eh.resume<br>
<br>
 lpad516:                                          ; preds = %invoke.cont488<br>
-  %228 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %228 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %229 = extractvalue { i8*, i32 } %228, 0<br>
   store i8* %229, i8** %exn.slot<br>
@@ -1371,7 +1371,7 @@ eh.resume:<br>
   resume { i8*, i32 } %lpad.val526<br>
<br>
 terminate.lpad:                                   ; preds = %lpad89, %lpad80, %lpad71, %lpad62, %lpad53, %lpad44, %lpad35, %lpad26, %lpad17, %lpad8, %lpad<br>
-  %231 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %231 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   call void @_ZSt9terminatev() noreturn nounwind<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-alloca-sink.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dalloca-2Dsink.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=4Jvnq_6Q5GgeTdWY9kCQUPRoaPoEomVTK4VPQMD3b64&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-alloca-sink.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-alloca-sink.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-alloca-sink.ll Wed Jun 17 15:52:32 2015<br>
@@ -51,7 +51,7 @@ $"\01??_R0H@8" = comdat any<br>
 @llvm.eh.handlertype.H.0 = private unnamed_addr constant %eh.CatchHandlerType { i32 0, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*) }, section "llvm.metadata"<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @sink_alloca_to_catch() #0 {<br>
+define void @sink_alloca_to_catch() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %0 = alloca i32<br>
   %only_used_in_catch = alloca i32, align 4<br>
@@ -59,7 +59,7 @@ entry:<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
   %2 = extractvalue { i8*, i32 } %1, 1<br>
   %3 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.H.0 to i8*)) #3<br>
@@ -86,7 +86,7 @@ eh.resume:<br>
 declare void @use_catch_var(i32*) #1<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @dont_sink_alloca_to_catch(i32 %n) #0 {<br>
+define void @dont_sink_alloca_to_catch(i32 %n) #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %0 = alloca i32<br>
   %n.addr = alloca i32, align 4<br>
@@ -109,7 +109,7 @@ invoke.cont:<br>
   br label %try.cont<br>
<br>
 lpad:                                             ; preds = %while.body<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.H.0 to i8*)<br>
   %3 = extractvalue { i8*, i32 } %2, 0<br>
   store i8* %3, i8** %exn.slot<br>
@@ -141,7 +141,7 @@ try.cont:<br>
   br label %while.cond<br>
<br>
 lpad1:                                            ; preds = %catch<br>
-  %8 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %8 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %9 = extractvalue { i8*, i32 } %8, 0<br>
   store i8* %9, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-catch-all.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dcatch-2Dall.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=YMp01ikJq36RTg5AxsZoKQYMRnRAnOrhDd06M7D8wn8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-catch-all.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-catch-all.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-catch-all.ll Wed Jun 17 15:52:32 2015<br>
@@ -25,7 +25,7 @@ target triple = "x86_64-pc-windows-msvc"<br>
 ; CHECK:           to label %invoke.cont unwind label %[[LPAD_LABEL:lpad[0-9]*]]<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @_Z4testv() #0 {<br>
+define void @_Z4testv() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %exn.slot = alloca i8*<br>
   %ehselector.slot = alloca i32<br>
@@ -36,13 +36,13 @@ invoke.cont:<br>
   br label %try.cont<br>
<br>
 ; CHECK: [[LPAD_LABEL]]:{{[ ]+}}; preds = %entry<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           catch i8* null<br>
 ; CHECK-NEXT:   [[RECOVER:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* null, i32 -1, i8* (i8*, i8*)* @_Z4testv.catch)<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER]], [label %try.cont]<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %tmp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %tmp = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %tmp1 = extractvalue { i8*, i32 } %tmp, 0<br>
   store i8* %tmp1, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-catch-and-throw.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dcatch-2Dand-2Dthrow.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=IuId1FLPTD_gaG9hUDz_oS0wOpcNz2giflgmfIqulXU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-catch-and-throw.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-catch-and-throw.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-catch-and-throw.ll Wed Jun 17 15:52:32 2015<br>
@@ -50,7 +50,7 @@ $_TI1H = comdat any<br>
 ; CHECK: }<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @"\01?test@@YAXXZ"() #0 {<br>
+define void @"\01?test@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %o = alloca %class.Obj, align 1<br>
   %tmp = alloca i32, align 4<br>
@@ -62,7 +62,7 @@ entry:<br>
           to label %unreachable unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   store i8* %2, i8** %exn.slot<br>
@@ -78,7 +78,7 @@ catch:<br>
           to label %unreachable unwind label %lpad1<br>
<br>
 lpad1:                                            ; preds = %catch<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %5 = extractvalue { i8*, i32 } %4, 0<br>
   store i8* %5, i8** %exn.slot<br>
@@ -113,7 +113,7 @@ unreachable:<br>
 ; CHECK: [[SPLIT_LABEL]]<br>
 ;<br>
 ; CHECK: [[LPAD_LABEL]]<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK:           cleanup<br>
 ; CHECK:   unreachable<br>
 ; CHECK: }<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-catch-scalar.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dcatch-2Dscalar.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=1r7BqT66r4W4F0q5eG_qmbWiHzsntljUo_0jT9zc0yo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-catch-scalar.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-catch-scalar.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-catch-scalar.ll Wed Jun 17 15:52:32 2015<br>
@@ -29,7 +29,7 @@ target triple = "x86_64-pc-windows-msvc"<br>
 ; CHECK:           to label %invoke.cont unwind label %[[LPAD_LABEL:lpad[0-9]*]]<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @_Z4testv() #0 {<br>
+define void @_Z4testv() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %exn.slot = alloca i8*<br>
   %ehselector.slot = alloca i32<br>
@@ -41,13 +41,13 @@ invoke.cont:<br>
   br label %try.cont<br>
<br>
 ; CHECK: [[LPAD_LABEL]]:{{[ ]+}}; preds = %entry<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT:   [[RECOVER:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (i8** @_ZTIi to i8*), i32 0, i8* (i8*, i8*)* @_Z4testv.catch)<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER]], [label %try.cont]<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %tmp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %tmp = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %tmp1 = extractvalue { i8*, i32 } %tmp, 0<br>
   store i8* %tmp1, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-catch-unwind.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dcatch-2Dunwind.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=h6GXjmKDWVfA9GKr_yU6baj52_MLn-vGckYMmoAHnpo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-catch-unwind.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-catch-unwind.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-catch-unwind.ll Wed Jun 17 15:52:32 2015<br>
@@ -31,7 +31,7 @@ $"\01??_R0H@8" = comdat any<br>
 @"\01??_R0H@8" = linkonce_odr global %rtti.TypeDescriptor2 { i8** @"\01??_7type_info@@6B@", i8* null, [3 x i8] c".H\00" }, comdat<br>
<br>
<br>
-; CHECK-LABEL: define void @"\01?test@@YAXXZ"() #0 {<br>
+; CHECK-LABEL: define void @"\01?test@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 ; CHECK: entry:<br>
 ; CHECK:   [[OBJ_PTR:\%.+]] = alloca %class.SomeClass<br>
 ; CHECK:   [[TMP0:\%.+]] = alloca i32, align 4<br>
@@ -41,7 +41,7 @@ $"\01??_R0H@8" = comdat any<br>
 ; CHECK:           to label %invoke.cont unwind label %[[LPAD_LABEL:lpad[0-9]*]]<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @"\01?test@@YAXXZ"() #0 {<br>
+define void @"\01?test@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %obj = alloca %class.SomeClass, align 1<br>
   %0 = alloca i32, align 4<br>
@@ -66,27 +66,27 @@ invoke.cont2:<br>
           to label %try.cont unwind label %lpad3<br>
<br>
 ; CHECK: [[LPAD_LABEL]]:{{[ ]+}}; preds = %entry<br>
-; CHECK:   [[LPAD_VAL:\%.+]] = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   [[LPAD_VAL:\%.+]] = landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
 ; CHECK-NEXT:   [[RECOVER:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*), i32 0, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch")<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER]], [label %try.cont15]<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
   %3 = extractvalue { i8*, i32 } %2, 0<br>
   %4 = extractvalue { i8*, i32 } %2, 1<br>
   br label %catch.dispatch7<br>
<br>
 ; CHECK: [[LPAD1_LABEL]]:{{[ ]+}}; preds = %invoke.cont<br>
-; CHECK:   [[LPAD1_VAL:\%.+]] = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   [[LPAD1_VAL:\%.+]] = landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           cleanup<br>
 ; CHECK-NEXT:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
 ; CHECK-NEXT:   [[RECOVER1:\%.+]] = call i8* (...) @llvm.eh.actions(i32 0, void (i8*, i8*)* @"\01?test@@YAXXZ.cleanup", i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*), i32 0, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch")<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER1]], [label %try.cont15]<br>
<br>
 lpad1:                                            ; preds = %invoke.cont<br>
-  %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %5 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
   %6 = extractvalue { i8*, i32 } %5, 0<br>
@@ -94,14 +94,14 @@ lpad1:<br>
   br label %ehcleanup<br>
<br>
 ; CHECK: [[LPAD3_LABEL]]:{{[ ]+}}; preds = %invoke.cont2<br>
-; CHECK:   [[LPAD3_VAL:\%.+]] = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   [[LPAD3_VAL:\%.+]] = landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           cleanup<br>
 ; CHECK-NEXT:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
 ; CHECK-NEXT:   [[RECOVER3:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*), i32 2, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch.1", i32 0, void (i8*, i8*)* @"\01?test@@YAXXZ.cleanup")<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER3]], [label %try.cont, label %try.cont15]<br>
<br>
 lpad3:                                            ; preds = %invoke.cont2<br>
-  %8 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %8 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
   %9 = extractvalue { i8*, i32 } %8, 0<br>
@@ -128,7 +128,7 @@ try.cont:<br>
<br>
 ; CHECK-NOT: lpad5:<br>
 lpad5:                                            ; preds = %catch<br>
-  %13 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %13 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
   %14 = extractvalue { i8*, i32 } %13, 0<br>
@@ -202,7 +202,7 @@ eh.resume:<br>
 ; CHECK:   ret i8* blockaddress(@"\01?test@@YAXXZ", %try.cont)<br>
 ;<br>
 ; CHECK: [[LPAD5_LABEL]]:{{[ ]+}}; preds = %entry<br>
-; CHECK:   [[LPAD5_VAL:\%.+]] = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   [[LPAD5_VAL:\%.+]] = landingpad { i8*, i32 }<br>
 ; CHECK:           cleanup<br>
 ; CHECK:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
 ; CHECK: }<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-cleanup-invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dcleanup-2Dinvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=3K83HNPvZDZuYTGx7IreCpCgXPOZIKxCTb-6vUz989Y&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-cleanup-invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-cleanup-invoke.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-cleanup-invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -26,7 +26,7 @@ $"\01??_R0H@8" = comdat any<br>
 @"\01??_R0H@8" = linkonce_odr global %rtti.TypeDescriptor2 { i8** @"\01??_7type_info@@6B@", i8* null, [3 x i8] c".H\00" }, comdat<br>
 @llvm.eh.handlertype.H.0 = private unnamed_addr constant %eh.CatchHandlerType { i32 0, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*) }, section "llvm.metadata"<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %o = alloca %struct.HasDtor, align 1<br>
   invoke void @may_throw()<br>
@@ -37,14 +37,14 @@ invoke.cont2:<br>
   br label %try.cont<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = extractvalue { i8*, i32 } %0, 1<br>
   br label %catch.dispatch<br>
<br>
 lpad1:                                            ; preds = %invoke.cont<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
   %4 = extractvalue { i8*, i32 } %3, 0<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-demote-liveout.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Ddemote-2Dliveout.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=cpU8T_ZWMXDid_FUFaQ_mkgPw7ZdI3INEYGpE4ATVUc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-demote-liveout.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-demote-liveout.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-demote-liveout.ll Wed Jun 17 15:52:32 2015<br>
@@ -19,14 +19,14 @@ declare i32 @llvm.eh.typeid.for(i8*)<br>
<br>
 @<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__typeinfo.int&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Qw1SelVfFnBmCo5QkUakAW8UnpVTs0LvSln50u1G428&e=" rel="noreferrer" target="_blank">typeinfo.int</a> = external global i32<br>
<br>
-define i32 @liveout_catch(i32 %p) {<br>
+define i32 @liveout_catch(i32 %p) personality i32 (...)* @__CxxFrameHandler3 {<br>
 entry:<br>
   %val.entry = add i32 %p, 1<br>
   invoke void @might_throw()<br>
       to label %ret unwind label %lpad<br>
<br>
 lpad:<br>
-  %ehvals = landingpad { i8*, i32 } personality i32 (...)* @__CxxFrameHandler3<br>
+  %ehvals = landingpad { i8*, i32 }<br>
       cleanup<br>
       catch i32* @<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__typeinfo.int&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Qw1SelVfFnBmCo5QkUakAW8UnpVTs0LvSln50u1G428&e=" rel="noreferrer" target="_blank">typeinfo.int</a><br>
   %ehptr = extractvalue { i8*, i32 } %ehvals, 0<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-frame-vars.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dframe-2Dvars.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=H8-OLvQkgiOROcLo_A1hMOlsK79b2OHucuhirmpGG3Q&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-frame-vars.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-frame-vars.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-frame-vars.ll Wed Jun 17 15:52:32 2015<br>
@@ -62,7 +62,7 @@ $"\01??_R0H@8" = comdat any<br>
 ; CHECK:   br label %for.cond<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @"\01?test@@YAXXZ"() #0 {<br>
+define void @"\01?test@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %NumExceptions = alloca i32, align 4<br>
   %ExceptionVal = alloca [10 x i32], align 16<br>
@@ -99,13 +99,13 @@ invoke.cont:<br>
   br label %try.cont<br>
<br>
 ; CHECK: [[LPAD_LABEL]]:{{[ ]+}}; preds = %for.body<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
 ; CHECK-NEXT:   [[RECOVER:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*), i32 0, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch")<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER]], [label %try.cont]<br>
<br>
 lpad:                                             ; preds = %for.body<br>
-  %tmp4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %tmp4 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
   %tmp5 = extractvalue { i8*, i32 } %tmp4, 0<br>
   store i8* %tmp5, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-inalloca.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dinalloca.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=mH9LbFR9KoXf5G0pQkiX5t5eqIG7z7d_Fm3ipNGHzSA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-inalloca.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-inalloca.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-inalloca.ll Wed Jun 17 15:52:32 2015<br>
@@ -45,7 +45,7 @@ $"\01??_R0H@8" = comdat any<br>
 ; CHECK:   invoke void @"\01?may_throw@@YAXXZ"()<br>
 ; CHECK:           to label %invoke.cont unwind label %[[LPAD_LABEL:lpad[0-9]*]]<br>
<br>
-define i32 @"\01?test@@YAHUA@@@Z"(<{ %struct.A }>* inalloca) #0 {<br>
+define i32 @"\01?test@@YAHUA@@@Z"(<{ %struct.A }>* inalloca) #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %retval = alloca i32, align 4<br>
   %exn.slot = alloca i8*<br>
@@ -59,14 +59,14 @@ invoke.cont:<br>
   br label %try.cont<br>
<br>
 ; CHECK: [[LPAD_LABEL]]:{{[ ]+}}; preds = %entry<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           cleanup<br>
 ; CHECK-NEXT:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
 ; CHECK-NEXT:   [[RECOVER:\%recover.*]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*), i32 0, i8* (i8*, i8*)* @"\01?test@@YAHUA@@@Z.catch", i32 0, void (i8*, i8*)* @"\01?test@@YAHUA@@@Z.cleanup")<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER]], [label %cleanup]<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-min-unwind.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dmin-2Dunwind.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=AeKKB2hhijXHFilsaGlBsx0xkoJ1e1zDqJHn7gi5_EM&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-min-unwind.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-min-unwind.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-min-unwind.ll Wed Jun 17 15:52:32 2015<br>
@@ -30,7 +30,7 @@ target triple = "x86_64-pc-windows-msvc"<br>
 ; CHECK:           to label %invoke.cont unwind label %[[LPAD_LABEL:lpad[0-9]*]]<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @_Z4testv() #0 {<br>
+define void @_Z4testv() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %obj = alloca %class.SomeClass, align 4<br>
   %exn.slot = alloca i8*<br>
@@ -44,13 +44,13 @@ invoke.cont:<br>
   ret void<br>
<br>
 ; CHECK: [[LPAD_LABEL]]:{{[ ]+}}; preds = %entry<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           cleanup<br>
 ; CHECK-NEXT:   [[RECOVER:\%.+]] = call i8* (...) @llvm.eh.actions(i32 0, void (i8*, i8*)* @_Z4testv.cleanup)<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER]], []<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %tmp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %tmp = landingpad { i8*, i32 }<br>
           cleanup<br>
   %tmp1 = extractvalue { i8*, i32 } %tmp, 0<br>
   store i8* %tmp1, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-mixed-catch-and-cleanup.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dmixed-2Dcatch-2Dand-2Dcleanup.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=IFPJwB38MvD0oQP8Xz6YXztY8Zwx_ZJH4eCHj_YPoYQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-mixed-catch-and-cleanup.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-mixed-catch-and-cleanup.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-mixed-catch-and-cleanup.ll Wed Jun 17 15:52:32 2015<br>
@@ -35,7 +35,7 @@ target triple = "x86_64-pc-windows-msvc"<br>
 ; CHECK: }<br>
<br>
 ; Function Attrs: nounwind uwtable<br>
-define void @"\01?test@@YAXXZ"() #0 {<br>
+define void @"\01?test@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %o = alloca %class.Obj, align 1<br>
   %exn.slot = alloca i8*<br>
@@ -48,7 +48,7 @@ invoke.cont:<br>
   br label %try.cont<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   store i8* %1, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-multi-catch.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dmulti-2Dcatch.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=eq_krfhIh3t-mUAeO2iB3J0VP04adwUjHSeLgcGRwUY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-multi-catch.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-multi-catch.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-multi-catch.ll Wed Jun 17 15:52:32 2015<br>
@@ -45,7 +45,7 @@ $"\01??_R0?AVSomeClass@@@8" = comdat any<br>
 @"llvm.eh.handlermapentry.reference.?AVSomeClass@@" = private unnamed_addr constant %eh.HandlerMapEntry { i32 8, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%rtti.TypeDescriptor15* @"\01??_R0?AVSomeClass@@@8" to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, section "llvm.metadata"<br>
<br>
<br>
-; CHECK: define void @"\01?test@@YAXXZ"() #0 {<br>
+; CHECK: define void @"\01?test@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 ; CHECK: entry:<br>
 ; CHECK:   [[OBJ_PTR:\%.+]] = alloca %class.SomeClass*, align 8<br>
 ; CHECK:   [[LL_PTR:\%.+]] = alloca i64, align 8<br>
@@ -55,7 +55,7 @@ $"\01??_R0?AVSomeClass@@@8" = comdat any<br>
 ; CHECK:           to label %invoke.cont unwind label %[[LPAD_LABEL:lpad[0-9]*]]<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @"\01?test@@YAXXZ"() #0 {<br>
+define void @"\01?test@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %exn.slot = alloca i8*<br>
   %ehselector.slot = alloca i32<br>
@@ -69,7 +69,7 @@ invoke.cont:<br>
   br label %try.cont<br>
<br>
 ; CHECK: [[LPAD_LABEL]]:{{[ ]+}}; preds = %entry<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           catch %eh.HandlerMapEntry* @llvm.eh.handlermapentry.H<br>
 ; CHECK-NEXT:           catch %eh.HandlerMapEntry* @llvm.eh.handlermapentry._J<br>
 ; CHECK-NEXT:           catch %eh.HandlerMapEntry* @"llvm.eh.handlermapentry.reference.?AVSomeClass@@"<br>
@@ -82,7 +82,7 @@ invoke.cont:<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER]], [label %ret]<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch %eh.HandlerMapEntry* @llvm.eh.handlermapentry.H<br>
           catch %eh.HandlerMapEntry* @llvm.eh.handlermapentry._J<br>
           catch %eh.HandlerMapEntry* @"llvm.eh.handlermapentry.reference.?AVSomeClass@@"<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-nested-1.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dnested-2D1.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=TOdY_Yp1hSAk7RPFQAHVoubcorPrlqpS82aN6kkvS64&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-nested-1.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-nested-1.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-nested-1.ll Wed Jun 17 15:52:32 2015<br>
@@ -39,7 +39,7 @@ $"\01??_R0H@8" = comdat any<br>
 ; CHECK:           to label %invoke.cont unwind label %[[LPAD_LABEL:lpad[0-9]*]]<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @"\01?test@@YAXXZ"() #0 {<br>
+define void @"\01?test@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %exn.slot = alloca i8*<br>
   %ehselector.slot = alloca i32<br>
@@ -52,14 +52,14 @@ invoke.cont:<br>
   br label %try.cont<br>
<br>
 ; CHECK: [[LPAD_LABEL]]:<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
 ; CHECK:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)<br>
 ; CHECK:   [[RECOVER:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*), i32 1, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch.1", i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*), i32 0, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch")<br>
 ; CHECK:   indirectbr i8* [[RECOVER]], [label %try.cont, label %try.cont10]<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
@@ -94,7 +94,7 @@ try.cont:<br>
<br>
 ; CHECK-NOT: lpad1:<br>
 lpad1:                                            ; preds = %catch<br>
-  %6 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %6 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)<br>
   %7 = extractvalue { i8*, i32 } %6, 0<br>
   store i8* %7, i8** %exn.slot<br>
@@ -155,7 +155,7 @@ eh.resume:<br>
 ; CHECK:   ret i8* blockaddress(@"\01?test@@YAXXZ", %try.cont)<br>
 ;<br>
 ; CHECK: [[LPAD1_LABEL]]:{{[ ]+}}; preds = %entry<br>
-; CHECK:   [[LPAD1_VAL:\%.+]] = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   [[LPAD1_VAL:\%.+]] = landingpad { i8*, i32 }<br>
 ; CHECK:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)<br>
 ; CHECK:   [[RECOVER1:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*), i32 0, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch")<br>
 ; CHECK:   indirectbr i8* [[RECOVER1]], []<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-nested-2.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dnested-2D2.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=lFkKvp2k5isduWAgVXKnSym8GKVb-vZSkHc4sRcLyHA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-nested-2.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-nested-2.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-nested-2.ll Wed Jun 17 15:52:32 2015<br>
@@ -49,7 +49,7 @@ target triple = "x86_64-pc-windows-msvc"<br>
 ; CHECK:           to label %invoke.cont unwind label %[[LPAD_LABEL:lpad[0-9]*]]<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @_Z4testv() #0 {<br>
+define void @_Z4testv() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %outer = alloca %class.Outer, align 1<br>
   %exn.slot = alloca i8*<br>
@@ -91,13 +91,13 @@ invoke.cont5:<br>
   br label %try.cont<br>
<br>
 ; CHECK: [[LPAD_LABEL]]:<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           catch i8* bitcast (i8** @_ZTIf to i8*)<br>
 ; CHECK-NEXT:   [[RECOVER:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (i8** @_ZTIf to i8*), i32 0, i8* (i8*, i8*)* @_Z4testv.catch)<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER]], [label %try.cont19]<br>
<br>
 lpad:                                             ; preds = %try.cont, %entry<br>
-  %tmp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %tmp = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIf to i8*)<br>
   %tmp1 = extractvalue { i8*, i32 } %tmp, 0<br>
   store i8* %tmp1, i8** %exn.slot<br>
@@ -106,7 +106,7 @@ lpad:<br>
   br label %catch.dispatch11<br>
<br>
 ; CHECK: [[LPAD1_LABEL]]:<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           cleanup<br>
 ; CHECK-NEXT:           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT:           catch i8* bitcast (i8** @_ZTIf to i8*)<br>
@@ -117,7 +117,7 @@ lpad:<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER1]], [label %try.cont, label %try.cont19]<br>
<br>
 lpad1:                                            ; preds = %invoke.cont4, %invoke.cont<br>
-  %tmp3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %tmp3 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
           catch i8* bitcast (i8** @_ZTIf to i8*)<br>
@@ -128,7 +128,7 @@ lpad1:<br>
   br label %catch.dispatch<br>
<br>
 ; CHECK: [[LPAD3_LABEL]]:<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           cleanup<br>
 ; CHECK-NEXT:           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT:           catch i8* bitcast (i8** @_ZTIf to i8*)<br>
@@ -140,7 +140,7 @@ lpad1:<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER3]], [label %try.cont, label %try.cont19]<br>
<br>
 lpad3:                                            ; preds = %invoke.cont2<br>
-  %tmp6 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %tmp6 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
           catch i8* bitcast (i8** @_ZTIf to i8*)<br>
@@ -189,7 +189,7 @@ invoke.cont9:<br>
 ; CHECK-NOT: lpad7:<br>
<br>
 lpad7:                                            ; preds = %catch<br>
-  %tmp14 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %tmp14 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast (i8** @_ZTIf to i8*)<br>
   %tmp15 = extractvalue { i8*, i32 } %tmp14, 0<br>
@@ -263,7 +263,7 @@ eh.resume:<br>
 ; CHECK:   ret i8* blockaddress(@_Z4testv, %try.cont)<br>
 ;<br>
 ; CHECK: [[LPAD7_LABEL]]:{{[ ]+}}; preds = %entry<br>
-; CHECK:   [[LPAD7_VAL:\%.+]] = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   [[LPAD7_VAL:\%.+]] = landingpad { i8*, i32 }<br>
 ; (FIXME) The nested handler body isn't being populated yet.<br>
 ; CHECK: }<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-nested-3.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dnested-2D3.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=xnvYFlnSbgh-zVcdLq57EUwAZcPF8RevV99sgh2BZaQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-nested-3.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-nested-3.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-nested-3.ll Wed Jun 17 15:52:32 2015<br>
@@ -46,7 +46,7 @@ $"\01??_R0H@8" = comdat any<br>
 ; CHECK:           to label %invoke.cont unwind label %[[LPAD_LABEL:lpad[0-9]*]]<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @"\01?test@@YAXXZ"() #0 {<br>
+define void @"\01?test@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %exn.slot = alloca i8*<br>
   %ehselector.slot = alloca i32<br>
@@ -60,14 +60,14 @@ invoke.cont:<br>
   br label %try.cont10<br>
<br>
 ; CHECK: [[LPAD_LABEL]]:<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
 ; CHECK:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)<br>
 ; CHECK:   [[RECOVER:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*), i32 1, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch.2", i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*), i32 2, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch.1")<br>
 ; CHECK:   indirectbr i8* [[RECOVER]], [label %try.cont10, label %try.cont19]<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
@@ -97,7 +97,7 @@ invoke.cont2:<br>
<br>
 ; CHECK-NOT: lpad1:<br>
 lpad1:                                            ; preds = %catch<br>
-  %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %5 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)<br>
   %6 = extractvalue { i8*, i32 } %5, 0<br>
@@ -139,7 +139,7 @@ try.cont10:<br>
<br>
 ; CHECK-NOT: lpad8:<br>
 lpad8:                                            ; preds = %try.cont<br>
-  %12 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %12 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)<br>
   %13 = extractvalue { i8*, i32 } %12, 0<br>
   store i8* %13, i8** %exn.slot<br>
@@ -212,7 +212,7 @@ eh.resume:<br>
 ; CHECK:           to label %invoke.cont9 unwind label %[[LPAD8_LABEL:lpad[0-9]*]]<br>
 ;<br>
 ; CHECK: [[LPAD1_LABEL]]:{{[ ]+}}; preds = %entry<br>
-; CHECK:   [[LPAD1_VAL:\%.+]] = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   [[LPAD1_VAL:\%.+]] = landingpad { i8*, i32 }<br>
 ; CHECK:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
 ; CHECK:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)<br>
 ; CHECK:   [[RECOVER1:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*), i32 0, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch", i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*), i32 2, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch.1")<br>
@@ -222,7 +222,7 @@ eh.resume:<br>
 ; CHECK:   ret i8* blockaddress(@"\01?test@@YAXXZ", %try.cont10)<br>
 ;<br>
 ; CHECK: [[LPAD8_LABEL]]:{{[ ]+}}; preds = %invoke.cont2<br>
-; CHECK:   [[LPAD8_VAL:\%.+]] = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   [[LPAD8_VAL:\%.+]] = landingpad { i8*, i32 }<br>
 ; CHECK:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)<br>
 ; CHECK:   [[RECOVER2:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*), i32 2, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch.1")<br>
 ; CHECK:   indirectbr i8* [[RECOVER2]], []<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-nested-rethrow.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dnested-2Drethrow.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=M071Q72VsuL_QrFG0n8EPNbFecAlrbeqkBGYK2smh-U&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-nested-rethrow.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-nested-rethrow.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-nested-rethrow.ll Wed Jun 17 15:52:32 2015<br>
@@ -56,7 +56,7 @@ $_TI1H = comdat any<br>
 ; CHECK:   call void (...) @llvm.frameescape<br>
<br>
 ; Function Attrs: nounwind uwtable<br>
-define void @"\01?test1@@YAXXZ"() #0 {<br>
+define void @"\01?test1@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %tmp = alloca i32, align 4<br>
   %exn.slot = alloca i8*<br>
@@ -67,7 +67,7 @@ entry:<br>
           to label %unreachable unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   store i8* %2, i8** %exn.slot<br>
@@ -82,7 +82,7 @@ catch:<br>
           to label %unreachable unwind label %lpad1<br>
<br>
 lpad1:                                            ; preds = %catch<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %5 = extractvalue { i8*, i32 } %4, 0<br>
   store i8* %5, i8** %exn.slot<br>
@@ -124,7 +124,7 @@ declare void @llvm.eh.endcatch() #1<br>
 ; CHECK:   call void (...) @llvm.frameescape<br>
<br>
 ; Function Attrs: nounwind uwtable<br>
-define void @"\01?test2@@YAXXZ"() #0 {<br>
+define void @"\01?test2@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %tmp = alloca i32, align 4<br>
   %exn.slot = alloca i8*<br>
@@ -135,7 +135,7 @@ entry:<br>
           to label %unreachable unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   store i8* %2, i8** %exn.slot<br>
@@ -150,7 +150,7 @@ catch:<br>
           to label %unreachable unwind label %lpad1<br>
<br>
 lpad1:                                            ; preds = %catch<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %5 = extractvalue { i8*, i32 } %4, 0<br>
   store i8* %5, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-nonalloca-frame-values.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dnonalloca-2Dframe-2Dvalues.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=PwznPsEemjydP2ZBJXTh-o125k9Au_eBXDTstybUfS8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-nonalloca-frame-values.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-nonalloca-frame-values.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-nonalloca-frame-values.ll Wed Jun 17 15:52:32 2015<br>
@@ -72,7 +72,7 @@ $"\01??_R0H@8" = comdat any<br>
 ; CHECK:   br label %for.body<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @"\01?test@@YAXXZ"() #0 {<br>
+define void @"\01?test@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %e = alloca i32, align 4<br>
   %ExceptionVal = alloca [10 x i32], align 16<br>
@@ -112,13 +112,13 @@ invoke.cont:<br>
   br label %try.cont<br>
<br>
 ; CHECK: [[LPAD_LABEL:lpad[0-9]*]]:{{[ ]+}}; preds = %for.body<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
 ; CHECK-NEXT:   [[RECOVER:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*), i32 0, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch")<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER]], [label %[[SPLIT_RECOVER_BB:.*]]]<br>
<br>
 lpad:                                             ; preds = %for.body<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)<br>
   %3 = extractvalue { i8*, i32 } %2, 1<br>
   %4 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)) #1<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch-all.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dprepared-2Dcatch-2Dall.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=19GfPwaSeXBV6_6PSPotMANZwlCBFyTXoPpyScahhp4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch-all.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch-all.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch-all.ll Wed Jun 17 15:52:32 2015<br>
@@ -18,13 +18,13 @@ declare void @llvm.eh.begincatch(i8* noc<br>
 declare void @llvm.eh.endcatch() #2<br>
<br>
 ; Function Attrs: nounwind uwtable<br>
-define void @test_catch_all() #0 {<br>
+define void @test_catch_all() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   invoke void @may_throw()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   tail call void @llvm.eh.begincatch(i8* %1, i8* null) #2<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch-reordered.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dprepared-2Dcatch-2Dreordered.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=hyKGC_YNQvVm_i3M2ax92LMUCnwkxiMQ-bcD9h0IoDU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch-reordered.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch-reordered.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch-reordered.ll Wed Jun 17 15:52:32 2015<br>
@@ -43,7 +43,7 @@ $"\01??_C@_06PNOAJMHG@e?3?5?$CFd?6?$AA@"<br>
 declare void @_CxxThrowException(i8*, %eh.ThrowInfo*)<br>
<br>
 ; Function Attrs: uwtable<br>
-define i32 @main() #1 {<br>
+define i32 @main() #1 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %tmp.i = alloca i32, align 4<br>
   %e = alloca i32, align 4<br>
@@ -57,7 +57,7 @@ entry:<br>
   unreachable<br>
<br>
 lpad1:                                            ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
   %recover = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.H.0 to i8*), i32 0, i8* (i8*, i8*)* @main.catch)<br>
   indirectbr i8* %recover, [label %try.cont.split]<br>
@@ -90,7 +90,7 @@ declare void @llvm.lifetime.start(i64, i<br>
 ; Function Attrs: nounwind<br>
 declare i8* @llvm.eh.actions(...) #3<br>
<br>
-define internal i8* @main.catch(i8*, i8*) #5 {<br>
+define internal i8* @main.catch(i8*, i8*) #5 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %e.i8 = call i8* @llvm.framerecover(i8* bitcast (i32 ()* @main to i8*), i8* %1, i32 0)<br>
   %e = bitcast i8* %e.i8 to i32*<br>
@@ -104,7 +104,7 @@ entry.split:<br>
   ret i8* blockaddress(@main, %try.cont.split)<br>
<br>
 stub:                                             ; preds = %entry<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %recover = call i8* (...) @llvm.eh.actions()<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dprepared-2Dcatch.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=DSvukvM0A17dlCOh6XUcsMvlU2auDhZ44ncKG1P8jCA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-catch.ll Wed Jun 17 15:52:32 2015<br>
@@ -30,7 +30,7 @@ $"\01??_R0H@8" = comdat any<br>
 @"\01??_R0H@8" = linkonce_odr global %rtti.TypeDescriptor2 { i8** @"\01??_7type_info@@6B@", i8* null, [3 x i8] c".H\00" }, comdat<br>
 @llvm.eh.handlertype.H.8 = private unnamed_addr constant %eh.CatchHandlerType { i32 8, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*) }, section "llvm.metadata"<br>
<br>
-define internal i8* @"\01?f@@YAXXZ.catch"(i8*, i8*) #4 {<br>
+define internal i8* @"\01?f@@YAXXZ.catch"(i8*, i8*) #4 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %.i8 = call i8* @llvm.framerecover(i8* bitcast (void ()* @"\01?f@@YAXXZ" to i8*), i8* %1, i32 0)<br>
   %bc2 = bitcast i8* %.i8 to i32**<br>
@@ -42,7 +42,7 @@ invoke.cont2:<br>
   ret i8* blockaddress(@"\01?f@@YAXXZ", %try.cont)<br>
<br>
 lpad1:                                            ; preds = %entry<br>
-  %lp4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %lp4 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.N.0<br>
   %recover = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.N.0 to i8*), i32 1, i8* (i8*, i8*)* @"\01?f@@YAXXZ.catch1")<br>
@@ -56,7 +56,7 @@ lpad1:<br>
 ; CHECK:        .long   ("$cppxdata$?f@@YAXXZ")@IMGREL<br>
<br>
<br>
-define internal i8* @"\01?f@@YAXXZ.catch1"(i8*, i8*) #4 {<br>
+define internal i8* @"\01?f@@YAXXZ.catch1"(i8*, i8*) #4 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %.i8 = call i8* @llvm.framerecover(i8* bitcast (void ()* @"\01?f@@YAXXZ" to i8*), i8* %1, i32 1)<br>
   %2 = bitcast i8* %.i8 to double*<br>
@@ -68,7 +68,7 @@ done:<br>
   ret i8* blockaddress(@"\01?f@@YAXXZ", %try.cont8)<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %recover = call i8* (...) @llvm.eh.actions()<br>
   unreachable<br>
@@ -82,7 +82,7 @@ lpad:<br>
 ; CHECK:        .seh_handlerdata<br>
 ; CHECK:        .long   ("$cppxdata$?f@@YAXXZ")@IMGREL<br>
<br>
-define void @"\01?f@@YAXXZ"() #0 {<br>
+define void @"\01?f@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %exn.slot = alloca i8*<br>
   %ehselector.slot = alloca i32<br>
@@ -96,7 +96,7 @@ invoke.cont:<br>
   br label %try.cont<br>
<br>
 lpad2:                                            ; preds = %entry<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.8<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.N.0<br>
   %recover = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.H.8 to i8*), i32 0, i8* (i8*, i8*)* @"\01?f@@YAXXZ.catch", i32 1, i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.N.0 to i8*), i32 1, i8* (i8*, i8*)* @"\01?f@@YAXXZ.catch1")<br>
@@ -107,7 +107,7 @@ try.cont:<br>
           to label %try.cont8 unwind label %lpad1<br>
<br>
 lpad1:<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.N.0<br>
   %recover2 = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.N.0 to i8*), i32 1, i8* (i8*, i8*)* @"\01?f@@YAXXZ.catch1")<br>
   indirectbr i8* %recover2, [label %try.cont8]<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-cleanups.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dprepared-2Dcleanups.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=FyxK0KzYpoeGWTvSk8RF9XtSXAgfUQHYv24BxtT_4tg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-cleanups.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-cleanups.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-prepared-cleanups.ll Wed Jun 17 15:52:32 2015<br>
@@ -50,7 +50,7 @@ $_TI1H = comdat any<br>
 ; CHECK-NEXT:        .long   .Ltmp0@IMGREL<br>
 ; CHECK-NEXT:        .long   0<br>
<br>
-define void @"\01?test1@@YAXXZ"() #0 {<br>
+define void @"\01?test1@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %unwindhelp = alloca i64<br>
   %tmp = alloca i32, align 4<br>
@@ -66,7 +66,7 @@ entry:<br>
           to label %unreachable unwind label %lpad1<br>
<br>
 lpad1:                                            ; preds = %entry<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %recover = call i8* (...) @llvm.eh.actions(i32 0, void (i8*, i8*)* @"\01?test1@@YAXXZ.cleanup")<br>
   indirectbr i8* %recover, []<br>
@@ -118,7 +118,7 @@ entry:<br>
 ; CHECK-NEXT:        .long   .Ltmp12@IMGREL<br>
 ; CHECK-NEXT:        .long   0<br>
<br>
-define void @"\01?test2@@YAX_N@Z"(i1 zeroext %b) #2 {<br>
+define void @"\01?test2@@YAX_N@Z"(i1 zeroext %b) #2 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
   %b.addr = alloca i8, align 1<br>
   %s = alloca %struct.S, align 1<br>
   %exn.slot = alloca i8*<br>
@@ -145,13 +145,13 @@ invoke.cont3:<br>
   br label %if.end<br>
<br>
 lpad1:                                            ; preds = %entry, %if.end<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %recover = call i8* (...) @llvm.eh.actions(i32 0, void (i8*, i8*)* @"\01?test2@@YAX_N@Z.cleanup")<br>
   indirectbr i8* %recover, []<br>
<br>
 lpad3:                                            ; preds = %if.then<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %recover4 = call i8* (...) @llvm.eh.actions(i32 0, void (i8*, i8*)* @"\01?test2@@YAX_N@Z.cleanup1", i32 0, void (i8*, i8*)* @"\01?test2@@YAX_N@Z.cleanup")<br>
   indirectbr i8* %recover4, []<br>
@@ -196,7 +196,7 @@ declare i8* @llvm.framerecover(i8*, i8*,<br>
 ; Function Attrs: nounwind<br>
 declare void @llvm.eh.unwindhelp(i8*) #4<br>
<br>
-define internal void @"\01?test2@@YAX_N@Z.cleanup"(i8*, i8*) #7 {<br>
+define internal void @"\01?test2@@YAX_N@Z.cleanup"(i8*, i8*) #7 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %s.i8 = call i8* @llvm.framerecover(i8* bitcast (void (i1)* @"\01?test2@@YAX_N@Z" to i8*), i8* %1, i32 0)<br>
   %s = bitcast i8* %s.i8 to %struct.S*<br>
@@ -208,12 +208,12 @@ entry.split:<br>
   ret void<br>
<br>
 stub:                                             ; preds = %entry<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
 }<br>
<br>
-define internal void @"\01?test2@@YAX_N@Z.cleanup1"(i8*, i8*) #7 {<br>
+define internal void @"\01?test2@@YAX_N@Z.cleanup1"(i8*, i8*) #7 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %s1.i8 = call i8* @llvm.framerecover(i8* bitcast (void (i1)* @"\01?test2@@YAX_N@Z" to i8*), i8* %1, i32 1)<br>
   %s1 = bitcast i8* %s1.i8 to %struct.S*<br>
@@ -225,7 +225,7 @@ entry.split:<br>
   ret void<br>
<br>
 stub:                                             ; preds = %entry<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-shared-empty-catch.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dshared-2Dempty-2Dcatch.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=X8FW0pjac31INGuhFRcEfJ9mDmIPH3uRrtbTh4M4bzw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-shared-empty-catch.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-shared-empty-catch.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-shared-empty-catch.ll Wed Jun 17 15:52:32 2015<br>
@@ -34,7 +34,7 @@ $"\01??_R0H@8" = comdat any<br>
 ; CHECK:   invoke void @"\01?g@@YAXXZ"()<br>
<br>
 ; Function Attrs: nounwind<br>
-define void @"\01?f@@YAXXZ"() #0 {<br>
+define void @"\01?f@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   invoke void @"\01?g@@YAXXZ"()<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -48,7 +48,7 @@ invoke.cont:<br>
           to label %unreachable unwind label %lpad1<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   br label %catch2<br>
@@ -56,14 +56,14 @@ lpad:<br>
 ; Note: Even though this landing pad has two catch clauses, it only has one action because both<br>
 ;       handlers do the same thing.<br>
 ; CHECK: [[LPAD1_LABEL]]:<br>
-; CHECK:   landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+; CHECK:   landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
 ; CHECK-NEXT:           catch i8* null<br>
 ; CHECK-NEXT:   [[RECOVER:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* null, i32 -1, i8* (i8*, i8*)* @"\01?f@@YAXXZ.catch")<br>
 ; CHECK-NEXT:   indirectbr i8* [[RECOVER]], [label %try.cont4]<br>
<br>
 lpad1:                                            ; preds = %invoke.cont<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
           catch i8* null<br>
   %3 = extractvalue { i8*, i32 } %2, 0<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-similar-catch-blocks.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dsimilar-2Dcatch-2Dblocks.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=GndMjdySWJjOZBh_56DiJr_ObR2wTQsOk_3xVCIy0xg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-similar-catch-blocks.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-similar-catch-blocks.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-similar-catch-blocks.ll Wed Jun 17 15:52:32 2015<br>
@@ -91,7 +91,7 @@ $"\01??_C@_03PMGGPEJJ@?$CFd?6?$AA@" = co<br>
 ; CHECK: }<br>
<br>
 ; Function Attrs: uwtable<br>
-define i32 @main() #0 {<br>
+define i32 @main() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %retval = alloca i32, align 4<br>
   %tmp = alloca i8, align 1<br>
@@ -111,7 +111,7 @@ entry:<br>
           to label %unreachable unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.D.0<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
           catch i8* null<br>
@@ -146,7 +146,7 @@ try.cont:<br>
           to label %unreachable unwind label %lpad4<br>
<br>
 lpad2:                                            ; preds = %catch<br>
-  %6 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %6 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
           catch i8* null<br>
   %7 = extractvalue { i8*, i32 } %6, 0<br>
@@ -157,7 +157,7 @@ lpad2:<br>
   br label %catch.dispatch5<br>
<br>
 lpad4:                                            ; preds = %try.cont<br>
-  %9 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %9 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
           catch i8* null<br>
   %10 = extractvalue { i8*, i32 } %9, 0<br>
@@ -200,7 +200,7 @@ invoke.cont11:<br>
   br label %try.cont19<br>
<br>
 lpad10:                                           ; preds = %catch8<br>
-  %15 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %15 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %16 = extractvalue { i8*, i32 } %15, 0<br>
   store i8* %16, i8** %exn.slot<br>
@@ -210,7 +210,7 @@ lpad10:<br>
   br label %eh.resume<br>
<br>
 lpad16:                                           ; preds = %catch13<br>
-  %18 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %18 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %19 = extractvalue { i8*, i32 } %18, 0<br>
   store i8* %19, i8** %exn.slot<br>
@@ -220,7 +220,7 @@ lpad16:<br>
   br label %eh.resume<br>
<br>
 lpad21:                                           ; preds = %try.cont19<br>
-  %21 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %21 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.D.0 to i8*)<br>
           catch i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.H.0 to i8*)<br>
           catch i8* null<br>
@@ -255,7 +255,7 @@ try.cont33:<br>
           to label %unreachable unwind label %lpad35<br>
<br>
 lpad30:                                           ; preds = %catch25<br>
-  %27 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %27 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.H.0 to i8*)<br>
           catch i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.D.0 to i8*)<br>
           catch i8* null<br>
@@ -267,7 +267,7 @@ lpad30:<br>
   br label %catch.dispatch36<br>
<br>
 lpad35:                                           ; preds = %try.cont33<br>
-  %30 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %30 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.H.0 to i8*)<br>
           catch i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.D.0 to i8*)<br>
           catch i8* null<br>
@@ -326,7 +326,7 @@ invoke.cont43:<br>
   br label %try.cont60<br>
<br>
 lpad42:                                           ; preds = %catch40<br>
-  %38 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %38 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %39 = extractvalue { i8*, i32 } %38, 0<br>
   store i8* %39, i8** %exn.slot<br>
@@ -336,7 +336,7 @@ lpad42:<br>
   br label %eh.resume<br>
<br>
 lpad50:                                           ; preds = %catch45<br>
-  %41 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %41 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %42 = extractvalue { i8*, i32 } %41, 0<br>
   store i8* %42, i8** %exn.slot<br>
@@ -346,7 +346,7 @@ lpad50:<br>
   br label %eh.resume<br>
<br>
 lpad57:                                           ; preds = %catch53<br>
-  %44 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %44 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %45 = extractvalue { i8*, i32 } %44, 0<br>
   store i8* %45, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/cppeh-state-calc-1.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_cppeh-2Dstate-2Dcalc-2D1.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=0C7NvQPEwLTB3oya7OCRn29oJzxEuuZ19jM3bYHhUaU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/cppeh-state-calc-1.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/cppeh-state-calc-1.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/cppeh-state-calc-1.ll Wed Jun 17 15:52:32 2015<br>
@@ -68,7 +68,7 @@ $_TI1D = comdat any<br>
 @_TI1D = linkonce_odr unnamed_addr constant %eh.ThrowInfo { i32 0, i32 0, i32 0, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (%eh.CatchableTypeArray.1* @_CTA1D to i64), i64 ptrtoint (i8* @__ImageBase to i64)) to i32) }, section ".xdata", comdat<br>
<br>
 ; Function Attrs: nounwind uwtable<br>
-define void @"\01?test@@YAXXZ"() #0 {<br>
+define void @"\01?test@@YAXXZ"() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %tmp = alloca i32, align 4<br>
   %x = alloca i32, align 4<br>
@@ -84,7 +84,7 @@ entry:<br>
           to label %unreachable unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.H.0 to i8*)<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.D.0<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
@@ -99,7 +99,7 @@ try.cont:<br>
           to label %unreachable unwind label %lpad3<br>
<br>
 lpad3:                                            ; preds = %try.cont<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.D.0<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
           catch i8* null<br>
@@ -114,7 +114,7 @@ try.cont10:<br>
           to label %unreachable unwind label %lpad12<br>
<br>
 lpad12:                                           ; preds = %try.cont10<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
           catch i8* null<br>
   %recover2 = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.H.0 to i8*), i32 2, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch2", i32 1, i8* null, i32 -1, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch3")<br>
@@ -164,7 +164,7 @@ declare void @"\01?catch_one@@YAXXZ"() #<br>
 ; Function Attrs: nounwind<br>
 declare i8* @llvm.eh.actions(...) #3<br>
<br>
-define internal i8* @"\01?test@@YAXXZ.catch"(i8*, i8*) #4 {<br>
+define internal i8* @"\01?test@@YAXXZ.catch"(i8*, i8*) #4 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %x.i8 = call i8* @llvm.framerecover(i8* bitcast (void ()* @"\01?test@@YAXXZ" to i8*), i8* %1, i32 0)<br>
   %x = bitcast i8* %x.i8 to i32*<br>
@@ -177,7 +177,7 @@ entry.split:<br>
   ret i8* blockaddress(@"\01?test@@YAXXZ", %try.cont)<br>
<br>
 stub:                                             ; preds = %entry<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %recover = call i8* (...) @llvm.eh.actions()<br>
   unreachable<br>
@@ -186,7 +186,7 @@ stub:<br>
 ; Function Attrs: nounwind readnone<br>
 declare void @llvm.donothing() #2<br>
<br>
-define internal i8* @"\01?test@@YAXXZ.catch1"(i8*, i8*) #4 {<br>
+define internal i8* @"\01?test@@YAXXZ.catch1"(i8*, i8*) #4 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   call void @"\01?catch_a@@YAXXZ"() #3<br>
   invoke void @llvm.donothing()<br>
@@ -196,13 +196,13 @@ entry.split:<br>
   ret i8* blockaddress(@"\01?test@@YAXXZ", %try.cont10)<br>
<br>
 stub:                                             ; preds = %entry<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %recover = call i8* (...) @llvm.eh.actions()<br>
   unreachable<br>
 }<br>
<br>
-define internal i8* @"\01?test@@YAXXZ.catch2"(i8*, i8*) #4 {<br>
+define internal i8* @"\01?test@@YAXXZ.catch2"(i8*, i8*) #4 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   %x21.i8 = call i8* @llvm.framerecover(i8* bitcast (void ()* @"\01?test@@YAXXZ" to i8*), i8* %1, i32 2)<br>
   %x21 = bitcast i8* %x21.i8 to i32*<br>
@@ -215,13 +215,13 @@ entry.split:<br>
   ret i8* blockaddress(@"\01?test@@YAXXZ", %try.cont22)<br>
<br>
 stub:                                             ; preds = %entry<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %recover = call i8* (...) @llvm.eh.actions()<br>
   unreachable<br>
 }<br>
<br>
-define internal i8* @"\01?test@@YAXXZ.catch3"(i8*, i8*) #4 {<br>
+define internal i8* @"\01?test@@YAXXZ.catch3"(i8*, i8*) #4 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   call void @"\01?catch_all@@YAXXZ"() #3<br>
   invoke void @llvm.donothing()<br>
@@ -231,7 +231,7 @@ entry.split:<br>
   ret i8* blockaddress(@"\01?test@@YAXXZ", %try.cont22)<br>
<br>
 stub:                                             ; preds = %entry<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %recover = call i8* (...) @llvm.eh.actions()<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/seh-catch-all.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_seh-2Dcatch-2Dall.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ZcfUSOelmUUR1EdKxr3UbaGN1boUg7MjML4apVKp9mM&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/seh-catch-all.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/seh-catch-all.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/seh-catch-all.ll Wed Jun 17 15:52:32 2015<br>
@@ -21,7 +21,7 @@ declare i32 @__C_specific_handler(...)<br>
 declare i8* @llvm.frameaddress(i32)<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @seh_catch_all() {<br>
+define void @seh_catch_all() personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   %exn.slot = alloca i8*<br>
   %ehselector.slot = alloca i32<br>
@@ -32,7 +32,7 @@ invoke.cont:<br>
   br label %__try.cont<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   store i8* %1, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/seh-inlined-finally.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_seh-2Dinlined-2Dfinally.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ZugfnwmM0OaqwOtCpexWWxwlM4IpygQH3T4Jdvk4LVs&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/seh-inlined-finally.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/seh-inlined-finally.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/seh-inlined-finally.ll Wed Jun 17 15:52:32 2015<br>
@@ -19,7 +19,7 @@ declare void @llvm.frameescape(...)<br>
 declare dllimport void @EnterCriticalSection(%struct._RTL_CRITICAL_SECTION*)<br>
 declare dllimport void @LeaveCriticalSection(%struct._RTL_CRITICAL_SECTION*)<br>
<br>
-define void @use_finally() {<br>
+define void @use_finally() personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   invoke void @may_crash()<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -29,7 +29,7 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %call.i2 = tail call i32 @puts(i8* null)<br>
   resume { i8*, i32 } %0<br>
@@ -44,7 +44,7 @@ lpad:<br>
 ; CHECK-NEXT: indirectbr i8* %recover, []<br>
<br>
 ; Function Attrs: nounwind uwtable<br>
-define i32 @call_may_crash_locked() {<br>
+define i32 @call_may_crash_locked() personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   %p = alloca %struct._RTL_CRITICAL_SECTION, align 8<br>
   call void (...) @llvm.frameescape(%struct._RTL_CRITICAL_SECTION* %p)<br>
@@ -60,7 +60,7 @@ invoke.cont:<br>
   ret i32 42<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %tmp7 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %tmp7 = landingpad { i8*, i32 }<br>
             cleanup<br>
   %tmp8 = call i8* @llvm.frameaddress(i32 0)<br>
   %tmp9 = call i8* @llvm.framerecover(i8* bitcast (i32 ()* @call_may_crash_locked to i8*), i8* %tmp8, i32 0)<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/seh-outlined-finally.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_seh-2Doutlined-2Dfinally.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=PpfniNeAyHtkkRIOvch9aA7mG38YZrm5bgDxbWY4qks&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/seh-outlined-finally.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/seh-outlined-finally.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/seh-outlined-finally.ll Wed Jun 17 15:52:32 2015<br>
@@ -39,7 +39,7 @@ entry:<br>
 }<br>
<br>
 ; Function Attrs: uwtable<br>
-define i32 @main() #1 {<br>
+define i32 @main() #1 personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   %myres = alloca i32, align 4<br>
   %exn.slot = alloca i8*<br>
@@ -59,7 +59,7 @@ invoke.cont2:<br>
   ret i32 0<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %3 = extractvalue { i8*, i32 } %2, 0<br>
   store i8* %3, i8** %exn.slot<br>
@@ -70,7 +70,7 @@ lpad:<br>
           to label %invoke.cont3 unwind label %lpad1<br>
<br>
 lpad1:                                            ; preds = %lpad, %invoke.cont<br>
-  %6 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %6 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %7 = extractvalue { i8*, i32 } %6, 0<br>
   store i8* %7, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/seh-prepared-basic.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_seh-2Dprepared-2Dbasic.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=e27LPx7H-j2vFsmK9_zogc05FtFJTt61L2NP05u0udU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/seh-prepared-basic.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/seh-prepared-basic.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/seh-prepared-basic.ll Wed Jun 17 15:52:32 2015<br>
@@ -15,14 +15,14 @@ target datalayout = "e-m:w-i64:64-f80:12<br>
 target triple = "x86_64-pc-windows-msvc"<br>
<br>
 ; Function Attrs: uwtable<br>
-define void @do_except() #0 {<br>
+define void @do_except() #0 personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   call void (...) @llvm.frameescape()<br>
   invoke void @g() #5<br>
           to label %__try.cont unwind label %lpad1<br>
<br>
 lpad1:                                            ; preds = %entry<br>
-  %ehvals = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %ehvals = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i32 (i8*, i8*)* @"\01?filt$0@0@do_except@@" to i8*)<br>
   %recover = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (i32 (i8*, i8*)* @"\01?filt$0@0@do_except@@" to i8*), i32 -1, i8* blockaddress(@do_except, %__try.cont))<br>
   indirectbr i8* %recover, [label %__try.cont]<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/seh-resume-phi.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_seh-2Dresume-2Dphi.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=nL-oVUw0-tromLuqbBsoa5eVosKu_TEKiUDFjQul0q0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/seh-resume-phi.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/seh-resume-phi.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/seh-resume-phi.ll Wed Jun 17 15:52:32 2015<br>
@@ -9,13 +9,13 @@ declare void @cleanup()<br>
 declare i32 @__C_specific_handler(...)<br>
 declare i32 @llvm.eh.typeid.for(i8*)<br>
<br>
-define void @resume_phi() {<br>
+define void @resume_phi() personality i32 (...)* @__C_specific_handler {<br>
 entry:<br>
   invoke void @might_crash(i8* null)<br>
           to label %return unwind label %lpad1<br>
<br>
 lpad1:<br>
-  %ehvals1 = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %ehvals1 = landingpad { i8*, i32 }<br>
           catch i32 ()* @filt<br>
   %ehptr1 = extractvalue { i8*, i32 } %ehvals1, 0<br>
   %ehsel1 = extractvalue { i8*, i32 } %ehvals1, 1<br>
@@ -28,7 +28,7 @@ __except:<br>
           to label %return unwind label %lpad2<br>
<br>
 lpad2:<br>
-  %ehvals2 = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %ehvals2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %ehptr2 = extractvalue { i8*, i32 } %ehvals2, 0<br>
   %ehsel2 = extractvalue { i8*, i32 } %ehvals2, 1<br>
<br>
Modified: llvm/trunk/test/CodeGen/WinEH/seh-simple.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_WinEH_seh-2Dsimple.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=0667-KT9wUQDs-UBqI7zMn2v1wglxCD1KgfxYj76MAQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WinEH/seh-simple.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/WinEH/seh-simple.ll (original)<br>
+++ llvm/trunk/test/CodeGen/WinEH/seh-simple.ll Wed Jun 17 15:52:32 2015<br>
@@ -12,7 +12,7 @@ declare void @might_crash()<br>
 declare i32 @__C_specific_handler(...)<br>
 declare i32 @llvm.eh.typeid.for(i8*)<br>
<br>
-define i32 @simple_except_store() {<br>
+define i32 @simple_except_store() personality i32 (...)* @__C_specific_handler {<br>
 entry:<br>
   %retval = alloca i32<br>
   store i32 0, i32* %retval<br>
@@ -20,7 +20,7 @@ entry:<br>
           to label %return unwind label %lpad<br>
<br>
 lpad:<br>
-  %ehvals = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %ehvals = landingpad { i8*, i32 }<br>
           catch i32 ()* @filt<br>
   %sel = extractvalue { i8*, i32 } %ehvals, 1<br>
   %filt_sel = tail call i32 @llvm.eh.typeid.for(i8* bitcast (i32 ()* @filt to i8*))<br>
@@ -45,7 +45,7 @@ eh.resume:<br>
 ; CHECK-NEXT: call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (i32 ()* @filt to i8*), i32 -1, i8* blockaddress(@simple_except_store, %__except))<br>
 ; CHECK-NEXT: indirectbr {{.*}} [label %__except]<br>
<br>
-define i32 @catch_all() {<br>
+define i32 @catch_all() personality i32 (...)* @__C_specific_handler {<br>
 entry:<br>
   %retval = alloca i32<br>
   store i32 0, i32* %retval<br>
@@ -53,7 +53,7 @@ entry:<br>
           to label %return unwind label %lpad<br>
<br>
 lpad:<br>
-  %ehvals = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %ehvals = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   store i32 1, i32* %retval<br>
   br label %return<br>
@@ -73,13 +73,13 @@ return:<br>
 ; CHECK: store i32 1, i32* %retval<br>
<br>
<br>
-define i32 @except_phi() {<br>
+define i32 @except_phi() personality i32 (...)* @__C_specific_handler {<br>
 entry:<br>
   invoke void @might_crash()<br>
           to label %return unwind label %lpad<br>
<br>
 lpad:<br>
-  %ehvals = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %ehvals = landingpad { i8*, i32 }<br>
           catch i32 ()* @filt<br>
   %sel = extractvalue { i8*, i32 } %ehvals, 1<br>
   %filt_sel = tail call i32 @llvm.eh.typeid.for(i8* bitcast (i32 ()* @filt to i8*))<br>
@@ -107,7 +107,7 @@ eh.resume:<br>
 ; CHECK-NEXT: %r = phi i32 [ 0, %entry ], [ 1, %lpad.return_crit_edge ]<br>
 ; CHECK-NEXT: ret i32 %r<br>
<br>
-define i32 @lpad_phi() {<br>
+define i32 @lpad_phi() personality i32 (...)* @__C_specific_handler {<br>
 entry:<br>
   invoke void @might_crash()<br>
           to label %cont unwind label %lpad<br>
@@ -118,7 +118,7 @@ cont:<br>
<br>
 lpad:<br>
   %ncalls.1 = phi i32 [ 0, %entry ], [ 1, %cont ]<br>
-  %ehvals = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %ehvals = landingpad { i8*, i32 }<br>
           catch i32 ()* @filt<br>
   %sel = extractvalue { i8*, i32 } %ehvals, 1<br>
   %filt_sel = tail call i32 @llvm.eh.typeid.for(i8* bitcast (i32 ()* @filt to i8*))<br>
@@ -153,13 +153,13 @@ eh.resume:<br>
 ; CHECK-NEXT: %r = phi i32 [ 2, %cont ], [ %{{.*}}, %lpad.return_crit_edge ]<br>
 ; CHECK-NEXT: ret i32 %r<br>
<br>
-define i32 @cleanup_and_except() {<br>
+define i32 @cleanup_and_except() personality i32 (...)* @__C_specific_handler {<br>
 entry:<br>
   invoke void @might_crash()<br>
           to label %return unwind label %lpad<br>
<br>
 lpad:<br>
-  %ehvals = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %ehvals = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i32 ()* @filt<br>
   call void @cleanup()<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2007-05-05-Personality.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2007-2D05-2D05-2DPersonality.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=TNO-cfUxS4ggO3JIY2KB-7GnwUEYiOdo_v4h8fdp8is&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2007-05-05-Personality.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2007-05-05-Personality.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2007-05-05-Personality.ll Wed Jun 17 15:52:32 2015<br>
@@ -12,13 +12,13 @@<br>
<br>
 @error = external global i8<br>
<br>
-define void @_ada_x() {<br>
+define void @_ada_x() personality i8* bitcast (i32 (...)* @__gnat_eh_personality to i8*) {<br>
 entry:<br>
   invoke void @raise()<br>
           to label %eh_then unwind label %unwind<br>
<br>
 unwind:                                           ; preds = %entry<br>
-  %eh_ptr = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gnat_eh_personality to i8*)<br>
+  %eh_ptr = landingpad { i8*, i32 }<br>
               catch i8* @error<br>
   %eh_select = extractvalue { i8*, i32 } %eh_ptr, 1<br>
   %eh_typeid = tail call i32 @llvm.eh.typeid.for(i8* @error)<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2008-04-17-CoalescerBug.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2008-2D04-2D17-2DCoalescerBug.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=slmE1AjSyjiD7nCv0A0TCBxEVXeL3PQCyKP0I8Nz40Y&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2008-04-17-CoalescerBug.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2008-04-17-CoalescerBug.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2008-04-17-CoalescerBug.ll Wed Jun 17 15:52:32 2015<br>
@@ -13,7 +13,7 @@<br>
 @.str33 = external constant [29 x i32]         ; <[29 x i32]*> [#uses=1]<br>
 @.str89 = external constant [5 x i32]          ; <[5 x i32]*> [#uses=1]<br>
<br>
-define void @_ZNK10wxDateTime6FormatEPKwRKNS_8TimeZoneE(%struct.wxString* noalias sret  %agg.result, %struct.wxDateTime* %this, i32* %format, %"struct.wxDateTime::TimeZone"* %tz, i1 %foo) {<br>
+define void @_ZNK10wxDateTime6FormatEPKwRKNS_8TimeZoneE(%struct.wxString* noalias sret  %agg.result, %struct.wxDateTime* %this, i32* %format, %"struct.wxDateTime::TimeZone"* %tz, i1 %foo) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        br i1 %foo, label %bb116.i, label %bb115.critedge.i<br>
 bb115.critedge.i:              ; preds = %entry<br>
@@ -151,11 +151,11 @@ bb7819:           ; preds = %bb3314<br>
 bb7834:                ; preds = %bb7806, %invcont5831<br>
        br label %bb3261<br>
 lpad:          ; preds = %bb7806, %bb5968, %invcont5814, %bb440.i8663, %bb155.i8541, %bb5657, %bb3306<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
        ret void<br>
 lpad8185:              ; preds = %invcont5831<br>
-        %exn8185 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn8185 = landingpad {i8*, i32}<br>
                  cleanup<br>
        ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2008-05-28-LocalRegAllocBug.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2008-2D05-2D28-2DLocalRegAllocBug.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=UU7Ub-aDIRuZTjlF50-peSbAjQqE2RcETogv4BvrZZ8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2008-05-28-LocalRegAllocBug.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2008-05-28-LocalRegAllocBug.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2008-05-28-LocalRegAllocBug.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@ declare i8* @_Znwm(i32)<br>
<br>
 declare i8* @__cxa_begin_catch(i8*) nounwind<br>
<br>
-define i32 @main(i32 %argc, i8** %argv) {<br>
+define i32 @main(i32 %argc, i8** %argv) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        br i1 false, label %bb37, label %bb34<br>
<br>
@@ -21,7 +21,7 @@ tmp12.i.i.i.i.i.noexc65:              ; preds = %bb3<br>
        unreachable<br>
<br>
 lpad243:               ; preds = %bb37<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
        %eh_ptr244 = extractvalue { i8*, i32 } %exn, 0<br>
        store i32 (...)** getelementptr ([5 x i32 (...)*], [5 x i32 (...)*]* @_ZTVN10Evaluation10GridOutputILi3EEE, i32 0, i32 2), i32 (...)*** null, align 8<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2009-03-13-PHIElimBug.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2009-2D03-2D13-2DPHIElimBug.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=82qIzmm5TO8gzmZlp8jidi2NVmgMNYTzHqUYMfrrSqQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2009-03-13-PHIElimBug.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2009-03-13-PHIElimBug.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2009-03-13-PHIElimBug.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@ declare i32 @f()<br>
<br>
 declare i32 @g()<br>
<br>
-define i32 @phi() {<br>
+define i32 @phi() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        %a = call i32 @f()              ; <i32> [#uses=1]<br>
        %b = invoke i32 @g()<br>
@@ -24,7 +24,7 @@ cont2:                ; preds = %cont<br>
<br>
 lpad:          ; preds = %cont, %entry<br>
        %y = phi i32 [ %a, %entry ], [ %aa, %cont ]             ; <i32> [#uses=1]<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
        ret i32 %y<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2009-2D03-2D16-2DPHIElimInLPad.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=AodhEXtyAq4sEciR9JqObOOcXw3Qw8ZcpfZJChLDu6Y&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
<br>
 declare i32 @f()<br>
<br>
-define i32 @phi(i32 %x) {<br>
+define i32 @phi(i32 %x) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        %a = invoke i32 @f()<br>
                        to label %cont unwind label %lpad               ; <i32> [#uses=1]<br>
@@ -17,7 +17,7 @@ cont2:                ; preds = %cont<br>
<br>
 lpad:          ; preds = %cont, %entry<br>
        %v = phi i32 [ %x, %entry ], [ %a, %cont ]              ; <i32> [#uses=1]<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
        ret i32 %v<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2009-2D09-2D10-2DLoadFoldingBug.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=p8YMpBrnYISdh0zCxNoVhfTs0jd582gOF2OsJTTcy5c&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll Wed Jun 17 15:52:32 2015<br>
@@ -9,7 +9,7 @@<br>
<br>
 %struct.ComplexType = type { i32 }<br>
<br>
-define i32 @t(i32 %clientPort, i32 %pluginID, i32 %requestID, i32 %objectID, i64 %serverIdentifier, i64 %argumentsData, i32 %argumentsLength) ssp {<br>
+define i32 @t(i32 %clientPort, i32 %pluginID, i32 %requestID, i32 %objectID, i64 %serverIdentifier, i64 %argumentsData, i32 %argumentsLength) ssp personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
 ; CHECK: _t:<br>
 ; CHECK: movl 16(%rbp),<br>
@@ -34,7 +34,7 @@ invcont2:<br>
   ret i32 0<br>
<br>
 lpad:                                             ; preds = %invcont1, %invcont, %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   %8 = call i32 @vm_deallocate(i32 undef, i64 0, i64 %0) ; <i32> [#uses=0]<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2009-11-25-ImpDefBug.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2009-2D11-2D25-2DImpDefBug.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Cj_roSSxtI5rIAVR7YAxJVup5yWrjmCrclKttOPJ2ls&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2009-11-25-ImpDefBug.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2009-11-25-ImpDefBug.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2009-11-25-ImpDefBug.ll Wed Jun 17 15:52:32 2015<br>
@@ -20,7 +20,7 @@ declare void @_ZNSt6vectorIP10ASN1Object<br>
<br>
 declare i32 @_Z17LoadObjectFromBERR8xmstreamPP10ASN1ObjectPPF10ASN1StatusP13ASN1ObjHeaderS3_E(%struct.xmstream*, %struct.ASN1Object**, i32 (%struct.ASN1ObjHeader*, %struct.ASN1Object**)**)<br>
<br>
-define i32 @_ZN8ASN1Unit4loadER8xmstreamjm18ASN1LengthEncoding(%struct.ASN1Unit* %this, %struct.xmstream* nocapture %stream, i32 %numObjects, i64 %size, i32 %lEncoding) {<br>
+define i32 @_ZN8ASN1Unit4loadER8xmstreamjm18ASN1LengthEncoding(%struct.ASN1Unit* %this, %struct.xmstream* nocapture %stream, i32 %numObjects, i64 %size, i32 %lEncoding) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   br label %meshBB85<br>
<br>
@@ -46,7 +46,7 @@ bb1.i5:<br>
<br>
 lpad:                                             ; preds = %<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__bb1.i.fragment.cl&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=zdMCcZvM62BE4CSCeRBu7KIRmX4EIq-7HC1L49Kfdvc&e=" rel="noreferrer" target="_blank">bb1.i.fragment.cl</a>, %bb1.i.fragment, %bb5<br>
   %.SV10.phi807 = phi i8* [ undef, %<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__bb1.i.fragment.cl&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=zdMCcZvM62BE4CSCeRBu7KIRmX4EIq-7HC1L49Kfdvc&e=" rel="noreferrer" target="_blank">bb1.i.fragment.cl</a> ], [ undef, %bb1.i.fragment ], [ undef, %bb5 ] ; <i8*> [#uses=1]<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   %1 = load i8, i8* %.SV10.phi807, align 8            ; <i8> [#uses=0]<br>
   br i1 undef, label %meshBB81.bbcl.disp, label %bb13.fragment.bbcl.disp<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2010-04-06-SSEDomainFixCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2010-2D04-2D06-2DSSEDomainFixCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=rEz3pa-v0vQ1PV6Ex7IlgFwQHUzFsr-Ex5OfuglzQ8I&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2010-04-06-SSEDomainFixCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2010-04-06-SSEDomainFixCrash.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2010-04-06-SSEDomainFixCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -7,7 +7,7 @@ target triple = "i386-apple-darwin10.0"<br>
<br>
 declare i32 @_ZN11HullLibrary16CreateConvexHullERK8HullDescR10HullResult(i8*, i8* nocapture, i8* nocapture) ssp align 2<br>
<br>
-define void @_ZN17btSoftBodyHelpers4DrawEP10btSoftBodyP12btIDebugDrawi(i8* %psb, i8* %idraw, i32 %drawflags) ssp align 2 {<br>
+define void @_ZN17btSoftBodyHelpers4DrawEP10btSoftBodyP12btIDebugDrawi(i8* %psb, i8* %idraw, i32 %drawflags) ssp align 2 personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   br i1 undef, label %bb92, label %bb58<br>
<br>
@@ -60,7 +60,7 @@ bb92:<br>
   unreachable<br>
<br>
 lpad159:                                          ; preds = %bb58<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2010-2D04-2D30-2DLocalAlloc-2DLandingPad.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=zaVDzfTbbqFvViFEBEXsWnlIjn-PxhE55_91eVcesVE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll Wed Jun 17 15:52:32 2015<br>
@@ -13,7 +13,7 @@ target triple = "i386-apple-darwin10.0.0<br>
 ; CHECK: movl %esi,{{.*}}(%ebp)<br>
 ; CHECK: calll __Z6throwsv<br>
<br>
-define i8* @_Z4test1SiS_(%struct.S* byval %s1, i32 %n, %struct.S* byval %s2) ssp {<br>
+define i8* @_Z4test1SiS_(%struct.S* byval %s1, i32 %n, %struct.S* byval %s2) ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %retval = alloca i8*, align 4                   ; <i8**> [#uses=2]<br>
   %n.addr = alloca i32, align 4                   ; <i32*> [#uses=1]<br>
@@ -30,13 +30,13 @@ invoke.cont:<br>
   br label %finally<br>
<br>
 terminate.handler:                                ; preds = %match.end<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
            cleanup<br>
   call void @_ZSt9terminatev() noreturn nounwind<br>
   unreachable<br>
<br>
 try.handler:                                      ; preds = %entry<br>
-  %exc1.ptr = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %exc1.ptr = landingpad { i8*, i32 }<br>
            catch i8* null<br>
   %exc1 = extractvalue { i8*, i32 } %exc1.ptr, 0<br>
   %selector = extractvalue { i8*, i32 } %exc1.ptr, 1<br>
@@ -57,7 +57,7 @@ invoke.cont2:<br>
   br label %match.end<br>
<br>
 match.handler:                                    ; preds = %match<br>
-  %exc3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %exc3 = landingpad { i8*, i32 }<br>
            cleanup<br>
   %7 = extractvalue { i8*, i32 } %exc3, 0<br>
   store i8* %7, i8** %_rethrow<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2010-08-04-MingWCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2010-2D08-2D04-2DMingWCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ctFhyzJDu4_cXKtzez7yoUPgibLtAogKH2WR5tyvYgw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2010-08-04-MingWCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2010-08-04-MingWCrash.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2010-08-04-MingWCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,6 +1,6 @@<br>
 ; RUN: llc < %s -mtriple=i386-pc-mingw32<br>
<br>
-define void @func() nounwind {<br>
+define void @func() nounwind personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 invoke.cont:<br>
   %call = tail call i8* @malloc()<br>
   %a = invoke i32 @bar()<br>
@@ -10,7 +10,7 @@ bb1:<br>
   ret void<br>
<br>
 lpad:<br>
-  %exn.ptr = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %exn.ptr = landingpad { i8*, i32 }<br>
            catch i8* null<br>
   %exn = extractvalue { i8*, i32 } %exn.ptr, 0<br>
   %eh.selector = extractvalue { i8*, i32 } %exn.ptr, 1<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2012-2D01-2D10-2DUndefExceptionEdge.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ifizfSjsZQaNX_vgprOOKVM3BdpsChHGrMcTjlbeDS4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll Wed Jun 17 15:52:32 2015<br>
@@ -16,7 +16,7 @@ target triple = "i386-apple-macosx10.7"<br>
<br>
 declare void @llvm.memset.p0i8.i32(i8* nocapture, i8, i32, i32, i1) nounwind<br>
<br>
-define void @f(i32* nocapture %arg, i32* nocapture %arg1, i32* nocapture %arg2, i32* nocapture %arg3, i32 %arg4, i32 %arg5) optsize ssp {<br>
+define void @f(i32* nocapture %arg, i32* nocapture %arg1, i32* nocapture %arg2, i32* nocapture %arg3, i32 %arg4, i32 %arg5) optsize ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 bb:<br>
   br i1 undef, label %bb6, label %bb7<br>
<br>
@@ -43,7 +43,7 @@ bb11:<br>
<br>
 bb20:                                             ; preds = %bb43, %bb41, %bb29, %bb7<br>
   %tmp21 = phi i32 [ undef, %bb7 ], [ %tmp12, %bb43 ], [ %tmp12, %bb29 ], [ %tmp12, %bb41 ]<br>
-  %tmp22 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %tmp22 = landingpad { i8*, i32 }<br>
           catch i8* bitcast ({ i8*, i8* }* @Exception to i8*)<br>
   br i1 undef, label %bb23, label %bb69<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2012-05-19-CoalescerCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2012-2D05-2D19-2DCoalescerCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=83U8y8X82S2aLezN0Td8duqB5yBvQ1ShqOUxReHNLDo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2012-05-19-CoalescerCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2012-05-19-CoalescerCrash.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2012-05-19-CoalescerCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -7,7 +7,7 @@<br>
<br>
 target triple = "i386-pc-linux-gnu"<br>
<br>
-define void @_ZN4llvm17AsmMatcherEmitter3runERNS_11raw_ostreamE() align 2 {<br>
+define void @_ZN4llvm17AsmMatcherEmitter3runERNS_11raw_ostreamE() align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
   invoke void @_ZNK4llvm13CodeGenTarget12getAsmParserEv()<br>
           to label %1 unwind label %5<br>
<br>
@@ -16,7 +16,7 @@ define void @_ZN4llvm17AsmMatcherEmitter<br>
           to label %4 unwind label %2<br>
<br>
 ; <label>:2                                       ; preds = %1<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -25,12 +25,12 @@ define void @_ZN4llvm17AsmMatcherEmitter<br>
           to label %12 unwind label %7<br>
<br>
 ; <label>:5                                       ; preds = %0<br>
-  %6 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %6 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %33<br>
<br>
 ; <label>:7                                       ; preds = %4<br>
-  %8 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %8 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %9<br>
<br>
@@ -52,7 +52,7 @@ define void @_ZN4llvm17AsmMatcherEmitter<br>
   br i1 %15, label %20, label %18<br>
<br>
 ; <label>:16                                      ; preds = %12<br>
-  %17 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %17 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %26<br>
<br>
@@ -67,7 +67,7 @@ define void @_ZN4llvm17AsmMatcherEmitter<br>
   br label %14<br>
<br>
 ; <label>:21                                      ; preds = %18<br>
-  %22 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %22 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %23 = extractvalue { i8*, i32 } %22, 1<br>
   br i1 undef, label %26, label %24<br>
@@ -88,7 +88,7 @@ define void @_ZN4llvm17AsmMatcherEmitter<br>
   br label %9<br>
<br>
 ; <label>:30                                      ; preds = %26<br>
-  %31 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %31 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   unreachable<br>
<br>
@@ -100,7 +100,7 @@ define void @_ZN4llvm17AsmMatcherEmitter<br>
   unreachable<br>
<br>
 ; <label>:35                                      ; preds = %9<br>
-  %36 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %36 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/2012-11-30-misched-dbg.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_2012-2D11-2D30-2Dmisched-2Ddbg.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=q7TqQ9Cm24RP_L7Z7nZkNgb3KX4UQ_rZ5JFXJdSDp44&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2012-11-30-misched-dbg.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/2012-11-30-misched-dbg.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/2012-11-30-misched-dbg.ll Wed Jun 17 15:52:32 2015<br>
@@ -99,7 +99,7 @@ declare i32 @__sprintf_chk(i8*, i32, i64<br>
 %"class.__gnu_cxx::hash_map" = type { %"class.__gnu_cxx::hashtable" }<br>
 %"class.__gnu_cxx::hashtable" = type { i64, i64, i64, i64, i64, i64 }<br>
<br>
-define void @main() uwtable ssp {<br>
+define void @main() uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %X = alloca %"class.__gnu_cxx::hash_map", align 8<br>
   br i1 undef, label %cond.true, label %cond.end<br>
@@ -117,7 +117,7 @@ exit.i:<br>
   unreachable<br>
<br>
 lpad2.i.i.i.i:                                    ; preds = %cond.end<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br i1 undef, label %lpad.body.i.i, label %if.then.i.i.i.i.i.i.i.i<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/asm-label2.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_asm-2Dlabel2.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=PRioTHBAi3vIW3V4dDOGxrRF9fQbWd_1HgjC3k3fnGQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/asm-label2.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/asm-label2.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/asm-label2.ll Wed Jun 17 15:52:32 2015<br>
@@ -7,7 +7,7 @@<br>
 ; CHECK:        jmp     LBB0_1<br>
 ; CHECK: LBB0_1:<br>
<br>
-define void @foobar()  {<br>
+define void @foobar() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @_zed()<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -16,7 +16,7 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/block-placement.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_block-2Dplacement.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ZwS5tmTTTPMvjEjbz_EpWyoorKg7xnpdV-2PMDY-XJ4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/block-placement.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/block-placement.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/block-placement.ll Wed Jun 17 15:52:32 2015<br>
@@ -546,7 +546,7 @@ exit:<br>
<br>
 declare i32 @__gxx_personality_v0(...)<br>
<br>
-define void @test_eh_lpad_successor() {<br>
+define void @test_eh_lpad_successor() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 ; Some times the landing pad ends up as the first successor of an invoke block.<br>
 ; When this happens, a strange result used to fall out of updateTerminators: we<br>
 ; didn't correctly locate the fallthrough successor, assuming blindly that the<br>
@@ -564,7 +564,7 @@ preheader:<br>
   br label %loop<br>
<br>
 lpad:<br>
-  %lpad.val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %lpad.val = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } %lpad.val<br>
<br>
@@ -574,7 +574,7 @@ loop:<br>
<br>
 declare void @fake_throw() noreturn<br>
<br>
-define void @test_eh_throw() {<br>
+define void @test_eh_throw() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 ; For blocks containing a 'throw' (or similar functionality), we have<br>
 ; a no-return invoke. In this case, only EH successors will exist, and<br>
 ; fallthrough simply won't occur. Make sure we don't crash trying to update<br>
@@ -591,7 +591,7 @@ continue:<br>
   unreachable<br>
<br>
 cleanup:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/branchfolding-landingpads.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_branchfolding-2Dlandingpads.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=esC6H35KcO3U19E7Jqg4y8GA2BF5qlcTwDF0focNxOo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/branchfolding-landingpads.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/branchfolding-landingpads.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/branchfolding-landingpads.ll Wed Jun 17 15:52:32 2015<br>
@@ -18,20 +18,20 @@ declare void @_throw()<br>
 ; CHECK-LABEL: @main<br>
 ; CHECK: %unreachable<br>
<br>
-define i32 @main(i8* %cleanup) {<br>
+define i32 @main(i8* %cleanup) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @_throw() #0<br>
           to label %unreachable unwind label %catch.dispatch9<br>
<br>
 catch.dispatch9:                                  ; preds = %entry<br>
-  %tmp13 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %tmp13 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* null<br>
   invoke void @_throw() #0<br>
           to label %unreachable unwind label %lpad31<br>
<br>
 lpad31:                                           ; preds = %catch.dispatch9<br>
-  %tmp20 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %tmp20 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* null<br>
   call void @foo()<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/catch.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_catch.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=2jVEKrnpML_9SR6_S70DsmT0qlZWWjUCB12a6V2NQGs&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/catch.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/catch.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/catch.ll Wed Jun 17 15:52:32 2015<br>
@@ -7,13 +7,13 @@<br>
 ; CHECK-NEXT: .quad   .Lstr<br>
<br>
 @str = private unnamed_addr constant [12 x i8] c"NSException\00"<br>
-define void @f() {<br>
+define void @f() personality i8* bitcast (void ()* @h to i8*) {<br>
   invoke void @g()<br>
           to label %invoke.cont unwind label %lpad<br>
 invoke.cont:<br>
   ret void<br>
 lpad:<br>
-  %tmp14 = landingpad { i8*, i32 } personality i8* bitcast (void ()* @h to i8*)<br>
+  %tmp14 = landingpad { i8*, i32 }<br>
            catch i8* getelementptr inbounds ([12 x i8], [12 x i8]* @str, i64 0, i64 0)<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/cfi.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_cfi.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Yc3eB3x6isJHlAi6MVgpIcpDNrtYSmS0EX5b6G7r7Mo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/cfi.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/cfi.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/cfi.ll Wed Jun 17 15:52:32 2015<br>
@@ -8,7 +8,7 @@<br>
 ; PIC: .cfi_lsda 27, .Lexception0<br>
<br>
<br>
-define void @bar() {<br>
+define void @bar() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   %call = invoke i32 @foo()<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -17,7 +17,7 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             catch i8* null<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/code_placement_eh.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_code-5Fplacement-5Feh.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=xB7Hs-BglLY7odmtOa8SupIJOCLQuuE6T0RhqRsnm8g&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/code_placement_eh.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/code_placement_eh.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/code_placement_eh.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@<br>
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32"<br>
 target triple = "i386-apple-darwin10.0"<br>
<br>
-define void @foo() {<br>
+define void @foo() personality i32 (...)* @__gxx_personality_v0 {<br>
 invcont5:<br>
   br label %bb15<br>
<br>
@@ -22,12 +22,12 @@ bb18.i5.i:<br>
           to label %.noexc6.i.i unwind label %lpad.i.i ; <float> [#uses=0]<br>
<br>
 lpad.i.i:                                         ; preds = %bb18.i5.i, %.noexc6.i.i<br>
-  %lpadval.i.i = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %lpadval.i.i = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   unreachable<br>
<br>
 lpad59.i:                                         ; preds = %bb15<br>
-  %lpadval60.i.i = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %lpadval60.i.i = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   unreachable<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/dwarf-eh-prepare.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_dwarf-2Deh-2Dprepare.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=BINr81bbx6_jtc2zllIjjImIiBmW7Le6ELLODwp8-f0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dwarf-eh-prepare.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/dwarf-eh-prepare.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/dwarf-eh-prepare.ll Wed Jun 17 15:52:32 2015<br>
@@ -9,7 +9,7 @@<br>
 declare void @might_throw()<br>
 declare void @cleanup()<br>
<br>
-define i32 @simple_cleanup_catch() {<br>
+define i32 @simple_cleanup_catch() personality i32 (...)* @__gxx_personality_v0 {<br>
   invoke void @might_throw()<br>
           to label %cont unwind label %lpad<br>
<br>
@@ -22,7 +22,7 @@ cont:<br>
 ; CHECK: ret i32 0<br>
<br>
 lpad:<br>
-  %ehvals = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %ehvals = landingpad { i8*, i32 }<br>
       cleanup<br>
       catch i8* @int_typeinfo<br>
   %ehptr = extractvalue { i8*, i32 } %ehvals, 0<br>
@@ -33,7 +33,7 @@ lpad:<br>
   br i1 %int_match, label %catch_int, label %eh.resume<br>
<br>
 ; CHECK: lpad:<br>
-; CHECK: landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK: landingpad { i8*, i32 }<br>
 ; CHECK: call void @cleanup()<br>
 ; CHECK: call i32 @llvm.eh.typeid.for<br>
 ; CHECK: br i1<br>
@@ -54,7 +54,7 @@ eh.resume:<br>
 }<br>
<br>
<br>
-define i32 @catch_no_resume() {<br>
+define i32 @catch_no_resume() personality i32 (...)* @__gxx_personality_v0 {<br>
   invoke void @might_throw()<br>
           to label %cont unwind label %lpad<br>
<br>
@@ -62,7 +62,7 @@ cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %ehvals = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %ehvals = landingpad { i8*, i32 }<br>
       catch i8* @int_typeinfo<br>
   %ehptr = extractvalue { i8*, i32 } %ehvals, 0<br>
   %ehsel = extractvalue { i8*, i32 } %ehvals, 1<br>
@@ -81,18 +81,18 @@ eh.resume:<br>
<br>
 ; Check that we can prune the unreachable resume instruction.<br>
<br>
-; CHECK-LABEL: define i32 @catch_no_resume() {<br>
+; CHECK-LABEL: define i32 @catch_no_resume() personality i32 (...)* @__gxx_personality_v0 {<br>
 ; CHECK: invoke void @might_throw()<br>
 ; CHECK: ret i32 0<br>
 ; CHECK: lpad:<br>
-; CHECK: landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK: landingpad { i8*, i32 }<br>
 ; CHECK-NOT: br i1<br>
 ; CHECK: ret i32 1<br>
 ; CHECK-NOT: call void @_Unwind_Resume<br>
 ; CHECK: {{^[}]}}<br>
<br>
<br>
-define i32 @catch_cleanup_merge() {<br>
+define i32 @catch_cleanup_merge() personality i32 (...)* @__gxx_personality_v0 {<br>
   invoke void @might_throw()<br>
           to label %inner_invoke unwind label %outer_lpad<br>
 inner_invoke:<br>
@@ -102,12 +102,12 @@ cont:<br>
   ret i32 0<br>
<br>
 outer_lpad:<br>
-  %ehvals1 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %ehvals1 = landingpad { i8*, i32 }<br>
       catch i8* @int_typeinfo<br>
   br label %catch.dispatch<br>
<br>
 inner_lpad:<br>
-  %ehvals2 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %ehvals2 = landingpad { i8*, i32 }<br>
       cleanup<br>
       catch i8* @int_typeinfo<br>
   call void @cleanup()<br>
@@ -138,11 +138,11 @@ eh.resume:<br>
 ; CHECK: ret i32 0<br>
 ;<br>
 ; CHECK: outer_lpad:<br>
-; CHECK: landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK: landingpad { i8*, i32 }<br>
 ; CHECK: br label %catch.dispatch<br>
 ;<br>
 ; CHECK: inner_lpad:<br>
-; CHECK: landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK: landingpad { i8*, i32 }<br>
 ; CHECK: call void @cleanup()<br>
 ; CHECK: br label %catch.dispatch<br>
 ;<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/eh-label.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_eh-2Dlabel.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=WZCy1fO25xw7NANdej-et6lJOF1oM_JxgRL3EkWqxE4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/eh-label.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/eh-label.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/eh-label.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
<br>
 declare void @g()<br>
<br>
-define void @f() {<br>
+define void @f() personality i8* bitcast (void ()* @g to i8*) {<br>
 bb0:<br>
   call void asm ".Lfunc_end0:", ""()<br>
 ; CHECK: #APP<br>
@@ -12,7 +12,7 @@ bb0:<br>
<br>
   invoke void @g() to label %bb2 unwind label %bb1<br>
 bb1:<br>
-  landingpad { i8*, i32 } personality i8* bitcast (void ()* @g to i8*)<br>
+  landingpad { i8*, i32 }<br>
           catch i8* null<br>
   call void @g()<br>
   ret void<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/exception-label.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_exception-2Dlabel.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=lEMPXgjppzdBd_-K9Cg8-pNpQ08rpxe1O8jy4c4itQE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/exception-label.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/exception-label.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/exception-label.ll Wed Jun 17 15:52:32 2015<br>
@@ -8,13 +8,13 @@<br>
<br>
 declare void @g()<br>
<br>
-define void @f() {<br>
+define void @f() personality i8* bitcast (void ()* @g to i8*) {<br>
 bb0:<br>
   call void asm ".Lexception0:", ""()<br>
   invoke void @g()<br>
           to label %bb2 unwind label %bb1<br>
 bb1:<br>
-  landingpad { i8*, i32 } personality i8* bitcast (void ()* @g to i8*)<br>
+  landingpad { i8*, i32 }<br>
           catch i8* null<br>
   br label %bb2<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/fast-isel-cmp-branch.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_fast-2Disel-2Dcmp-2Dbranch.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=CfBdFhTfEPfMHkpJVPzQICeDCLYchmOoBGENsLlQJ3o&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fast-isel-cmp-branch.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/fast-isel-cmp-branch.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/fast-isel-cmp-branch.ll Wed Jun 17 15:52:32 2015<br>
@@ -12,7 +12,7 @@<br>
<br>
 declare void @bar()<br>
<br>
-define void @foo(i32 %a, i32 %b) nounwind {<br>
+define void @foo(i32 %a, i32 %b) nounwind personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   %q = add i32 %a, 7<br>
   %r = add i32 %b, 9<br>
@@ -26,7 +26,7 @@ true:<br>
 return:<br>
   ret void<br>
 unw:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/fast-isel-gep.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_fast-2Disel-2Dgep.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=y5hu7qR7FPTYGKo1Jc8kKNQ3vRGwf27JeVGYci-ekrk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fast-isel-gep.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/fast-isel-gep.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/fast-isel-gep.ll Wed Jun 17 15:52:32 2015<br>
@@ -89,7 +89,7 @@ define i64 @test5(i8* %A, i32 %I, i64 %B<br>
 ; PR9500, rdar://9156159 - Don't do non-local address mode folding,<br>
 ; because it may require values which wouldn't otherwise be live out<br>
 ; of their blocks.<br>
-define void @test6() {<br>
+define void @test6() personality i32 (...)* @__gxx_personality_v0 {<br>
 if.end:                                           ; preds = %if.then, %invoke.cont<br>
   %tmp15 = load i64, i64* undef<br>
   %dec = add i64 %tmp15, 13<br>
@@ -103,7 +103,7 @@ invoke.cont16:<br>
   unreachable<br>
<br>
 lpad:                                             ; preds = %if.end19, %if.then14, %if.end, %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/gcc_except_table.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_gcc-5Fexcept-5Ftable.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=h4hiW06lEAbVQDeZVTPuLQDK_0Pc4edcrjefUCkE6ag&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/gcc_except_table.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/gcc_except_table.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/gcc_except_table.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
 ; RUN: llc -mtriple i686-pc-windows-gnu %s -o -   | FileCheck %s   --check-prefix=MINGW32<br>
 @_ZTIi = external constant i8*<br>
<br>
-define i32 @main() uwtable optsize ssp {<br>
+define i32 @main() uwtable optsize ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 ; APPLE: .cfi_startproc<br>
 ; APPLE: .cfi_personality 155, ___gxx_personality_v0<br>
 ; APPLE: .cfi_lsda 16, Lexception0<br>
@@ -36,7 +36,7 @@ entry:<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   br label %eh.resume<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/gcc_except_table_functions.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_gcc-5Fexcept-5Ftable-5Ffunctions.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=XfrkL3Fmf_fWb7qXAN9xVhVp4yl2Gbxw9WN7y_jim8I&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/gcc_except_table_functions.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/gcc_except_table_functions.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/gcc_except_table_functions.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,7 +10,7 @@ declare void @filt1()<br>
 declare void @_Z1fv()<br>
 declare i32 @llvm.eh.typeid.for(i8*)<br>
<br>
-define i32 @main() uwtable {<br>
+define i32 @main() uwtable personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @_Z1fv()<br>
           to label %try.cont unwind label %lpad<br>
@@ -19,7 +19,7 @@ try.cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast (void ()* @filt0 to i8*)<br>
           catch i8* bitcast (void ()* @filt1 to i8*)<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/global-sections.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_global-2Dsections.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=qB6qCopyS-aCc9kTQXd8yNMVfmG0MUkEqcvva7tYErE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/global-sections.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/global-sections.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/global-sections.ll Wed Jun 17 15:52:32 2015<br>
@@ -61,12 +61,12 @@ bb5:<br>
<br>
 declare void @G()<br>
<br>
-define void @F3(i32 %y) {<br>
+define void @F3(i32 %y) personality i8* bitcast (void ()* @G to i8*) {<br>
 bb0:<br>
   invoke void @G()<br>
           to label %bb2 unwind label %bb1<br>
 bb1:<br>
-  landingpad { i8*, i32 } personality i8* bitcast (void ()* @G to i8*)<br>
+  landingpad { i8*, i32 }<br>
           catch i8* null<br>
   br label %bb2<br>
 bb2:<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/inalloca-invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_inalloca-2Dinvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ttglHKdm1gOWd8nLTyOYjskxiQ-QeobndZk2OAp0XI8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/inalloca-invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/inalloca-invoke.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/inalloca-invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -11,7 +11,7 @@ declare void @begin(%Iter* sret)<br>
 declare void @plus(%Iter* sret, %Iter*, i32)<br>
 declare void @reverse(%frame.reverse* inalloca align 4)<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i32 (...)* @pers {<br>
   %temp.lvalue = alloca %Iter<br>
   br label %blah<br>
<br>
@@ -49,7 +49,7 @@ invoke.cont5:<br>
   ret i32 0<br>
<br>
 lpad:                                             ; preds = %invoke.cont, %entry<br>
-  %lp = landingpad { i8*, i32 } personality i32 (...)* @pers<br>
+  %lp = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/indirect-hidden.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_indirect-2Dhidden.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=QbVEnjzh6NrxOlBWGO08y0d3q2bOZ8QM0dAmAQHCGB4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/indirect-hidden.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/indirect-hidden.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/indirect-hidden.ll Wed Jun 17 15:52:32 2015<br>
@@ -8,10 +8,10 @@<br>
<br>
 declare void @throws()<br>
<br>
-define void @get_indirect_hidden() {<br>
+define void @get_indirect_hidden() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
   invoke void @throws() to label %end unwind label %lpad<br>
 lpad:<br>
-  %tmp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %tmp = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @hidden_typeid to i8*)<br>
   br label %end<br>
<br>
@@ -19,10 +19,10 @@ end:<br>
   ret void<br>
 }<br>
<br>
-define void @get_indirect() {<br>
+define void @get_indirect() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
   invoke void @throws() to label %end unwind label %lpad<br>
 lpad:<br>
-  %tmp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %tmp = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @normal_typeid to i8*)<br>
   br label %end<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/large-gep-chain.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_large-2Dgep-2Dchain.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=RrF1kkRgt_xGgv-Bt6QDVx9-0bCgz3CVI7NqRbVBuhk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/large-gep-chain.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/large-gep-chain.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/large-gep-chain.ll Wed Jun 17 15:52:32 2015<br>
@@ -13,7 +13,7 @@<br>
 @7 = external unnamed_addr constant [27 x i8], align 1<br>
 @8 = external unnamed_addr constant [63 x i8], align 1<br>
<br>
-define void @main() uwtable ssp {<br>
+define void @main() uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 bb:<br>
   br i1 undef, label %bb1, label %bb2<br>
<br>
@@ -25313,7 +25313,7 @@ bb25275:<br>
   br label %bb25272<br>
<br>
 bb25276:                                          ; preds = %bb25283, %bb25274, %bb25273<br>
-  %tmp25277 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %tmp25277 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %bb25361<br>
<br>
@@ -25383,7 +25383,7 @@ bb25297:<br>
   br label %bb25300<br>
<br>
 bb25298:                                          ; preds = %bb25296, %bb25295, %bb25290, %bb25287<br>
-  %tmp25299 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %tmp25299 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %bb25360<br>
<br>
@@ -25461,7 +25461,7 @@ bb25323:<br>
           to label %bb25326 unwind label %bb25324<br>
<br>
 bb25324:                                          ; preds = %bb25357, %bb25344, %bb25343, %bb25342, %bb25337, %bb25334, %bb25333, %bb25323, %bb25313, %bb25307, %bb25306<br>
-  %tmp25325 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %tmp25325 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %bb25359<br>
<br>
@@ -25562,7 +25562,7 @@ bb25354:<br>
   br label %bb25358<br>
<br>
 bb25355:                                          ; preds = %bb25353, %bb25352, %bb25351<br>
-  %tmp25356 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %tmp25356 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %bb25359<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/patchpoint-invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_patchpoint-2Dinvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=S-m5R8jerS9WOJ8AHswEEOqxtiMGXizhGbLTANBiK-c&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/patchpoint-invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/patchpoint-invoke.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/patchpoint-invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,7 +2,7 @@<br>
<br>
 ; Test invoking of patchpoints<br>
 ;<br>
-define i64 @patchpoint_invoke(i64 %p1, i64 %p2) {<br>
+define i64 @patchpoint_invoke(i64 %p1, i64 %p2) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; CHECK-LABEL: patchpoint_invoke:<br>
 ; CHECK-NEXT:  [[FUNC_BEGIN:.L.*]]:<br>
@@ -25,7 +25,7 @@ success:<br>
   ret i64 %result<br>
<br>
 threw:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret i64 0<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/personality.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_personality.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=R-Ihe6xHwgCj_mY_Sw7cgbwwa0pnMSq8fFHBSWr6l1M&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/personality.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/personality.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/personality.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,13 +2,13 @@<br>
 ; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s -check-prefix=X32<br>
 ; PR1632<br>
<br>
-define void @_Z1fv() {<br>
+define void @_Z1fv() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @_Z1gv()<br>
           to label %return unwind label %unwind<br>
<br>
 unwind:                                           ; preds = %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   br i1 false, label %eh_then, label %cleanup20<br>
<br>
@@ -17,7 +17,7 @@ eh_then:<br>
           to label %return unwind label %unwind10<br>
<br>
 unwind10:                                         ; preds = %eh_then<br>
-  %exn10 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn10 = landingpad {i8*, i32}<br>
             cleanup<br>
   %upgraded.eh_select13 = extractvalue { i8*, i32 } %exn10, 1<br>
   %upgraded.eh_select131 = sext i32 %upgraded.eh_select13 to i64<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/personality_size.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_personality-5Fsize.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=nTWtC3X3YtP7PUj4Qw_Uue5uzQcpQg1KEE57mR58h8o&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/personality_size.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/personality_size.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/personality_size.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,13 +2,13 @@<br>
 ; RUN: llc < %s -relocation-model=pic -mtriple=i386-pc-solaris2.11 | FileCheck %s -check-prefix=X32<br>
 ; PR1632<br>
<br>
-define void @_Z1fv() {<br>
+define void @_Z1fv() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @_Z1gv()<br>
           to label %return unwind label %unwind<br>
<br>
 unwind:                                           ; preds = %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   ret void<br>
<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/pr3522.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_pr3522.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=shfXvxoBcPUKG95fbHtg2AxcmLiZMGycrM7aIAfPgaE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/pr3522.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/pr3522.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/pr3522.ll Wed Jun 17 15:52:32 2015<br>
@@ -5,7 +5,7 @@<br>
 target triple = "i386-pc-linux-gnu"<br>
 @.str = external constant [13 x i8]            ; <[13 x i8]*> [#uses=1]<br>
<br>
-define void @_ada_c34018a() {<br>
+define void @_ada_c34018a() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        %0 = tail call i32 @report__ident_int(i32 90)           ; <i32> [#uses=1]<br>
        %1 = trunc i32 %0 to i8         ; <i8> [#uses=1]<br>
@@ -22,7 +22,7 @@ return:               ; preds = %lpad<br>
        ret void<br>
<br>
 lpad:          ; preds = %entry<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
        %2 = icmp eq i8 %1, 90          ; <i1> [#uses=1]<br>
        br i1 %2, label %return, label %bb22<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/scev-interchange.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_scev-2Dinterchange.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Hh2fSeNxTdlMuka6fUoUvw6grQHe1dN3RhWFkZOUUPQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/scev-interchange.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/scev-interchange.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/scev-interchange.ll Wed Jun 17 15:52:32 2015<br>
@@ -51,7 +51,7 @@ declare fastcc void @_ZN11FE_Q_Helper12_<br>
<br>
 declare fastcc void @_ZN4FE_QILi3EE14get_dpo_vectorEj(%"struct.std::vector<int,std::allocator<int> >"* noalias nocapture sret, i32)<br>
<br>
-define fastcc void @_ZN4FE_QILi3EEC1Ej(i32 %degree) {<br>
+define fastcc void @_ZN4FE_QILi3EEC1Ej(i32 %degree) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        invoke fastcc void @_ZNSt6vectorIbSaIbEEC1EmRKbRKS0_(%"struct.std::vector<bool,std::allocator<bool> >"* undef, i64 1, i8* undef)<br>
                        to label %invcont.i unwind label %lpad.i<br>
@@ -149,7 +149,7 @@ bb71.i:             ; preds = %bb.i.i.i262.i, %bb66<br>
                        to label %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i.i unwind label %lpad.i.i.i.i.i.i            ; <i8*> [#uses=0]<br>
<br>
 lpad.i.i.i.i.i.i:              ; preds = %bb71.i<br>
-        %exn.i.i.i.i.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.i.i.i.i.i.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
@@ -164,7 +164,7 @@ _ZNSt6vectorIjSaIjEED1Ev.exit.i.i:          ; pr<br>
                        to label %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i12.i.i unwind label %lpad.i.i.i.i8.i.i         ; <i8*> [#uses=0]<br>
<br>
 lpad.i.i.i.i8.i.i:             ; preds = %_ZNSt6vectorIjSaIjEED1Ev.exit.i.i<br>
-        %exn.i.i.i.i8.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.i.i.i.i8.i.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        invoke void @_Unwind_Resume(i8* undef)<br>
                        to label %.noexc.i9.i.i unwind label %lpad.i19.i.i<br>
@@ -183,7 +183,7 @@ bb50.i.i.i:         ; preds = %bb.i.i.i.i.i.i.i<br>
                        to label %bb83.i unwind label %lpad188.i<br>
<br>
 lpad.i19.i.i:          ; preds = %lpad.i.i.i.i8.i.i<br>
-        %exn.i19.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.i19.i.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
@@ -198,7 +198,7 @@ invcont84.i:                ; preds = %bb83.i<br>
                        to label %_ZNSt12_Vector_baseIjSaIjEEC2EmRKS0_.exit.i.i.i.i unwind label %lpad.i.i.i.i315.i             ; <i8*> [#uses=0]<br>
<br>
 lpad.i.i.i.i315.i:             ; preds = %invcont84.i<br>
-        %exn.i.i.i.i315.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.i.i.i.i315.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        invoke void @_Unwind_Resume(i8* undef)<br>
                        to label %.noexc.i316.i unwind label %lpad.i352.i<br>
@@ -217,7 +217,7 @@ bb50.i.i:           ; preds = %bb.i.i.i.i.i.i.i.i<br>
                        to label %invcont86.i unwind label %lpad200.i<br>
<br>
 lpad.i352.i:           ; preds = %lpad.i.i.i.i315.i<br>
-        %exn.i352.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.i352.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
@@ -242,7 +242,7 @@ invcont101.i:               ; preds = %bb100.i<br>
                        to label %_ZN10FullMatrixIdEC1Ejj.exit.i.i unwind label %lpad.i.i.i.i.i<br>
<br>
 lpad.i.i.i.i.i:                ; preds = %invcont101.i<br>
-        %exn.i.i.i.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.i.i.i.i.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
@@ -251,7 +251,7 @@ _ZN10FullMatrixIdEC1Ejj.exit.i.i:           ; pre<br>
                        to label %_ZN10FullMatrixIdEC1Ejj.exit28.i.i unwind label %lpad.i.i.i27.i.i<br>
<br>
 lpad.i.i.i27.i.i:              ; preds = %_ZN10FullMatrixIdEC1Ejj.exit.i.i<br>
-        %exn.i.i.i27.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.i.i.i27.i.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        invoke void @_Unwind_Resume(i8* undef)<br>
                        to label %.noexc.i.i unwind label %lpad.i.i<br>
@@ -272,7 +272,7 @@ bb.i.i.i297.i.i:            ; preds = %bb58.i.i<br>
        unreachable<br>
<br>
 lpad.i.i:              ; preds = %lpad.i.i.i27.i.i<br>
-        %exn.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.i.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
@@ -312,67 +312,67 @@ bb29.loopexit.i.i:                ; preds = %.noexc232<br>
        br label %bb9.i216.i<br>
<br>
 lpad.i:                ; preds = %entry<br>
-        %exn.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad120.i:             ; preds = %invcont.i<br>
-        %exn120.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn120.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad124.i:             ; preds = %invcont1.i<br>
-        %exn124.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn124.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad128.i:             ; preds = %invcont3.i<br>
-        %exn128.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn128.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad132.i:             ; preds = %invcont4.i<br>
-        %exn132.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn132.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad136.i:             ; preds = %invcont6.i<br>
-        %exn136.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn136.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad140.i:             ; preds = %bb21.i, %invcont7.i<br>
-        %exn140.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn140.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad144.i:             ; preds = %bb10.i168.i, %invcont9.i<br>
-        %exn144.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn144.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad148.i:             ; preds = %invcont10.i<br>
-        %exn148.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn148.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad188.i:             ; preds = %bb50.i.i.i<br>
-        %exn188.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn188.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad196.i:             ; preds = %bb.i191.i<br>
-        %exn196 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn196 = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad200.i:             ; preds = %bb50.i.i<br>
-        %exn200.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn200.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad204.i:             ; preds = %invcont86.i<br>
-        %exn204.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn204.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/seh-catch-all-win32.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_seh-2Dcatch-2Dall-2Dwin32.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=xaIZMVwiV-GBufCR9uo75fOY2wC9N2RWh5MgrsWJx3c&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/seh-catch-all-win32.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/seh-catch-all-win32.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/seh-catch-all-win32.ll Wed Jun 17 15:52:32 2015<br>
@@ -14,7 +14,7 @@ declare i8* @llvm.framerecover(i8*, i8*,<br>
 declare void @llvm.frameescape(...)<br>
 declare i8* @llvm.x86.seh.exceptioninfo(i8*, i8*)<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @_except_handler3 to i8*) {<br>
 entry:<br>
   %__exceptioncode = alloca i32, align 4<br>
   call void (...) @llvm.frameescape(i32* %__exceptioncode)<br>
@@ -22,7 +22,7 @@ entry:<br>
           to label %__try.cont unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @_except_handler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i32 ()* @"filt$main" to i8*)<br>
   %1 = extractvalue { i8*, i32 } %0, 1<br>
   %2 = call i32 @llvm.eh.typeid.for(i8* bitcast (i32 ()* @"filt$main" to i8*)) #4<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/seh-catch-all.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_seh-2Dcatch-2Dall.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=pI0j3LWlNRLzUUpZDT8WCF0Ow9SeaANOr-F4LzQIvs8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/seh-catch-all.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/seh-catch-all.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/seh-catch-all.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,13 +6,13 @@ declare i32 @__C_specific_handler(...)<br>
 declare void @crash()<br>
 declare i32 @printf(i8* nocapture readonly, ...) nounwind<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   invoke void @crash()<br>
           to label %__try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = ptrtoint i8* %1 to i64<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/seh-except-finally.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_seh-2Dexcept-2Dfinally.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=u181dMCxz8NsblqZl8MAKoWRzsWkFFREhkM0MorEoww&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/seh-except-finally.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/seh-except-finally.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/seh-except-finally.ll Wed Jun 17 15:52:32 2015<br>
@@ -33,7 +33,7 @@ declare void @crash()<br>
 declare i32 @filt()<br>
<br>
 ; Function Attrs: nounwind uwtable<br>
-define void @use_both() #1 {<br>
+define void @use_both() #1 personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   %exn.slot = alloca i8*<br>
   %ehselector.slot = alloca i32<br>
@@ -49,7 +49,7 @@ invoke.cont2:<br>
   br label %__try.cont<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast (i32 (i8*, i8*)* @"\01?filt$0@0@use_both@@" to i8*)<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
@@ -61,7 +61,7 @@ lpad:<br>
           to label %invoke.cont3 unwind label %lpad1<br>
<br>
 lpad1:                                            ; preds = %lpad, %invoke.cont<br>
-  %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %5 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i32 (i8*, i8*)* @"\01?filt$0@0@use_both@@" to i8*)<br>
   %6 = extractvalue { i8*, i32 } %5, 0<br>
   store i8* %6, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/seh-filter.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_seh-2Dfilter.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=rTmCbehfgwnpGX5Vtvoi2l-Ay30EkryWiuDIkvgBeP0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/seh-filter.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/seh-filter.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/seh-filter.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,14 +1,14 @@<br>
 ; RUN: llc -O0 -mtriple=x86_64-windows-msvc < %s | FileCheck %s<br>
<br>
 declare void @g()<br>
-define void @f() {<br>
+define void @f() personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
   invoke void @g() to label %return unwind label %lpad<br>
<br>
 return:<br>
   ret void<br>
<br>
 lpad:<br>
-  %ehptrs = landingpad {i8*, i32} personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %ehptrs = landingpad {i8*, i32}<br>
     filter [0 x i8*] zeroinitializer<br>
   call void @__cxa_call_unexpected(i8* null)<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/seh-finally.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_seh-2Dfinally.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=erSCUhO7QtoP1LL-X1Rg1mJXYKqYsX_M5vZriUwGFTI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/seh-finally.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/seh-finally.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/seh-finally.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@<br>
<br>
 declare void @crash()<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   invoke void @crash()<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -17,7 +17,7 @@ invoke.cont:<br>
   ret i32 0<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = extractvalue { i8*, i32 } %0, 1<br>
@@ -28,7 +28,7 @@ invoke.cont1:<br>
   resume { i8*, i32 } %0<br>
<br>
 terminate.lpad:                                   ; preds = %lpad<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   call void @abort()<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/seh-safe-div-win32.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_seh-2Dsafe-2Ddiv-2Dwin32.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ImoeqHCiFgyAi8CLW3INCowPj4EkexoGkY6oxeqJtns&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/seh-safe-div-win32.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/seh-safe-div-win32.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/seh-safe-div-win32.ll Wed Jun 17 15:52:32 2015<br>
@@ -23,7 +23,7 @@<br>
 @str1 = internal constant [27 x i8] c"EXCEPTION_ACCESS_VIOLATION\00"<br>
 @str2 = internal constant [29 x i8] c"EXCEPTION_INT_DIVIDE_BY_ZERO\00"<br>
<br>
-define i32 @safe_div(i32* %n, i32* %d) {<br>
+define i32 @safe_div(i32* %n, i32* %d) personality i8* bitcast (i32 (...)* @_except_handler3 to i8*) {<br>
 entry:<br>
   %r = alloca i32, align 4<br>
   store i32 42, i32* %r<br>
@@ -31,7 +31,7 @@ entry:<br>
           to label %__try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %vals = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @_except_handler3 to i8*)<br>
+  %vals = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i32 ()* @safe_div_filt0 to i8*)<br>
           catch i8* bitcast (i32 ()* @safe_div_filt1 to i8*)<br>
   %ehptr = extractvalue { i8*, i32 } %vals, 0<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/seh-safe-div.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_seh-2Dsafe-2Ddiv.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=97fVcS_q25inLqlPGPCALaQYraCJCn5JB8Sg7mNXMDs&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/seh-safe-div.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/seh-safe-div.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/seh-safe-div.ll Wed Jun 17 15:52:32 2015<br>
@@ -23,14 +23,14 @@<br>
 @str1 = internal constant [27 x i8] c"EXCEPTION_ACCESS_VIOLATION\00"<br>
 @str2 = internal constant [29 x i8] c"EXCEPTION_INT_DIVIDE_BY_ZERO\00"<br>
<br>
-define i32 @safe_div(i32* %n, i32* %d) {<br>
+define i32 @safe_div(i32* %n, i32* %d) personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   %r = alloca i32, align 4<br>
   invoke void @try_body(i32* %r, i32* %n, i32* %d)<br>
           to label %__try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %vals = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %vals = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i32 (i8*, i8*)* @safe_div_filt0 to i8*)<br>
           catch i8* bitcast (i32 (i8*, i8*)* @safe_div_filt1 to i8*)<br>
   %ehptr = extractvalue { i8*, i32 } %vals, 0<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/setjmp-spills.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_setjmp-2Dspills.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=9j9F7mrJxauRrHMtJq0Op4h4xAHJQFyobVHgNYi-P4A&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/setjmp-spills.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/setjmp-spills.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/setjmp-spills.ll Wed Jun 17 15:52:32 2015<br>
@@ -78,7 +78,7 @@ second:<br>
 ; This is the same as above, but using "invoke" rather than "call" to<br>
 ; call setjmp().<br>
<br>
-define void @setjmp_invoker() {<br>
+define void @setjmp_invoker() personality void ()* @personality {<br>
 ; X86-32-LABEL: setjmp_invoker:<br>
 ; X86-64-LABEL: setjmp_invoker:<br>
   %a1 = call i32 @get_val()<br>
@@ -103,7 +103,7 @@ cont:<br>
   br i1 %setjmp_result, label %second, label %first<br>
<br>
 lpad:<br>
-  %lp = landingpad { i8*, i32 } personality void ()* @personality cleanup<br>
+  %lp = landingpad { i8*, i32 } cleanup<br>
   unreachable<br>
<br>
 first:<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/split-eh-lpad-edges.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_split-2Deh-2Dlpad-2Dedges.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ureLE981REVAq_7bBchOQrHAsPFrbryj9tvyr3m1LHk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/split-eh-lpad-edges.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/split-eh-lpad-edges.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/split-eh-lpad-edges.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,7 +10,7 @@<br>
        %struct.objc_selector = type opaque<br>
 @"\01l_objc_msgSend_fixup_alloc" = external global %struct._message_ref_t, align 16            ; <%struct._message_ref_t*> [#uses=2]<br>
<br>
-define %struct.NSArray* @newFetchedRowsForFetchPlan_MT(%struct.FetchPlanHeader* %fetchPlan, %struct.objc_selector* %selectionMethod, %struct.NSObject* %selectionParameter) ssp {<br>
+define %struct.NSArray* @newFetchedRowsForFetchPlan_MT(%struct.FetchPlanHeader* %fetchPlan, %struct.objc_selector* %selectionMethod, %struct.NSObject* %selectionParameter) ssp personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        %0 = invoke %struct.NSObject* null(%struct.NSObject* null, %struct._message_ref_t* @"\01l_objc_msgSend_fixup_alloc")<br>
                        to label %invcont unwind label %lpad            ; <%struct.NSObject*> [#uses=1]<br>
@@ -28,7 +28,7 @@ invcont27:            ; preds = %invcont26<br>
<br>
 lpad:          ; preds = %invcont26, %invcont, %entry<br>
        %pool.1 = phi %struct.NSAutoreleasePool* [ null, %entry ], [ null, %invcont ], [ null, %invcont26 ]             ; <%struct.NSAutoreleasePool*> [#uses=0]<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/stack-protector.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_stack-2Dprotector.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=kYGaqgcPjW0iCw2TNXwbyX_gU85QD0rL13Qw8t-J2_M&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/stack-protector.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/stack-protector.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/stack-protector.ll Wed Jun 17 15:52:32 2015<br>
@@ -2097,7 +2097,7 @@ entry:<br>
 ; test18a: Addr-of a variable passed into an invoke instruction.<br>
 ;          no ssp attribute<br>
 ; Requires no protector.<br>
-define i32 @test18a()  {<br>
+define i32 @test18a() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; LINUX-I386-LABEL: test18a:<br>
 ; LINUX-I386-NOT: calll __stack_chk_fail<br>
@@ -2125,7 +2125,7 @@ invoke.cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret i32 0<br>
 }<br>
@@ -2134,7 +2134,7 @@ lpad:<br>
 ;          ssp attribute<br>
 ; Requires no protector.<br>
 ; Function Attrs: ssp<br>
-define i32 @test18b() #0 {<br>
+define i32 @test18b() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; LINUX-I386-LABEL: test18b:<br>
 ; LINUX-I386-NOT: calll __stack_chk_fail<br>
@@ -2162,7 +2162,7 @@ invoke.cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret i32 0<br>
 }<br>
@@ -2171,7 +2171,7 @@ lpad:<br>
 ;          sspstrong attribute<br>
 ; Requires protector.<br>
 ; Function Attrs: sspstrong<br>
-define i32 @test18c() #1 {<br>
+define i32 @test18c() #1 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; LINUX-I386-LABEL: test18c:<br>
 ; LINUX-I386: mov{{l|q}} %gs:<br>
@@ -2199,7 +2199,7 @@ invoke.cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret i32 0<br>
 }<br>
@@ -2208,7 +2208,7 @@ lpad:<br>
 ;          sspreq attribute<br>
 ; Requires protector.<br>
 ; Function Attrs: sspreq<br>
-define i32 @test18d() #2 {<br>
+define i32 @test18d() #2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; LINUX-I386-LABEL: test18d:<br>
 ; LINUX-I386: mov{{l|q}} %gs:<br>
@@ -2236,7 +2236,7 @@ invoke.cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret i32 0<br>
 }<br>
@@ -2244,7 +2244,7 @@ lpad:<br>
 ;           (GEP followed by an invoke)<br>
 ;          no ssp attribute<br>
 ; Requires no protector.<br>
-define i32 @test19a()  {<br>
+define i32 @test19a() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; LINUX-I386-LABEL: test19a:<br>
 ; LINUX-I386-NOT: calll __stack_chk_fail<br>
@@ -2274,7 +2274,7 @@ invoke.cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret i32 0<br>
 }<br>
@@ -2284,7 +2284,7 @@ lpad:<br>
 ;          ssp attribute<br>
 ; Requires no protector.<br>
 ; Function Attrs: ssp<br>
-define i32 @test19b() #0 {<br>
+define i32 @test19b() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; LINUX-I386-LABEL: test19b:<br>
 ; LINUX-I386-NOT: calll __stack_chk_fail<br>
@@ -2314,7 +2314,7 @@ invoke.cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret i32 0<br>
 }<br>
@@ -2324,7 +2324,7 @@ lpad:<br>
 ;          sspstrong attribute<br>
 ; Requires protector.<br>
 ; Function Attrs: sspstrong<br>
-define i32 @test19c() #1 {<br>
+define i32 @test19c() #1 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; LINUX-I386-LABEL: test19c:<br>
 ; LINUX-I386: mov{{l|q}} %gs:<br>
@@ -2354,7 +2354,7 @@ invoke.cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret i32 0<br>
 }<br>
@@ -2364,7 +2364,7 @@ lpad:<br>
 ;          sspreq attribute<br>
 ; Requires protector.<br>
 ; Function Attrs: sspreq<br>
-define i32 @test19d() #2 {<br>
+define i32 @test19d() #2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; LINUX-I386-LABEL: test19d:<br>
 ; LINUX-I386: mov{{l|q}} %gs:<br>
@@ -2398,7 +2398,7 @@ invoke.cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret i32 0<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/statepoint-invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_statepoint-2Dinvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Im8tWzkGy8DU_b_DLE8UrPeWry2YXOlURYdzWJKvKYo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/statepoint-invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/statepoint-invoke.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/statepoint-invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -9,7 +9,7 @@ declare i32 @"personality_function"()<br>
<br>
 define i64 addrspace(1)* @test_basic(i64 addrspace(1)* %obj,<br>
                                      i64 addrspace(1)* %obj1)<br>
-gc "statepoint-example" {<br>
+gc "statepoint-example" personality i32 ()* @"personality_function" {<br>
 entry:<br>
   ; CHECK: Ltmp{{[0-9]+}}:<br>
   ; CHECK: callq some_call<br>
@@ -31,7 +31,7 @@ exceptional_return:<br>
   ; CHECK: Ltmp{{[0-9]+}}:<br>
   ; CHECK: movq<br>
   ; CHECK: retq<br>
-  %landing_pad = landingpad { i8*, i32 } personality i32 ()* @"personality_function"<br>
+  %landing_pad = landingpad { i8*, i32 }<br>
           cleanup<br>
   %relocate_token = extractvalue { i8*, i32 } %landing_pad, 1<br>
   %obj.relocated1 = call coldcc i64 addrspace(1)* @llvm.experimental.gc.relocate.p1i64(i32 %relocate_token, i32 13, i32 13)<br>
@@ -46,7 +46,7 @@ exceptional_return:<br>
<br>
 define i64 addrspace(1)* @test_result(i64 addrspace(1)* %obj,<br>
                                       i64 addrspace(1)* %obj1)<br>
-  gc "statepoint-example" {<br>
+  gc "statepoint-example" personality i32 ()* @personality_function {<br>
 entry:<br>
   ; CHECK: .Ltmp{{[0-9]+}}:<br>
   ; CHECK: callq some_other_call<br>
@@ -63,7 +63,7 @@ normal_return:<br>
 exceptional_return:<br>
   ; CHECK: .Ltmp{{[0-9]+}}:<br>
   ; CHECK: movq<br>
-  %landing_pad = landingpad { i8*, i32 } personality i32 ()* @personality_function<br>
+  %landing_pad = landingpad { i8*, i32 }<br>
           cleanup<br>
   %relocate_token = extractvalue { i8*, i32 } %landing_pad, 1<br>
   %obj.relocated = call coldcc i64 addrspace(1)* @llvm.experimental.gc.relocate.p1i64(i32 %relocate_token, i32 13, i32 13)<br>
@@ -76,7 +76,7 @@ exceptional_return:<br>
 ; CHECK: .align 4<br>
<br>
 define i64 addrspace(1)* @test_same_val(i1 %cond, i64 addrspace(1)* %val1, i64 addrspace(1)* %val2, i64 addrspace(1)* %val3)<br>
-  gc "statepoint-example" {<br>
+  gc "statepoint-example" personality i32 ()* @"personality_function" {<br>
 entry:<br>
   br i1 %cond, label %left, label %right<br>
<br>
@@ -120,14 +120,14 @@ normal_return:<br>
   ret i64 addrspace(1)* %ret<br>
<br>
 exceptional_return.left:<br>
-  %landing_pad = landingpad { i8*, i32 } personality i32 ()* @"personality_function"<br>
+  %landing_pad = landingpad { i8*, i32 }<br>
           cleanup<br>
   %relocate_token = extractvalue { i8*, i32 } %landing_pad, 1<br>
   %val.relocated2 = call coldcc i64 addrspace(1)* @llvm.experimental.gc.relocate.p1i64(i32 %relocate_token, i32 13, i32 13)<br>
   ret i64 addrspace(1)* %val.relocated2<br>
<br>
 exceptional_return.right:<br>
-  %landing_pad1 = landingpad { i8*, i32 } personality i32 ()* @"personality_function"<br>
+  %landing_pad1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %relocate_token1 = extractvalue { i8*, i32 } %landing_pad1, 1<br>
   %val.relocated3 = call coldcc i64 addrspace(1)* @llvm.experimental.gc.relocate.p1i64(i32 %relocate_token1, i32 13, i32 13)<br>
@@ -135,7 +135,7 @@ exceptional_return.right:<br>
 }<br>
<br>
 define i64 addrspace(1)* @test_null_undef(i64 addrspace(1)* %val1)<br>
-       gc "statepoint-example" {<br>
+       gc "statepoint-example" personality i32 ()* @"personality_function" {<br>
 ; CHECK-LABEL: test_null_undef:<br>
 entry:<br>
   ; CHECK: callq some_call<br>
@@ -152,7 +152,7 @@ normal_return:<br>
   ret i64 addrspace(1)* %null.relocated<br>
<br>
 exceptional_return:<br>
-  %landing_pad = landingpad { i8*, i32 } personality i32 ()* @"personality_function"<br>
+  %landing_pad = landingpad { i8*, i32 }<br>
           cleanup<br>
   %relocate_token = extractvalue { i8*, i32 } %landing_pad, 1<br>
   %null.relocated2 = call coldcc i64 addrspace(1)* @llvm.experimental.gc.relocate.p1i64(i32 %relocate_token, i32 13, i32 13)<br>
@@ -161,7 +161,7 @@ exceptional_return:<br>
 }<br>
<br>
 define i64 addrspace(1)* @test_alloca_and_const(i64 addrspace(1)* %val1)<br>
-       gc "statepoint-example" {<br>
+       gc "statepoint-example" personality i32 ()* @"personality_function" {<br>
 ; CHECK-LABEL: test_alloca_and_const:<br>
 entry:<br>
   %a = alloca i32<br>
@@ -183,7 +183,7 @@ exceptional_return:<br>
   ; CHECK: movl        $15<br>
   ; CHECK-NEXT: popq<br>
   ; CHECK-NEXT: retq<br>
-  %landing_pad = landingpad { i8*, i32 } personality i32 ()* @"personality_function"<br>
+  %landing_pad = landingpad { i8*, i32 }<br>
           cleanup<br>
   %relocate_token = extractvalue { i8*, i32 } %landing_pad, 1<br>
   %aa.rel2 = call coldcc i64 addrspace(1)* @llvm.experimental.gc.relocate.p1i64(i32 %relocate_token, i32 14, i32 14)<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/statepoint-stack-usage.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_statepoint-2Dstack-2Dusage.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=BcpvtZN2tHs43gOT2MG_Za87q8gtYR7gVNmdEwmY86g&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/statepoint-stack-usage.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/statepoint-stack-usage.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/statepoint-stack-usage.ll Wed Jun 17 15:52:32 2015<br>
@@ -55,7 +55,7 @@ define i32 @reserve_first(i32 addrspace(<br>
 }<br>
<br>
 ; Test that stack slots are reused for invokes<br>
-define i32 @back_to_back_invokes(i32 addrspace(1)* %a, i32 addrspace(1)* %b, i32 addrspace(1)* %c) #1 gc "statepoint-example" {<br>
+define i32 @back_to_back_invokes(i32 addrspace(1)* %a, i32 addrspace(1)* %b, i32 addrspace(1)* %c) #1 gc "statepoint-example" personality i32 ()* @"personality_function" {<br>
 ; CHECK-LABEL: back_to_back_invokes<br>
 entry:<br>
   ; The exact stores don't matter, but there need to be three stack slots created<br>
@@ -85,12 +85,12 @@ normal_return2:<br>
   ret i32 1<br>
<br>
 exceptional_return:<br>
-  %landing_pad = landingpad { i8*, i32 } personality i32 ()* @"personality_function"<br>
+  %landing_pad = landingpad { i8*, i32 }<br>
           cleanup<br>
   ret i32 0<br>
<br>
 exceptional_return2:<br>
-  %landing_pad2 = landingpad { i8*, i32 } personality i32 ()* @"personality_function"<br>
+  %landing_pad2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   ret i32 0<br>
 }<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/win32-eh-states.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_win32-2Deh-2Dstates.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=cu8jzWszFhGrMDbP8d4kKYc0r3F5vXHyqnRQrWotCkI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/win32-eh-states.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/win32-eh-states.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/win32-eh-states.ll Wed Jun 17 15:52:32 2015<br>
@@ -30,7 +30,7 @@ $"\01??_R0H@8" = comdat any<br>
 @"\01??_R0H@8" = linkonce_odr global %rtti.TypeDescriptor2 { i8** @"\01??_7type_info@@6B@", i8* null, [3 x i8] c".H\00" }, comdat<br>
 @llvm.eh.handlertype.H.0 = private unnamed_addr constant %eh.CatchHandlerType { i32 0, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*) }, section "llvm.metadata"<br>
<br>
-define void @f() #0 {<br>
+define void @f() #0 personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {<br>
 entry:<br>
   invoke void @may_throw(i32 1)<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -46,14 +46,14 @@ try.cont.9:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %catch, %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch %eh.CatchHandlerType* @llvm.eh.handlertype.H.0<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = extractvalue { i8*, i32 } %0, 1<br>
   br label %catch.dispatch.4<br>
<br>
 lpad.1:                                           ; preds = %invoke.cont<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (%eh.CatchHandlerType* @llvm.eh.handlertype.H.0 to i8*)<br>
   %4 = extractvalue { i8*, i32 } %3, 0<br>
   %5 = extractvalue { i8*, i32 } %3, 1<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/win32-eh.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_win32-2Deh.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=TnZxh94xGe_FHQ9pH8x8w7FSpR0mvIKRwBlRquW5sVA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/win32-eh.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/win32-eh.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/win32-eh.ll Wed Jun 17 15:52:32 2015<br>
@@ -12,14 +12,14 @@ define internal i32 @catchall_filt() {<br>
   ret i32 1<br>
 }<br>
<br>
-define void @use_except_handler3() {<br>
+define void @use_except_handler3() personality i32 (...)* @_except_handler3 {<br>
 entry:<br>
   invoke void @may_throw_or_crash()<br>
       to label %cont unwind label %catchall<br>
 cont:<br>
   ret void<br>
 catchall:<br>
-  %0 = landingpad { i8*, i32 } personality i32 (...)* @_except_handler3<br>
+  %0 = landingpad { i8*, i32 }<br>
       catch i8* bitcast (i32 ()* @catchall_filt to i8*)<br>
   %1 = extractvalue { i8*, i32 } %0, 1<br>
   %2 = call i32 @llvm.eh.typeid.for(i8* bitcast (i32 ()* @catchall_filt to i8*)) #4<br>
@@ -51,14 +51,14 @@ eh.resume:<br>
 ; CHECK-NEXT:  .long   _catchall_filt<br>
 ; CHECK-NEXT:  .long   Ltmp{{[0-9]+}}<br>
<br>
-define void @use_except_handler4() {<br>
+define void @use_except_handler4() personality i32 (...)* @_except_handler4 {<br>
 entry:<br>
   invoke void @may_throw_or_crash()<br>
       to label %cont unwind label %catchall<br>
 cont:<br>
   ret void<br>
 catchall:<br>
-  %0 = landingpad { i8*, i32 } personality i32 (...)* @_except_handler4<br>
+  %0 = landingpad { i8*, i32 }<br>
       catch i8* bitcast (i32 ()* @catchall_filt to i8*)<br>
   %1 = extractvalue { i8*, i32 } %0, 1<br>
   %2 = call i32 @llvm.eh.typeid.for(i8* bitcast (i32 ()* @catchall_filt to i8*)) #4<br>
@@ -97,13 +97,13 @@ eh.resume:<br>
 ; CHECK-NEXT:  .long   _catchall_filt<br>
 ; CHECK-NEXT:  .long   Ltmp{{[0-9]+}}<br>
<br>
-define void @use_CxxFrameHandler3() {<br>
+define void @use_CxxFrameHandler3() personality i32 (...)* @__CxxFrameHandler3 {<br>
   invoke void @may_throw_or_crash()<br>
       to label %cont unwind label %catchall<br>
 cont:<br>
   ret void<br>
 catchall:<br>
-  %ehvals = landingpad { i8*, i32 } personality i32 (...)* @__CxxFrameHandler3<br>
+  %ehvals = landingpad { i8*, i32 }<br>
       catch i8* null<br>
   %ehptr = extractvalue { i8*, i32 } %ehvals, 0<br>
   call void @llvm.eh.begincatch(i8* %ehptr, i8* null)<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/win64_call_epi.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_win64-5Fcall-5Fepi.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=l3EEZvTnDd7o-QL1I75NG74OGGQrRpPD-oiCDqzo5P0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/win64_call_epi.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/win64_call_epi.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/win64_call_epi.ll Wed Jun 17 15:52:32 2015<br>
@@ -5,7 +5,7 @@ declare void @baz()<br>
 declare i32 @personality(...)<br>
<br>
 ; Check for 'nop' between the last call and the epilogue.<br>
-define void @foo1() {<br>
+define void @foo1() personality i32 (...)* @personality {<br>
<br>
     invoke void @bar()<br>
         to label %normal<br>
@@ -15,7 +15,7 @@ normal:<br>
     ret void<br>
<br>
 catch:<br>
-    %1 = landingpad { i8*, i32 } personality i32 (...)* @personality cleanup<br>
+    %1 = landingpad { i8*, i32 } cleanup<br>
     resume { i8*, i32 } %1<br>
 }<br>
 ; WIN64-LABEL: foo1:<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/win64_eh.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_win64-5Feh.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=umpNg1X6cDgz0FyANuwezRrfQVyjBsD44o4nFItTwKQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/win64_eh.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/win64_eh.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/win64_eh.ll Wed Jun 17 15:52:32 2015<br>
@@ -101,7 +101,7 @@ declare void @_d_eh_resume_unwind(i8*)<br>
<br>
 declare i32 @bar()<br>
<br>
-define i32 @foo4() #0 {<br>
+define i32 @foo4() #0 personality i32 (i32, i32, i64, i8*, i8*)* @_d_eh_personality {<br>
 entry:<br>
   %step = alloca i32, align 4<br>
   store i32 0, i32* %step<br>
@@ -115,7 +115,7 @@ finally:<br>
   br label %endtryfinally<br>
<br>
 landingpad:<br>
-  %landing_pad = landingpad { i8*, i32 } personality i32 (i32, i32, i64, i8*, i8*)* @_d_eh_personality<br>
+  %landing_pad = landingpad { i8*, i32 }<br>
           cleanup<br>
   %tmp3 = extractvalue { i8*, i32 } %landing_pad, 0<br>
   store i32 2, i32* %step<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/win_eh_prepare.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_X86_win-5Feh-5Fprepare.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=50wheAQPSAG4QJbaZBBkv2ZPysx-5kp9F5KNf3OfYQE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/win_eh_prepare.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/win_eh_prepare.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/win_eh_prepare.ll Wed Jun 17 15:52:32 2015<br>
@@ -11,7 +11,7 @@ declare i32 @__C_specific_handler(...)<br>
 declare i32 @__gxx_personality_seh0(...)<br>
 declare i32 @llvm.eh.typeid.for(i8*) readnone nounwind<br>
<br>
-define i32 @use_seh() {<br>
+define i32 @use_seh() personality i32 (...)* @__C_specific_handler {<br>
 entry:<br>
   invoke void @maybe_throw()<br>
       to label %cont unwind label %lpad<br>
@@ -20,7 +20,7 @@ cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %ehvals = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %ehvals = landingpad { i8*, i32 }<br>
       cleanup<br>
       catch i8* bitcast (i32 (i8*, i8*)* @filt_g to i8*)<br>
   %ehsel = extractvalue { i8*, i32 } %ehvals, 1<br>
@@ -51,7 +51,7 @@ define internal i32 @filt_g(i8*, i8*) {<br>
<br>
 ; A MinGW64-ish EH style. It could happen if a binary uses both MSVC CRT and<br>
 ; mingw CRT and is linked with LTO.<br>
-define i32 @use_gcc() {<br>
+define i32 @use_gcc() personality i32 (...)* @__gxx_personality_seh0 {<br>
 entry:<br>
   invoke void @maybe_throw()<br>
       to label %cont unwind label %lpad<br>
@@ -60,7 +60,7 @@ cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %ehvals = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_seh0<br>
+  %ehvals = landingpad { i8*, i32 }<br>
       cleanup<br>
       catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %ehsel = extractvalue { i8*, i32 } %ehvals, 1<br>
<br>
Modified: llvm/trunk/test/CodeGen/XCore/exception.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_XCore_exception.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=mZjxHo2HABfByvThIjG1oRFEpJyVuQiGnln2yPCxX4k&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/XCore/exception.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/XCore/exception.ll (original)<br>
+++ llvm/trunk/test/CodeGen/XCore/exception.ll Wed Jun 17 15:52:32 2015<br>
@@ -47,7 +47,7 @@ entry:<br>
 ; CHECK: entsp 4<br>
 ; CHECK: .cfi_def_cfa_offset 16<br>
 ; CHECK: .cfi_offset 15, 0<br>
-define void @fn_catch() {<br>
+define void @fn_catch() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
<br>
 ; N.B. we alloc no variables, hence force compiler to spill<br>
@@ -77,7 +77,7 @@ cont:<br>
 ; CHECK: ldw r6, r0[0]<br>
 ; CHECK: bl __cxa_end_catch<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
           catch i8* bitcast (i8** @_ZTId to i8*)<br>
<br>
Modified: llvm/trunk/test/DebugInfo/AArch64/eh_frame_personality.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_DebugInfo_AArch64_eh-5Fframe-5Fpersonality.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=uZPAv21mmXD6sw0MSaqYdhn9K4JSx0q2hvwZs2Eazq0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/AArch64/eh_frame_personality.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/AArch64/eh_frame_personality.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/AArch64/eh_frame_personality.ll Wed Jun 17 15:52:32 2015<br>
@@ -5,13 +5,13 @@ declare i32 @__gxx_personality_v0(...)<br>
<br>
 declare void @bar()<br>
<br>
-define i64 @foo(i64 %lhs, i64 %rhs) {<br>
+define i64 @foo(i64 %lhs, i64 %rhs) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
   invoke void @bar() to label %end unwind label %clean<br>
 end:<br>
  ret i64 0<br>
<br>
 clean:<br>
-  %tst = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) cleanup<br>
+  %tst = landingpad { i8*, i32 } cleanup<br>
   ret i64 42<br>
 }<br>
<br>
<br>
Modified: llvm/trunk/test/DebugInfo/AArch64/frameindices.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_DebugInfo_AArch64_frameindices.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=c5JnL46k0IC4kw6sjtlGJB5gPzMXC4zLa_CfK_Y54f8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/AArch64/frameindices.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/AArch64/frameindices.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/AArch64/frameindices.ll Wed Jun 17 15:52:32 2015<br>
@@ -83,7 +83,7 @@ entry:<br>
   ret void, !dbg !73<br>
 }<br>
<br>
-define void @_Z3f16v() #0 {<br>
+define void @_Z3f16v() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %agg.tmp.i.i = alloca %struct.A, align 8<br>
   %d = alloca %struct.B, align 1<br>
@@ -127,7 +127,7 @@ invoke.cont:<br>
   ret void, !dbg !94<br>
<br>
 lpad:                                             ; preds = %call.i.i.noexc, %entry<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup, !dbg !94<br>
   call void @llvm.dbg.value(metadata %struct.B* %d, i64 0, metadata !39, metadata !79), !dbg !82<br>
   %call2 = call %struct.B* @_ZN1BD1Ev(%struct.B* %d) #3, !dbg !94<br>
<br>
Modified: llvm/trunk/test/DebugInfo/SystemZ/eh_frame_personality.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_DebugInfo_SystemZ_eh-5Fframe-5Fpersonality.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=QFGsnYQxEoue5QkOfweg9l9bmzALUMmGiUnDqdVz2Ro&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/SystemZ/eh_frame_personality.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/SystemZ/eh_frame_personality.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/SystemZ/eh_frame_personality.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,13 +6,13 @@ declare i32 @__gxx_personality_v0(...)<br>
<br>
 declare void @bar()<br>
<br>
-define i64 @foo(i64 %lhs, i64 %rhs) {<br>
+define i64 @foo(i64 %lhs, i64 %rhs) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
   invoke void @bar() to label %end unwind label %clean<br>
 end:<br>
  ret i64 0<br>
<br>
 clean:<br>
-  %tst = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) cleanup<br>
+  %tst = landingpad { i8*, i32 } cleanup<br>
   ret i64 42<br>
 }<br>
<br>
<br>
Modified: llvm/trunk/test/DebugInfo/X86/arange-and-stub.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_DebugInfo_X86_arange-2Dand-2Dstub.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=n9w1DM1n2b5EOFjEuicd3FepscqSDj-DkyH2K_LB4sU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/arange-and-stub.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/X86/arange-and-stub.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/X86/arange-and-stub.ll Wed Jun 17 15:52:32 2015<br>
@@ -16,7 +16,7 @@ define void @foo() {<br>
   ret void<br>
 }<br>
<br>
-define void @bar() {<br>
+define void @bar() personality i8* bitcast (void ()* @foo to i8*) {<br>
   invoke void @foo()<br>
           to label %invoke.cont unwind label %lpad<br>
<br>
@@ -24,7 +24,7 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %0<br>
-  %tmp1 = landingpad { i8*, i32 } personality i8* bitcast (void ()* @foo to i8*)<br>
+  %tmp1 = landingpad { i8*, i32 }<br>
           filter [1 x i8*] [i8* bitcast (i8** @_ZTId to i8*)]<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/DebugInfo/X86/sret.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_DebugInfo_X86_sret.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=PlYB-axRE35MjExoBczsSxn-rZ05GYhZNgfdPALi-qw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/sret.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/X86/sret.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/X86/sret.ll Wed Jun 17 15:52:32 2015<br>
@@ -124,7 +124,7 @@ entry:<br>
 }<br>
<br>
 ; Function Attrs: uwtable<br>
-define i32 @main(i32 %argc, i8** %argv) #2 {<br>
+define i32 @main(i32 %argc, i8** %argv) #2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %retval = alloca i32, align 4<br>
   %argc.addr = alloca i32, align 4<br>
@@ -161,7 +161,7 @@ invoke.cont:<br>
   ret i32 %1, !dbg !116<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup, !dbg !116<br>
   %3 = extractvalue { i8*, i32 } %2, 0, !dbg !116<br>
   store i8* %3, i8** %exn.slot, !dbg !116<br>
@@ -181,7 +181,7 @@ eh.resume:<br>
   resume { i8*, i32 } %lpad.val2, !dbg !119<br>
<br>
 terminate.lpad:                                   ; preds = %lpad<br>
-  %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %5 = landingpad { i8*, i32 }<br>
           catch i8* null, !dbg !121<br>
   %6 = extractvalue { i8*, i32 } %5, 0, !dbg !121<br>
   call void @__clang_call_terminate(i8* %6) #5, !dbg !121<br>
@@ -212,7 +212,7 @@ declare i8* @__cxa_begin_catch(i8*)<br>
 declare void @_ZSt9terminatev()<br>
<br>
 ; Function Attrs: uwtable<br>
-define linkonce_odr void @_ZN1AD0Ev(%class.A* %this) unnamed_addr #2 align 2 {<br>
+define linkonce_odr void @_ZN1AD0Ev(%class.A* %this) unnamed_addr #2 align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %this.addr = alloca %class.A*, align 8<br>
   %exn.slot = alloca i8*<br>
@@ -229,7 +229,7 @@ invoke.cont:<br>
   ret void, !dbg !129<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup, !dbg !131<br>
   %2 = extractvalue { i8*, i32 } %1, 0, !dbg !131<br>
   store i8* %2, i8** %exn.slot, !dbg !131<br>
<br>
Modified: llvm/trunk/test/DebugInfo/inline-debug-info-multiret.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_DebugInfo_inline-2Ddebug-2Dinfo-2Dmultiret.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=xvPY_sIrQ9V5FvetuggTgfJZUjyEvG4LI0CxyInXKfU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/inline-debug-info-multiret.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/inline-debug-info-multiret.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/inline-debug-info-multiret.ll Wed Jun 17 15:52:32 2015<br>
@@ -57,7 +57,7 @@ declare void @llvm.dbg.declare(metadata,<br>
<br>
 declare i32 @_Z8test_exti(i32)<br>
<br>
-define i32 @_Z5test2v()  {<br>
+define i32 @_Z5test2v() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %exn.slot = alloca i8*<br>
   %ehselector.slot = alloca i32<br>
@@ -70,7 +70,7 @@ invoke.cont:<br>
   br label %try.cont, !dbg !23<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*), !dbg !21<br>
   %2 = extractvalue { i8*, i32 } %1, 0, !dbg !21<br>
   store i8* %2, i8** %exn.slot, !dbg !21<br>
<br>
Modified: llvm/trunk/test/DebugInfo/inline-debug-info.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_DebugInfo_inline-2Ddebug-2Dinfo.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=OxY645AYfrmI2iwlb4ia9fdRZPs1vk60Azu0IKnGYyk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/inline-debug-info.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/DebugInfo/inline-debug-info.ll (original)<br>
+++ llvm/trunk/test/DebugInfo/inline-debug-info.ll Wed Jun 17 15:52:32 2015<br>
@@ -75,7 +75,7 @@ declare void @llvm.dbg.declare(metadata,<br>
<br>
 declare i32 @_Z8test_exti(i32)<br>
<br>
-define i32 @_Z5test2v()  {<br>
+define i32 @_Z5test2v() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %exn.slot = alloca i8*<br>
   %ehselector.slot = alloca i32<br>
@@ -88,7 +88,7 @@ invoke.cont:<br>
   br label %try.cont, !dbg !23<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*), !dbg !21<br>
   %2 = extractvalue { i8*, i32 } %1, 0, !dbg !21<br>
   store i8* %2, i8** %exn.slot, !dbg !21<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/MCJIT/Inputs/multi-module-eh-b.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_ExecutionEngine_MCJIT_Inputs_multi-2Dmodule-2Deh-2Db.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=w9WAhQevlS0SBovjbY-i2gg-RJwj-aHTXPESa9VmavU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/Inputs/multi-module-eh-b.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/MCJIT/Inputs/multi-module-eh-b.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/MCJIT/Inputs/multi-module-eh-b.ll Wed Jun 17 15:52:32 2015<br>
@@ -12,13 +12,13 @@ define void @throwException_B() {<br>
   unreachable<br>
 }<br>
<br>
-define i32 @FB() {<br>
+define i32 @FB() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throwException_B()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %p = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %p = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %e = extractvalue { i8*, i32 } %p, 0<br>
   call i8* @__cxa_begin_catch(i8* %e)<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/MCJIT/eh-lg-pic.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_ExecutionEngine_MCJIT_eh-2Dlg-2Dpic.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=cGNdZKIERwh8yjUKdF0Yy_WvRbTCMr_qx9o0vmd1J-g&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/eh-lg-pic.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/MCJIT/eh-lg-pic.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/MCJIT/eh-lg-pic.ll Wed Jun 17 15:52:32 2015<br>
@@ -14,13 +14,13 @@ define void @throwException() {<br>
   unreachable<br>
 }<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throwException()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %p = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %p = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %e = extractvalue { i8*, i32 } %p, 0<br>
   call i8* @__cxa_begin_catch(i8* %e)<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/MCJIT/eh-sm-pic.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_ExecutionEngine_MCJIT_eh-2Dsm-2Dpic.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=cGxK6hbaxRkrR1DyhPXES1DMD0-PgMzOvNEGoYeHdw4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/eh-sm-pic.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/MCJIT/eh-sm-pic.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/MCJIT/eh-sm-pic.ll Wed Jun 17 15:52:32 2015<br>
@@ -14,13 +14,13 @@ define void @throwException() {<br>
   unreachable<br>
 }<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throwException()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %p = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %p = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %e = extractvalue { i8*, i32 } %p, 0<br>
   call i8* @__cxa_begin_catch(i8* %e)<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/MCJIT/eh.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_ExecutionEngine_MCJIT_eh.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=2KVX5ZMyHKeMdPYS8rCuvo5RG4sNkySBGDnrj5guqfY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/eh.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/MCJIT/eh.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/MCJIT/eh.ll Wed Jun 17 15:52:32 2015<br>
@@ -14,13 +14,13 @@ define void @throwException() {<br>
   unreachable<br>
 }<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throwException()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %p = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %p = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %e = extractvalue { i8*, i32 } %p, 0<br>
   call i8* @__cxa_begin_catch(i8* %e)<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_ExecutionEngine_MCJIT_multi-2Dmodule-2Deh-2Da.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=mkt_GsszAxGCOH2FAZnzAaU3MvO8w6zcJWKEfkh5hz8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll Wed Jun 17 15:52:32 2015<br>
@@ -16,13 +16,13 @@ define void @throwException() {<br>
   unreachable<br>
 }<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throwException()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %p = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %p = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %e = extractvalue { i8*, i32 } %p, 0<br>
   call i8* @__cxa_begin_catch(i8* %e)<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/OrcMCJIT/Inputs/multi-module-eh-b.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_ExecutionEngine_OrcMCJIT_Inputs_multi-2Dmodule-2Deh-2Db.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=N3rndcFusTx-2T8Gk6RQhnffnNXc0J5QA21Z84b9B-M&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcMCJIT/Inputs/multi-module-eh-b.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/OrcMCJIT/Inputs/multi-module-eh-b.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/OrcMCJIT/Inputs/multi-module-eh-b.ll Wed Jun 17 15:52:32 2015<br>
@@ -12,13 +12,13 @@ define void @throwException_B() {<br>
   unreachable<br>
 }<br>
<br>
-define i32 @FB() {<br>
+define i32 @FB() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throwException_B()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %p = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %p = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %e = extractvalue { i8*, i32 } %p, 0<br>
   call i8* @__cxa_begin_catch(i8* %e)<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_ExecutionEngine_OrcMCJIT_eh-2Dlg-2Dpic.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=EedyKiez5vABgk2GYIsLfZnAN_DJzvdPfcv8GwgZBTU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll Wed Jun 17 15:52:32 2015<br>
@@ -14,13 +14,13 @@ define void @throwException() {<br>
   unreachable<br>
 }<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throwException()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %p = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %p = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %e = extractvalue { i8*, i32 } %p, 0<br>
   call i8* @__cxa_begin_catch(i8* %e)<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_ExecutionEngine_OrcMCJIT_eh-2Dsm-2Dpic.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=RKUMrM48dE1nPPIDdDr3Ivfbf16NqQ2sp7B1m1y19qs&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll Wed Jun 17 15:52:32 2015<br>
@@ -14,13 +14,13 @@ define void @throwException() {<br>
   unreachable<br>
 }<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throwException()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %p = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %p = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %e = extractvalue { i8*, i32 } %p, 0<br>
   call i8* @__cxa_begin_catch(i8* %e)<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_ExecutionEngine_OrcMCJIT_eh.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=o3JLowf1d_60RYK5bWdh6ScIryaI5ln_wNcLyD1mBDU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/OrcMCJIT/eh.ll Wed Jun 17 15:52:32 2015<br>
@@ -14,13 +14,13 @@ define void @throwException() {<br>
   unreachable<br>
 }<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throwException()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %p = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %p = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %e = extractvalue { i8*, i32 } %p, 0<br>
   call i8* @__cxa_begin_catch(i8* %e)<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/OrcMCJIT/multi-module-eh-a.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_ExecutionEngine_OrcMCJIT_multi-2Dmodule-2Deh-2Da.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Ht2K72yvgZO1ViyQIYSk2d4fwHebCol3mkk23MhXFuY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcMCJIT/multi-module-eh-a.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/OrcMCJIT/multi-module-eh-a.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/OrcMCJIT/multi-module-eh-a.ll Wed Jun 17 15:52:32 2015<br>
@@ -16,13 +16,13 @@ define void @throwException() {<br>
   unreachable<br>
 }<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @throwException()<br>
           to label %try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %p = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %p = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %e = extractvalue { i8*, i32 } %p, 0<br>
   call i8* @__cxa_begin_catch(i8* %e)<br>
<br>
Modified: llvm/trunk/test/Feature/callingconventions.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Feature_callingconventions.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=kfuZG9pEM1bC9i82bxroAohRCPY3pqJZ3WDbtmZVuVg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Feature/callingconventions.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Feature/callingconventions.ll (original)<br>
+++ llvm/trunk/test/Feature/callingconventions.ll Wed Jun 17 15:52:32 2015<br>
@@ -25,7 +25,7 @@ define coldcc void @bar2() {<br>
         ret void<br>
 }<br>
<br>
-define cc42 void @bar3() {<br>
+define cc42 void @bar3() personality i32 (...)* @__gxx_personality_v0 {<br>
   invoke fastcc void @foo( )<br>
     to label %Ok unwind label %U<br>
<br>
@@ -33,12 +33,12 @@ Ok:<br>
   ret void<br>
<br>
 U:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   resume { i8*, i32 } %exn<br>
 }<br>
<br>
-define void @bar4() {<br>
+define void @bar4() personality i32 (...)* @__gxx_personality_v0 {<br>
   call cc42 void @bar( )<br>
   invoke cc42 void @bar3( )<br>
     to label %Ok unwind label %U<br>
@@ -47,7 +47,7 @@ Ok:<br>
   ret void<br>
<br>
 U:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   resume { i8*, i32 } %exn<br>
 }<br>
<br>
Modified: llvm/trunk/test/Feature/calltest.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Feature_calltest.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=_Bu-D0I_V5f2Lpg3_ZpL6ivknKsTO-qQ3YCwuSYP_lU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Feature/calltest.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Feature/calltest.ll (original)<br>
+++ llvm/trunk/test/Feature/calltest.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,7 +10,7 @@ define void @invoke(%FunTy* %x) {<br>
   ret void<br>
 }<br>
<br>
-define i32 @main(i32 %argc) {<br>
+define i32 @main(i32 %argc) personality i32 (...)* @__gxx_personality_v0 {<br>
   %retval = call i32 @test( i32 %argc )           ; <i32> [#uses=2]<br>
   %two = add i32 %retval, %retval         ; <i32> [#uses=1]<br>
   %retval2 = invoke i32 @test( i32 %argc )<br>
@@ -22,7 +22,7 @@ Next:<br>
   ret i32 %two2<br>
<br>
 Error:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   ret i32 -1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Feature/exception.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Feature_exception.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=b1spXBJ98tjuSc8-OG6eAmBqFSPKOE5sa2JFE7rVRnw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Feature/exception.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Feature/exception.ll (original)<br>
+++ llvm/trunk/test/Feature/exception.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@<br>
 @_ZTId = external constant i8*<br>
 @_ZTIPKc = external constant i8*<br>
<br>
-define void @_Z3barv() uwtable optsize ssp {<br>
+define void @_Z3barv() uwtable optsize ssp personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @_Z3quxv() optsize<br>
           to label %try.cont unwind label %lpad<br>
@@ -15,7 +15,7 @@ try.cont:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
             catch i8** @_ZTIc<br>
             filter [2 x i8**] [i8** @_ZTIPKc, i8** @_ZTId]<br>
<br>
Modified: llvm/trunk/test/Feature/seh-nounwind.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Feature_seh-2Dnounwind.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=JJcQpReJ8S7paRLikYTNjUNXMoS8sygGSLtmOBMW56Q&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Feature/seh-nounwind.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Feature/seh-nounwind.ll (original)<br>
+++ llvm/trunk/test/Feature/seh-nounwind.ll Wed Jun 17 15:52:32 2015<br>
@@ -11,13 +11,13 @@ entry:<br>
   ret i32 %div<br>
 }<br>
<br>
-define i32 @main() nounwind {<br>
+define i32 @main() nounwind personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   %call = invoke i32 @div(i32 10, i32 0)<br>
           to label %__try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   br label %__try.cont<br>
<br>
<br>
Modified: llvm/trunk/test/Instrumentation/AddressSanitizer/instrument-no-return.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Instrumentation_AddressSanitizer_instrument-2Dno-2Dreturn.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=MJ05ls0hteEUOMZzhq0IRsJxPZgdyG2Ad6JFIAwEr_Y&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/AddressSanitizer/instrument-no-return.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Instrumentation/AddressSanitizer/instrument-no-return.ll (original)<br>
+++ llvm/trunk/test/Instrumentation/AddressSanitizer/instrument-no-return.ll Wed Jun 17 15:52:32 2015<br>
@@ -29,7 +29,7 @@ entry:<br>
<br>
 declare i32 @__gxx_personality_v0(...)<br>
<br>
-define i64 @Invoke1(i8** %esc) nounwind uwtable ssp sanitize_address {<br>
+define i64 @Invoke1(i8** %esc) nounwind uwtable ssp sanitize_address personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @MyNoReturnFunc(i32 1)<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -38,7 +38,7 @@ invoke.cont:<br>
   ret i64 0<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   ret i64 1<br>
 }<br>
<br>
Modified: llvm/trunk/test/LTO/X86/linkonce_odr_func.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_LTO_X86_linkonce-5Fodr-5Ffunc.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=FLsOyVng-SZ03Qd2iT-QYOPSfjXy9Q_1JYHO6pu3WjE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LTO/X86/linkonce_odr_func.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/LTO/X86/linkonce_odr_func.ll (original)<br>
+++ llvm/trunk/test/LTO/X86/linkonce_odr_func.ll Wed Jun 17 15:52:32 2015<br>
@@ -46,7 +46,7 @@ declare void @f(void()*)<br>
<br>
 declare void @p()<br>
<br>
-define void @bar() {<br>
+define void @bar() personality void()* @p {<br>
 bb0:<br>
   call void @foo1()<br>
   call void @f(void()* @foo2)<br>
@@ -56,6 +56,6 @@ bb1:<br>
 bb2:<br>
   ret void<br>
 clean:<br>
-  landingpad {i32, i32} personality void()* @p cleanup<br>
+  landingpad {i32, i32} cleanup<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/Other/2008-10-15-MissingSpace.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Other_2008-2D10-2D15-2DMissingSpace.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Aot6g6tGFFCPxVzliBdvyPanftGo89v8oWlDqyAbhVM&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/2008-10-15-MissingSpace.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Other/2008-10-15-MissingSpace.ll (original)<br>
+++ llvm/trunk/test/Other/2008-10-15-MissingSpace.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,14 +1,14 @@<br>
 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s<br>
 ; PR2894<br>
 declare void @g()<br>
-define void @f() {<br>
+define void @f() personality i32 (...)* @__gxx_personality_v0 {<br>
 ; CHECK:  invoke void @g()<br>
 ; CHECK:           to label %d unwind label %c<br>
   invoke void @g() to label %d unwind label %c<br>
 d:<br>
   ret void<br>
 c:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/Other/2009-03-31-CallGraph.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Other_2009-2D03-2D31-2DCallGraph.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Pxj0tbi4UtOLUQdEe2I8UIAzhQPCUH07Q8Xc1C-YSko&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/2009-03-31-CallGraph.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Other/2009-03-31-CallGraph.ll (original)<br>
+++ llvm/trunk/test/Other/2009-03-31-CallGraph.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,5 +1,5 @@<br>
 ; RUN: opt < %s -inline -prune-eh -disable-output<br>
-define void @f2() {<br>
+define void @f2() personality i32 (...)* @__gxx_personality_v0 {<br>
     invoke void @f6()<br>
         to label %ok1 unwind label %lpad1<br>
<br>
@@ -7,7 +7,7 @@ ok1:<br>
     ret void<br>
<br>
 lpad1:<br>
-    landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+    landingpad {i8*, i32}<br>
             cleanup<br>
     invoke void @f4()<br>
         to label %ok2 unwind label %lpad2<br>
@@ -17,7 +17,7 @@ ok2:<br>
     unreachable<br>
<br>
 lpad2:<br>
-    %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+    %exn = landingpad {i8*, i32}<br>
             cleanup<br>
     unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ADCE_2003-2D09-2D10-2DUnwindInstFail.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=OqplT_TJwEQFDUdC292lo9cClmU3CndEn9C1tzlKE2I&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll (original)<br>
+++ llvm/trunk/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,6 +1,6 @@<br>
 ; RUN: opt < %s -adce -disable-output<br>
<br>
-define void @test() {<br>
+define void @test() personality i32 (...)* @__gxx_personality_v0 {<br>
         br i1 false, label %then, label %endif<br>
<br>
 then:           ; preds = %0<br>
@@ -8,7 +8,7 @@ then:           ; preds = %0<br>
                         to label %invoke_cont unwind label %invoke_catch<br>
<br>
 invoke_catch:           ; preds = %then<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         resume { i8*, i32 } %exn<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ADCE_2005-2D02-2D17-2DPHI-2DInvoke-2DCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=iD6DErB6cMkFpVqLZFk5ASY2GiIdld0Du3PDbQntwV8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll (original)<br>
+++ llvm/trunk/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@ declare void @_ZN10QByteArray6resizeEi()<br>
<br>
 declare void @q_atomic_decrement()<br>
<br>
-define void @_ZNK10QByteArray13leftJustifiedEicb() {<br>
+define void @_ZNK10QByteArray13leftJustifiedEicb() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
         invoke void @strlen( )<br>
                         to label %tmp.3.i.noexc unwind label %invoke_catch.0<br>
@@ -15,7 +15,7 @@ tmp.3.i.noexc:          ; preds = %entry<br>
         br i1 false, label %then.0, label %else.0<br>
<br>
 invoke_catch.0:         ; preds = %entry<br>
-        %exn.0 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.0 = landingpad {i8*, i32}<br>
                  cleanup<br>
         invoke void @q_atomic_decrement( )<br>
                         to label %tmp.1.i.i183.noexc unwind label %terminate<br>
@@ -28,7 +28,7 @@ then.0:         ; preds = %tmp.3.i.noexc<br>
                         to label %invoke_cont.1 unwind label %invoke_catch.1<br>
<br>
 invoke_catch.1:         ; preds = %then.0<br>
-        %exn.1 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.1 = landingpad {i8*, i32}<br>
                  cleanup<br>
         invoke void @q_atomic_decrement( )<br>
                         to label %tmp.1.i.i162.noexc unwind label %terminate<br>
@@ -44,7 +44,7 @@ else.0:         ; preds = %tmp.3.i.noexc<br>
<br>
 terminate:              ; preds = %invoke_catch.1, %invoke_catch.0<br>
         %dbg.0.1 = phi {  }* [ null, %invoke_catch.1 ], [ null, %invoke_catch.0 ]               ; <{  }*> [#uses=0]<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/ADCE/dce_pure_invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ADCE_dce-5Fpure-5Finvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=gdEeAhCK6z_Ql4wAUXwGPxvdQcWNgacOXH2Pmj6n29o&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ADCE/dce_pure_invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ADCE/dce_pure_invoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/ADCE/dce_pure_invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,7 +2,7 @@<br>
<br>
 declare i32 @strlen(i8*) readnone<br>
<br>
-define i32 @test() {<br>
+define i32 @test() personality i32 (...)* @__gxx_personality_v0 {<br>
        ; invoke of pure function should not be deleted!<br>
        invoke i32 @strlen( i8* null ) readnone<br>
                        to label %Cont unwind label %Other              ; <i32>:1 [#uses=0]<br>
@@ -11,7 +11,7 @@ Cont:         ; preds = %0<br>
        ret i32 0<br>
<br>
 Other:         ; preds = %0<br>
-         %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+         %exn = landingpad {i8*, i32}<br>
                   cleanup<br>
        ret i32 1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/ArgumentPromotion/crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ArgumentPromotion_crash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=tzvDJmuMLrUSbXCeM0Gdp_WZ3OVjeB0apC1Lh5gH8KU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ArgumentPromotion/crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ArgumentPromotion/crash.ll (original)<br>
+++ llvm/trunk/test/Transforms/ArgumentPromotion/crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,7 +1,7 @@<br>
 ; RUN: opt -inline -argpromotion < %s<br>
 ; rdar://7879828<br>
<br>
-define void @foo() {<br>
+define void @foo() personality i32 (...)* @__gxx_personality_v0 {<br>
   invoke void @foo2()<br>
           to label %if.end432 unwind label %for.end520<br>
<br>
@@ -9,7 +9,7 @@ if.end432:<br>
   unreachable<br>
<br>
 for.end520:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
            cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/BDCE/dce-pure.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_BDCE_dce-2Dpure.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=8SCD6P8g5fnDSuVYYgwTxMWFZ-Bo5hkjenGkRBYgEIs&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/BDCE/dce-pure.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/BDCE/dce-pure.ll (original)<br>
+++ llvm/trunk/test/Transforms/BDCE/dce-pure.ll Wed Jun 17 15:52:32 2015<br>
@@ -11,7 +11,7 @@ define void @test1() {<br>
 ; CHECK: ret void<br>
 }<br>
<br>
-define i32 @test2() {<br>
+define i32 @test2() personality i32 (...)* @__gxx_personality_v0 {<br>
   ; invoke of pure function should not be deleted!<br>
   invoke i32 @strlen( i8* null ) readnone<br>
                   to label %Cont unwind label %Other<br>
@@ -20,7 +20,7 @@ Cont:           ; preds = %0<br>
   ret i32 0<br>
<br>
 Other:          ; preds = %0<br>
-   %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+   %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   ret i32 1<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/BDCE/order.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_BDCE_order.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=WkHWRfZnCy47Z5Ceuv2jxd_hIXOtF_XNsqbHZCLNtvk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/BDCE/order.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/BDCE/order.ll (original)<br>
+++ llvm/trunk/test/Transforms/BDCE/order.ll Wed Jun 17 15:52:32 2015<br>
@@ -4,7 +4,7 @@ target triple = "x86_64-unknown-linux-gn<br>
<br>
 declare i32 @__gxx_personality_v0(...)<br>
<br>
-define fastcc void @_ZN11__sanitizerL12TestRegistryEPNS_14ThreadRegistryEb() #0 {<br>
+define fastcc void @_ZN11__sanitizerL12TestRegistryEPNS_14ThreadRegistryEb() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   br i1 undef, label %if.else, label %entry.if.end_crit_edge<br>
<br>
@@ -22,7 +22,7 @@ lpad65.loopexit.split-lp.loopexit.split-<br>
   br label %if.else<br>
<br>
 lpad65.loopexit.split-lp.loopexit.split-lp.loopexit:<br>
-  %lpad.loopexit1121 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %lpad.loopexit1121 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %lpad65.loopexit.split-lp.loopexit.split-lp<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_CodeExtractor_2004-2D03-2D18-2DInvokeHandling.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=aiE-EaMs4Msh0EQmxJiDk7wKK2RYjiSBXu80qFd8Yec&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll (original)<br>
+++ llvm/trunk/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll Wed Jun 17 15:52:32 2015<br>
@@ -4,7 +4,7 @@ declare i32 @_IO_getc()<br>
<br>
 declare void @__errno_location()<br>
<br>
-define void @yylex() {<br>
+define void @yylex() personality i32 (...)* @__gcc_personality_v0 {<br>
 entry:<br>
        switch i32 0, label %label.126 [<br>
                 i32 0, label %return<br>
@@ -190,7 +190,7 @@ return:             ; preds = %entry<br>
        ret void<br>
<br>
 LongJmpBlkPre:         ; preds = %endif.52, %then.40<br>
-        %exn = landingpad { i8*, i32 } personality i32 (...)* @__gcc_personality_v0<br>
+        %exn = landingpad { i8*, i32 }<br>
                  catch i8* null<br>
        ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_CodeExtractor_2004-2D11-2D12-2DInvokeExtract.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Xd7ZAohXO5FLtaexH_-Yd58MXCFn6y4LiZk66JOHhV4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll (original)<br>
+++ llvm/trunk/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,5 +1,5 @@<br>
 ; RUN: opt < %s -extract-blocks -disable-output<br>
-define i32 @foo() {<br>
+define i32 @foo() personality i32 (...)* @__gcc_personality_v0 {<br>
         br label %EB<br>
<br>
 EB:             ; preds = %0<br>
@@ -10,7 +10,7 @@ Cont:           ; preds = %EB<br>
         ret i32 %V<br>
<br>
 Unw:            ; preds = %EB<br>
-        %exn = landingpad { i8*, i32 } personality i32 (...)* @__gcc_personality_v0<br>
+        %exn = landingpad { i8*, i32 }<br>
                  catch i8* null<br>
         resume { i8*, i32 } %exn<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/DeadArgElim/2009-03-17-MRE-Invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_DeadArgElim_2009-2D03-2D17-2DMRE-2DInvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=gorCE4t_h6N37lHBetJnAoaYqSDoXlkRAWuYxPFIIBc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/DeadArgElim/2009-03-17-MRE-Invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/DeadArgElim/2009-03-17-MRE-Invoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/DeadArgElim/2009-03-17-MRE-Invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -5,18 +5,18 @@ define internal { i32, i32 } @foo() {<br>
   ret {i32,i32} {i32 42, i32 4}<br>
 }<br>
<br>
-define i32 @bar() {<br>
+define i32 @bar() personality i32 (...)* @__gxx_personality_v0 {<br>
   %x = invoke {i32,i32} @foo() to label %T unwind label %T2<br>
 T:<br>
   %y = extractvalue {i32,i32} %x, 1<br>
   ret i32 %y<br>
 T2:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   unreachable<br>
 }<br>
<br>
-define i32 @bar2() {<br>
+define i32 @bar2() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   %x = invoke {i32,i32} @foo() to label %T unwind label %T2<br>
 T:<br>
@@ -24,7 +24,7 @@ T:<br>
   %y = extractvalue {i32,i32} %x, 1<br>
   ret i32 %y<br>
 T2:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/FunctionAttrs/nocapture.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_FunctionAttrs_nocapture.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=b8FtXb4XxJwk4SbkGs4decGWDHRsIjSdjVRoQjIL1eg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/FunctionAttrs/nocapture.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/FunctionAttrs/nocapture.ll (original)<br>
+++ llvm/trunk/test/Transforms/FunctionAttrs/nocapture.ll Wed Jun 17 15:52:32 2015<br>
@@ -47,13 +47,13 @@ define i1 @c5(i32* %q, i32 %bitno) {<br>
 declare void @throw_if_bit_set(i8*, i8) readonly<br>
<br>
 ; CHECK: define i1 @c6(i8* readonly %q, i8 %bit)<br>
-define i1 @c6(i8* %q, i8 %bit) {<br>
+define i1 @c6(i8* %q, i8 %bit) personality i32 (...)* @__gxx_personality_v0 {<br>
        invoke void @throw_if_bit_set(i8* %q, i8 %bit)<br>
                to label %ret0 unwind label %ret1<br>
 ret0:<br>
        ret i1 0<br>
 ret1:<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
        ret i1 1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/GVN/2010-05-08-OneBit.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_GVN_2010-2D05-2D08-2DOneBit.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=h23EXxGRyY55aUr7Qc0FUq2O-Mx_fSvE3zUYIQReprI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GVN/2010-05-08-OneBit.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/GVN/2010-05-08-OneBit.ll (original)<br>
+++ llvm/trunk/test/Transforms/GVN/2010-05-08-OneBit.ll Wed Jun 17 15:52:32 2015<br>
@@ -4,7 +4,7 @@<br>
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"<br>
 target triple = "x86_64-unknown-linux-gnu"<br>
<br>
-define i32 @main(i32 %argc, i8** nocapture %argv) {<br>
+define i32 @main(i32 %argc, i8** nocapture %argv) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   %0 = getelementptr inbounds i8, i8* undef, i64 5    ; <i8*> [#uses=1]<br>
   %1 = bitcast i8* %0 to i32*                     ; <i32*> [#uses=1]<br>
@@ -45,7 +45,7 @@ k151.i.i:<br>
   ret i32 0<br>
<br>
 landing_pad:                                      ; preds = %l147.i.i, %l129.i.i, %l117.i.i<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   switch i32 undef, label %fin [<br>
     i32 1, label %catch1<br>
<br>
Modified: llvm/trunk/test/Transforms/GVN/2011-09-07-TypeIdFor.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_GVN_2011-2D09-2D07-2DTypeIdFor.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=mKLTsH7qSRIl_DMj728R0mRZDT0IY3dzwhXO23tO7xw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GVN/2011-09-07-TypeIdFor.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/GVN/2011-09-07-TypeIdFor.ll (original)<br>
+++ llvm/trunk/test/Transforms/GVN/2011-09-07-TypeIdFor.ll Wed Jun 17 15:52:32 2015<br>
@@ -17,13 +17,13 @@ declare void @__cxa_end_catch()<br>
<br>
 declare i32 @__gxx_personality_v0(i32, i64, i8*, i8*)<br>
<br>
-define void @_Z3foov() uwtable {<br>
+define void @_Z3foov() uwtable personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @_Z4barv()<br>
           to label %return unwind label %lpad<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch %struct.__fundamental_type_info_pseudo* @_ZTIi<br>
           catch %struct.__fundamental_type_info_pseudo* @_ZTIb<br>
           catch %struct.__fundamental_type_info_pseudo* @_ZTIi<br>
<br>
Modified: llvm/trunk/test/Transforms/GVN/cond_br2.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_GVN_cond-5Fbr2.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=AxTdJkqg2XSlzzDbrg83eu2HvFyJfds-54UnrBJjRRU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GVN/cond_br2.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/GVN/cond_br2.ll (original)<br>
+++ llvm/trunk/test/Transforms/GVN/cond_br2.ll Wed Jun 17 15:52:32 2015<br>
@@ -9,7 +9,7 @@ target datalayout = "e-p:64:64:64-i1:8:8<br>
 %"union.llvm::SmallVectorBase::U" = type { x86_fp80 }<br>
<br>
 ; Function Attrs: ssp uwtable<br>
-define void @_Z4testv() #0 {<br>
+define void @_Z4testv() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 ; CHECK: @_Z4testv()<br>
 ; CHECK: invoke.cont:<br>
 ; CHECK: br i1 true, label %new.notnull.i11, label %if.end.i14<br>
@@ -98,7 +98,7 @@ _ZN4llvm11SmallVectorIiLj8EED1Ev.exit21:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %if.end.i14, %if.end.i, %invoke.cont2<br>
-  %12 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %12 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %13 = load i8*, i8** %BeginX.i.i.i.i.i.i, align 16, !tbaa !4<br>
   %cmp.i.i.i.i = icmp eq i8* %13, %1<br>
<br>
Modified: llvm/trunk/test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_GlobalOpt_cleanup-2Dpointer-2Droot-2Dusers.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=dC3rF-IMsORZdn1R6scaptGtCrVY6OlQrjgLwB5BDoY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll (original)<br>
+++ llvm/trunk/test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll Wed Jun 17 15:52:32 2015<br>
@@ -30,7 +30,7 @@ define void @test2() {<br>
 declare i8* @strdup(i8*)<br>
 declare void @foo2(i8*)<br>
<br>
-define void @test3() uwtable {<br>
+define void @test3() uwtable personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0 {<br>
 ; CHECK-LABEL: @test3(<br>
 ; CHECK-NOT: bb1:<br>
 ; CHECK-NOT: bb2:<br>
@@ -41,7 +41,7 @@ bb1:<br>
   store i8* %ptr, i8** @glbl<br>
   unreachable<br>
 bb2:<br>
-  %tmp1 = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0<br>
+  %tmp1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } %tmp1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/GlobalOpt/invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_GlobalOpt_invoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=QH7mftv6wxHrG8KnHpo_7nzjWPh0teYxlzf09zXqBSU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GlobalOpt/invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/GlobalOpt/invoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/GlobalOpt/invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -11,7 +11,7 @@ define i32 @one() {<br>
   ret i32 1<br>
 }<br>
<br>
-define void @_GLOBAL__I_a() {<br>
+define void @_GLOBAL__I_a() personality i8* undef {<br>
 bb:<br>
   %tmp1 = invoke i32 @one()<br>
           to label %bb2 unwind label %bb4<br>
@@ -21,7 +21,7 @@ bb2:<br>
   ret void<br>
<br>
 bb4:                                              ; preds = %bb<br>
-  %tmp5 = landingpad { i8*, i32 } personality i8* undef<br>
+  %tmp5 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/IPConstantProp/return-argument.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_IPConstantProp_return-2Dargument.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=MuBnpoocMVx5pnShzp24LtluISR1NpqzqnQhZzRYDY4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IPConstantProp/return-argument.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/IPConstantProp/return-argument.ll (original)<br>
+++ llvm/trunk/test/Transforms/IPConstantProp/return-argument.ll Wed Jun 17 15:52:32 2015<br>
@@ -27,7 +27,7 @@ define internal { i32, i32 } @foo(i32 %A<br>
         ret { i32, i32 } %Z<br>
 }<br>
<br>
-define void @caller(i1 %C) {<br>
+define void @caller(i1 %C) personality i32 (...)* @__gxx_personality_v0 {<br>
         %Q = alloca i32<br>
         ;; Call incdec to see if %W is properly replaced by %Q<br>
         %W = call i32* @incdec(i1 %C, i32* %Q )             ; <i32> [#uses=1]<br>
@@ -46,7 +46,7 @@ OK:<br>
         br label %RET<br>
<br>
 LPAD:<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         br label %RET<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/IPConstantProp/return-constant.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_IPConstantProp_return-2Dconstant.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=5g9Z0gPJrIvw_96nHCtSv42RI8XWraK8oj-Xfd50w4U&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IPConstantProp/return-constant.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/IPConstantProp/return-constant.ll (original)<br>
+++ llvm/trunk/test/Transforms/IPConstantProp/return-constant.ll Wed Jun 17 15:52:32 2015<br>
@@ -15,13 +15,13 @@ define i1 @caller(i1 %C) {<br>
         ret i1 %Y<br>
 }<br>
<br>
-define i1 @invokecaller(i1 %C) {<br>
+define i1 @invokecaller(i1 %C) personality i32 (...)* @__gxx_personality_v0 {<br>
         %X = invoke i32 @foo( i1 %C ) to label %OK unwind label %FAIL             ; <i32> [#uses=1]<br>
 OK:<br>
         %Y = icmp ne i32 %X, 0          ; <i1> [#uses=1]<br>
         ret i1 %Y<br>
 FAIL:<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         ret i1 false<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_IndVarSimplify_2004-2D04-2D05-2DInvokeCastCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Lz9O3mvI6RAeMrBSttlT6xi1spgwSLIwXxaY76h8TZA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll (original)<br>
+++ llvm/trunk/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -112,13 +112,13 @@ declare void @_ZNK4llvm19MachineInstrBui<br>
<br>
 declare i32 @__gxx_personality_v0(...)<br>
<br>
-define void @_ZN4llvm11_GLOBAL__N_22InsertPrologEpilogCode20runOnMachineFunctionERNS_15MachineFunctionE(%"struct.llvm::MachineFunction"* %F) {<br>
+define void @_ZN4llvm11_GLOBAL__N_22InsertPrologEpilogCode20runOnMachineFunctionERNS_15MachineFunctionE(%"struct.llvm::MachineFunction"* %F) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        %tmp.8.i = invoke %"struct.llvm::TargetFrameInfo"* null( %"struct.llvm::TargetMachine"* null )<br>
                        to label %invoke_cont.0.i unwind label %invoke_catch.0.i                ; <%"struct.llvm::TargetFrameInfo"*> [#uses=0]<br>
<br>
 invoke_catch.0.i:              ; preds = %invoke_cont.49.i, %invoke_cont.48.i, %invoke_cont.47.i, %invoke_cont.i53.i, %no_exit.i, %invoke_cont.44.i, %invoke_cont.43.i, %invoke_cont.42.i, %invoke_cont.41.i, %invoke_cont.40.i, %invoke_cont.39.i, %invoke_cont.38.i, %invoke_cont.37.i, %then.2.i, %invoke_cont.35.i, %invoke_cont.34.i, %then.1.i, %endif.0.i, %invoke_cont.9.i, %invoke_cont.8.i, %invoke_cont.7.i, %invoke_cont.i.i, %then.0.i, %invoke_cont.4.i, %invoke_cont.3.i, %invoke_cont.2.i, %invoke_cont.1.i, %endif.0.i.i, %tmp.7.i.noexc.i, %invoke_cont.0.i, %entry<br>
-        %exn0.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn0.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        ret void<br>
<br>
@@ -168,7 +168,7 @@ tmp.0.i.noexc.i:            ; preds = %then.0.i<br>
                        to label %invoke_cont.i.i unwind label %cond_true.i.i<br>
<br>
 cond_true.i.i:         ; preds = %tmp.0.i.noexc.i<br>
-        %exn.i.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.i.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        ret void<br>
<br>
@@ -262,7 +262,7 @@ tmp.0.i.noexc55.i:          ; preds = %no_exit.i<br>
                        to label %invoke_cont.i53.i unwind label %cond_true.i52.i<br>
<br>
 cond_true.i52.i:               ; preds = %tmp.0.i.noexc55.i<br>
-        %exn.i52.i = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn.i52.i = landingpad {i8*, i32}<br>
                  cleanup<br>
        ret void<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_IndVarSimplify_2005-2D02-2D11-2DInvokeCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=95Ji47DuVgJtK6Lc7oZKMD7cLPsAAHTXc4C4mWAcv7M&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll (original)<br>
+++ llvm/trunk/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,6 +1,6 @@<br>
 ; RUN: opt < %s -indvars -disable-output<br>
<br>
-define void @_ZN5ArrayISt7complexIdEEC2ERK10dim_vector() {<br>
+define void @_ZN5ArrayISt7complexIdEEC2ERK10dim_vector() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
         %tmp.7 = invoke i32 @_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector( )<br>
                         to label %invoke_cont.0 unwind label %cond_true.1               ; <i32> [#uses=2]<br>
@@ -16,7 +16,7 @@ no_exit.i:              ; preds = %no_ex<br>
         br label %no_exit.i<br>
<br>
 cond_true.1:            ; preds = %entry<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         resume { i8*, i32 } %exn<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_IndVarSimplify_2005-2D02-2D17-2DTruncateExprCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=QDZomNA2nJUIgN5ChMcleREpVrzzkfUpLboCniTnn-Q&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll (original)<br>
+++ llvm/trunk/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -4,13 +4,13 @@ declare void @q_atomic_increment()<br>
<br>
 declare void @_Z9qt_assertPKcS0_i()<br>
<br>
-define void @_ZN13QMetaResourceC1EPKh() {<br>
+define void @_ZN13QMetaResourceC1EPKh() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        invoke void @_Z9qt_assertPKcS0_i( )<br>
                        to label %endif.1 unwind label %then.i.i551<br>
<br>
 then.i.i551:           ; preds = %entry<br>
-        %exn551 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn551 = landingpad {i8*, i32}<br>
                  cleanup<br>
        ret void<br>
<br>
@@ -22,7 +22,7 @@ then.2:               ; preds = %endif.1<br>
                        to label %loopentry.0 unwind label %invoke_catch.6<br>
<br>
 invoke_catch.6:                ; preds = %then.2<br>
-        %exn6 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn6 = landingpad {i8*, i32}<br>
                  cleanup<br>
        ret void<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/IndVarSimplify/crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_IndVarSimplify_crash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=vDMNetyunUhdzN9fvMMHvznGWVYW-fziv7c2025Ak9o&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/IndVarSimplify/crash.ll (original)<br>
+++ llvm/trunk/test/Transforms/IndVarSimplify/crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -62,7 +62,7 @@ declare void @__go_undefer()<br>
<br>
 declare i32 @__gccgo_personality_v0(i32, i64, i8*, i8*)<br>
<br>
-define void @main.main() uwtable {<br>
+define void @main.main() uwtable personality i32 (i32, i64, i8*, i8*)* @__gccgo_personality_v0 {<br>
 entry:<br>
   invoke void @__go_panic() noreturn<br>
           to label %0 unwind label %"5.i"<br>
@@ -75,12 +75,12 @@ entry:<br>
           to label %main.f.exit unwind label %"7.i"<br>
<br>
 "5.i":                                            ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gccgo_personality_v0<br>
+  %1 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   br label %"3.i"<br>
<br>
 "7.i":                                            ; preds = %"3.i"<br>
-  %2 = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gccgo_personality_v0<br>
+  %2 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   br label %"3.i"<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/IndVarSimplify/interesting-invoke-use.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_IndVarSimplify_interesting-2Dinvoke-2Duse.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=aQxGXAGDeUBRSkLApSzkrINS2uaqqrZ1qiyr4xDshHA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/interesting-invoke-use.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/IndVarSimplify/interesting-invoke-use.ll (original)<br>
+++ llvm/trunk/test/Transforms/IndVarSimplify/interesting-invoke-use.ll Wed Jun 17 15:52:32 2015<br>
@@ -11,7 +11,7 @@ target triple = "i386-pc-linux-gnu"<br>
 @.str7 = external constant [24 x i8]            ; <[24 x i8]*> [#uses=1]<br>
 @C.17.316 = external constant %struct.string___XUB              ; <%struct.string___XUB*> [#uses=1]<br>
<br>
-define void @_ada_c35503g() {<br>
+define void @_ada_c35503g() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   br label %bb<br>
<br>
@@ -47,7 +47,7 @@ bb178:          ; preds = %invcont127<br>
   br label %bb123<br>
<br>
 lpad266:                ; preds = %invcont129, %bb128, %bb123<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/2003-09-14-InlineValue.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_2003-2D09-2D14-2DInlineValue.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=TxzC8BS_u0Azh9xTJWGl4UzwI2LIxujTqMmJSKYvzHA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/2003-09-14-InlineValue.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/2003-09-14-InlineValue.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/2003-09-14-InlineValue.ll Wed Jun 17 15:52:32 2015<br>
@@ -8,7 +8,7 @@ define internal i32 @Callee() {<br>
         ret i32 %J<br>
 }<br>
<br>
-define i32 @Caller() {<br>
+define i32 @Caller() personality i32 (...)* @__gxx_personality_v0 {<br>
         %V = invoke i32 @Callee( )<br>
                         to label %Ok unwind label %Bad          ; <i32> [#uses=1]<br>
<br>
@@ -16,7 +16,7 @@ Ok:             ; preds = %0<br>
         ret i32 %V<br>
<br>
 Bad:            ; preds = %0<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         ret i32 0<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_2003-2D09-2D22-2DPHINodeInlineFail.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=PXaxYcXXWhyags0aG1X25I394FNB0o_wtEaBl78vm40&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,6 +1,6 @@<br>
 ; RUN: opt < %s -inline -disable-output<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
         invoke void @__main( )<br>
                         to label %LongJmpBlkPost unwind label %LongJmpBlkPre<br>
@@ -10,7 +10,7 @@ LongJmpBlkPost:<br>
<br>
 LongJmpBlkPre:<br>
         %i.3 = phi i32 [ 0, %entry ]<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         ret i32 0<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_2003-2D09-2D22-2DPHINodesInExceptionDest.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ZNtWunnomcrfbxCvnvfvR0podhduPQtUNZTcSp75QJ4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,6 +1,6 @@<br>
 ; RUN: opt < %s -inline -disable-output<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
         invoke void @__main( )<br>
                         to label %Call2Invoke unwind label %LongJmpBlkPre<br>
@@ -10,7 +10,7 @@ Call2Invoke:            ; preds = %entry<br>
<br>
 LongJmpBlkPre:          ; preds = %Call2Invoke, %entry<br>
         %i.3 = phi i32 [ 0, %entry ]<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         br label %exit<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_2003-2D09-2D22-2DPHINodesInNormalInvokeDest.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=bgpgMj1VJk-BLg5McoPgV0s5riD4ot151j4lJRSj-Ms&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,6 +1,6 @@<br>
 ; RUN: opt < %s -inline -disable-output<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
         invoke void @__main( )<br>
                         to label %else unwind label %RethrowExcept<br>
@@ -13,7 +13,7 @@ LJDecisionBB:           ; preds = %else<br>
         br label %else<br>
<br>
 RethrowExcept:          ; preds = %entry<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         ret i32 0<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_2006-2D11-2D09-2DInlineCGUpdate-2D2.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=0wl4jmuXZIMop5pwee8RBnvAPPdrJy5CzPFJSY0Kdys&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll Wed Jun 17 15:52:32 2015<br>
@@ -126,13 +126,13 @@ entry:<br>
        unreachable<br>
 }<br>
<br>
-define fastcc void @_ZSt19__throw_logic_errorPKc() {<br>
+define fastcc void @_ZSt19__throw_logic_errorPKc() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        invoke fastcc void @_ZNSt11logic_errorC1ERKSs( )<br>
                        to label %try_exit.0 unwind label %try_catch.0<br>
<br>
 try_catch.0:           ; preds = %entry<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  catch i8* null<br>
        resume { i8*, i32 } %exn<br>
<br>
@@ -157,13 +157,13 @@ entry:<br>
        unreachable<br>
 }<br>
<br>
-define fastcc void @_ZNSt12length_errorC1ERKSs() {<br>
+define fastcc void @_ZNSt12length_errorC1ERKSs() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        invoke fastcc void @_ZNSsC1ERKSs( )<br>
                        to label %_ZNSt11logic_errorC2ERKSs.exit unwind label %invoke_catch.i<br>
<br>
 invoke_catch.i:                ; preds = %entry<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  catch i8* null<br>
        resume { i8*, i32 } %exn<br>
<br>
@@ -195,14 +195,14 @@ endif.1.i:                ; preds = %then.1.i, %entry<br>
        unreachable<br>
 }<br>
<br>
-define fastcc void @_ZNSsC1ERKSs() {<br>
+define fastcc void @_ZNSsC1ERKSs() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        call fastcc void @_ZNSs4_Rep7_M_grabERKSaIcES2_( )<br>
        invoke fastcc void @_ZNSaIcEC1ERKS_( )<br>
                        to label %invoke_cont.1 unwind label %invoke_catch.1<br>
<br>
 invoke_catch.1:                ; preds = %entry<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  catch i8* null<br>
        call fastcc void @_ZNSaIcED1Ev( )<br>
        resume { i8*, i32 } %exn<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_2006-2D11-2D09-2DInlineCGUpdate.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=CM7X4Ick7U3eUhz_Yl1tqBC-A7lUvHIUpNfNv4QihGQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll Wed Jun 17 15:52:32 2015<br>
@@ -170,14 +170,14 @@ endif.1.i:                ; preds = %entry<br>
        unreachable<br>
 }<br>
<br>
-define fastcc void @_ZNSsC1ERKSs() {<br>
+define fastcc void @_ZNSsC1ERKSs() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        call fastcc void @_ZNSs4_Rep7_M_grabERKSaIcES2_( )<br>
        invoke fastcc void @_ZNSaIcEC1ERKS_( )<br>
                        to label %invoke_cont.1 unwind label %invoke_catch.1<br>
<br>
 invoke_catch.1:                ; preds = %entry<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  catch i8* null<br>
        call fastcc void @_ZNSaIcED1Ev( )<br>
        resume { i8*, i32 } %exn<br>
@@ -301,13 +301,13 @@ entry:<br>
        unreachable<br>
 }<br>
<br>
-define fastcc void @_ZNSt12length_errorC1ERKSs() {<br>
+define fastcc void @_ZNSt12length_errorC1ERKSs() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        invoke fastcc void @_ZNSsC1ERKSs( )<br>
                        to label %_ZNSt11logic_errorC2ERKSs.exit unwind label %invoke_catch.i<br>
<br>
 invoke_catch.i:                ; preds = %entry<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  catch i8* null<br>
        resume { i8*, i32 } %exn<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/2007-04-15-InlineEH.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_2007-2D04-2D15-2DInlineEH.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=IdigoDU_8SvvUHr5ae13QTVAkkzGxriubNgQ720pe-k&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/2007-04-15-InlineEH.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/2007-04-15-InlineEH.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/2007-04-15-InlineEH.ll Wed Jun 17 15:52:32 2015<br>
@@ -12,7 +12,7 @@ entry:<br>
        unreachable<br>
 }<br>
<br>
-define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() {<br>
+define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        invoke void @gnat__os_lib__getenv( %struct.gnat__strings__string_access* null )<br>
                        to label %invcont unwind label %cleanup144<br>
@@ -33,7 +33,7 @@ invcont67:            ; preds = %invcont65<br>
        ret void<br>
<br>
 cleanup144:            ; preds = %invcont65, %invcont64, %invcont, %entry<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
        resume { i8*, i32 } %exn<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/callgraph-update.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_callgraph-2Dupdate.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=0101bMTgYxRYiX00Dlbn3Bsu2n8GmdTj7qOJKhec6O4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/callgraph-update.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/callgraph-update.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/callgraph-update.ll Wed Jun 17 15:52:32 2015<br>
@@ -21,7 +21,7 @@ define internal fastcc void @parse() {<br>
        ret void<br>
 }<br>
<br>
-define void @main() {<br>
+define void @main() personality i32 (...)* @__gxx_personality_v0 {<br>
        invoke fastcc void @parse()<br>
                        to label %invcont unwind label %lpad<br>
<br>
@@ -29,7 +29,7 @@ invcont:<br>
        unreachable<br>
<br>
 lpad:<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_crash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=zsLvP5DEYJSNerk4GLZk6O7CdRaybV6Aef9IPC0qsQI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/crash.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -59,7 +59,7 @@ declare fastcc void @list_Rplacd1284() n<br>
 ;============================<br>
 ; PR5208<br>
<br>
-define void @AAA() {<br>
+define void @AAA() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   %A = alloca i8, i32 undef, align 1<br>
   invoke fastcc void @XXX()<br>
@@ -69,7 +69,7 @@ invcont98:<br>
   unreachable<br>
<br>
 lpad156:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   unreachable<br>
 }<br>
@@ -78,7 +78,7 @@ declare i32 @__gxx_personality_v0(...)<br>
<br>
 declare fastcc void @YYY()<br>
<br>
-define internal fastcc void @XXX() {<br>
+define internal fastcc void @XXX() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   %B = alloca i8, i32 undef, align 1<br>
   invoke fastcc void @YYY()<br>
@@ -88,7 +88,7 @@ bb260:<br>
   ret void<br>
<br>
 lpad:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   resume { i8*, i32 } %exn<br>
 }<br>
@@ -102,7 +102,7 @@ entry:<br>
   ret void<br>
 }<br>
<br>
-define void @f4(i32 %size) ssp {<br>
+define void @f4(i32 %size) ssp personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @f1(void ()* @f3)<br>
           to label %invcont3 unwind label %lpad18<br>
@@ -111,7 +111,7 @@ invcont3:<br>
   ret void<br>
<br>
 lpad18:                                           ; preds = %invcont3, %bb1<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/debug-invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_debug-2Dinvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=_XYXSty3UKFxnct3vEJ7G1d6ywZxfQncuD2rzavFjtY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/debug-invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/debug-invoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/debug-invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -17,7 +17,7 @@ define void @inl() #0 {<br>
   ret void<br>
 }<br>
<br>
-define void @caller() {<br>
+define void @caller() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
   invoke void @inl()<br>
     to label %cont unwind label %lpad, !dbg !4<br>
<br>
@@ -25,7 +25,7 @@ cont:<br>
   ret void<br>
<br>
 lpad:<br>
-  landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  landingpad { i8*, i32 }<br>
     cleanup<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/inline-invoke-tail.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_inline-2Dinvoke-2Dtail.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ddF_DkzaLoWUopNv8tdXl-1HqLBmKhhPfNy2K_DOtk0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/inline-invoke-tail.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/inline-invoke-tail.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/inline-invoke-tail.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,7 +10,7 @@ define internal void @foo(i32* %p, i32*<br>
<br>
 declare void @llvm.memcpy.i32(i8* nocapture, i8* nocapture, i32, i32) nounwind<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i32 (...)* @__gxx_personality_v0 {<br>
        %a = alloca i32         ; <i32*> [#uses=3]<br>
        %b = alloca i32         ; <i32*> [#uses=2]<br>
        store i32 1, i32* %a, align 4<br>
@@ -23,7 +23,7 @@ invcont:<br>
        ret i32 %retval<br>
<br>
 lpad:<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
             catch i8* null<br>
        unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/inline-invoke-with-asm-call.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_inline-2Dinvoke-2Dwith-2Dasm-2Dcall.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=rCgQXoj27_z69HRADPMCAGdS8v2m6KLJbbeUWQC21jM&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/inline-invoke-with-asm-call.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/inline-invoke-with-asm-call.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/inline-invoke-with-asm-call.ll Wed Jun 17 15:52:32 2015<br>
@@ -8,7 +8,7 @@ target triple = "x86_64-apple-darwin"<br>
 ; Make sure we are generating "call asm" instead of "invoke asm".<br>
 ; CHECK: call void asm<br>
 ; CHECK-LABEL: @callee_with_asm<br>
-define void @caller() {<br>
+define void @caller() personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
   br i1 undef, label %1, label %4<br>
<br>
 ; <label>:1<br>
@@ -16,7 +16,7 @@ define void @caller() {<br>
           to label %4 unwind label %2<br>
<br>
 ; <label>:2<br>
-  %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %3 = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } undef<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/inline_invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_inline-5Finvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=4dvzJIaMG3R5KrPIqKZy0U054VLGo34jYbdKd1NcFl4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/inline_invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/inline_invoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/inline_invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -28,7 +28,7 @@ declare void @__cxa_end_catch()<br>
<br>
 declare void @_ZSt9terminatev()<br>
<br>
-define internal void @test0_in() alwaysinline uwtable ssp {<br>
+define internal void @test0_in() alwaysinline uwtable ssp personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   %a = alloca %struct.A, align 1<br>
   %b = alloca %struct.A, align 1<br>
@@ -45,7 +45,7 @@ invoke.cont1:<br>
   ret void<br>
<br>
 lpad:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   invoke void @_ZN1AD1Ev(%struct.A* %a)<br>
           to label %invoke.cont2 unwind label %terminate.lpad<br>
@@ -54,13 +54,13 @@ invoke.cont2:<br>
   resume { i8*, i32 } %exn<br>
<br>
 terminate.lpad:<br>
-  %exn1 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn1 = landingpad {i8*, i32}<br>
             catch i8* null<br>
   call void @_ZSt9terminatev() noreturn nounwind<br>
   unreachable<br>
 }<br>
<br>
-define void @test0_out() uwtable ssp {<br>
+define void @test0_out() uwtable ssp personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @test0_in()<br>
           to label %ret unwind label %lpad<br>
@@ -69,7 +69,7 @@ ret:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %eh.exc = extractvalue { i8*, i32 } %exn, 0<br>
   %eh.selector = extractvalue { i8*, i32 } %exn, 1<br>
@@ -93,7 +93,7 @@ eh.resume:<br>
 ; CHECK:      invoke void @_ZN1AC1Ev(%struct.A* [[B]])<br>
 ; CHECK:      invoke void @_ZN1AD1Ev(%struct.A* [[B]])<br>
 ; CHECK:      invoke void @_ZN1AD1Ev(%struct.A* [[A]])<br>
-; CHECK:      landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK:      landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:    cleanup<br>
 ; CHECK-NEXT:    catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT: invoke void @_ZN1AD1Ev(%struct.A* [[A]])<br>
@@ -101,7 +101,7 @@ eh.resume:<br>
 ; CHECK: [[LBL]]:<br>
 ; CHECK-NEXT: br label %[[LPAD:[^\s]+]]<br>
 ; CHECK:      ret void<br>
-; CHECK:      landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK:      landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:    catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT: br label %[[LPAD]]<br>
 ; CHECK: [[LPAD]]:<br>
@@ -113,7 +113,7 @@ eh.resume:<br>
<br>
 ;; Test 1 - Correctly handle phis in outer landing pads.<br>
<br>
-define void @test1_out() uwtable ssp {<br>
+define void @test1_out() uwtable ssp personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @test0_in()<br>
           to label %cont unwind label %lpad<br>
@@ -128,7 +128,7 @@ ret:<br>
 lpad:<br>
   %x = phi i32 [ 0, %entry ], [ 1, %cont ]<br>
   %y = phi i32 [ 1, %entry ], [ 4, %cont ]<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %eh.exc = extractvalue { i8*, i32 } %exn, 0<br>
   %eh.selector = extractvalue { i8*, i32 } %exn, 1<br>
@@ -163,7 +163,7 @@ eh.resume:<br>
<br>
 ; Inner landing pad from first inlining.<br>
 ; CHECK:    [[LPAD1]]:<br>
-; CHECK-NEXT: [[LPADVAL1:%.*]] = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK-NEXT: [[LPADVAL1:%.*]] = landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:    cleanup<br>
 ; CHECK-NEXT:    catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT: invoke void @_ZN1AD1Ev(%struct.A* [[A1]])<br>
@@ -182,7 +182,7 @@ eh.resume:<br>
<br>
 ; Inner landing pad from second inlining.<br>
 ; CHECK:    [[LPAD2]]:<br>
-; CHECK-NEXT: [[LPADVAL2:%.*]] = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK-NEXT: [[LPADVAL2:%.*]] = landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:   cleanup<br>
 ; CHECK-NEXT:   catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT: invoke void @_ZN1AD1Ev(%struct.A* [[A2]])<br>
@@ -195,7 +195,7 @@ eh.resume:<br>
 ; CHECK:    [[LPAD]]:<br>
 ; CHECK-NEXT: [[X:%.*]] = phi i32 [ 0, %entry ], [ 0, {{%.*}} ], [ 1, %cont ], [ 1, {{%.*}} ]<br>
 ; CHECK-NEXT: [[Y:%.*]] = phi i32 [ 1, %entry ], [ 1, {{%.*}} ], [ 4, %cont ], [ 4, {{%.*}} ]<br>
-; CHECK-NEXT: [[LPADVAL:%.*]] = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK-NEXT: [[LPADVAL:%.*]] = landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:   catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT: br label %[[LPAD_JOIN2]]<br>
<br>
@@ -221,7 +221,7 @@ eh.resume:<br>
<br>
<br>
 ;; Test 2 - Don't make invalid IR for inlines into landing pads without eh.exception calls<br>
-define void @test2_out() uwtable ssp {<br>
+define void @test2_out() uwtable ssp personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @test0_in()<br>
           to label %ret unwind label %lpad<br>
@@ -230,7 +230,7 @@ ret:<br>
   ret void<br>
<br>
 lpad:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   call void @_ZSt9terminatev()<br>
   unreachable<br>
@@ -250,7 +250,7 @@ lpad:<br>
<br>
<br>
 ;; Test 3 - Deal correctly with split unwind edges.<br>
-define void @test3_out() uwtable ssp {<br>
+define void @test3_out() uwtable ssp personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @test0_in()<br>
           to label %ret unwind label %lpad<br>
@@ -259,7 +259,7 @@ ret:<br>
   ret void<br>
<br>
 lpad:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   br label %lpad.cont<br>
<br>
@@ -269,7 +269,7 @@ lpad.cont:<br>
 }<br>
<br>
 ; CHECK: define void @test3_out()<br>
-; CHECK:      landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK:      landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:    cleanup<br>
 ; CHECK-NEXT:    catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT: invoke void @_ZN1AD1Ev(<br>
@@ -284,7 +284,7 @@ lpad.cont:<br>
<br>
<br>
 ;; Test 4 - Split unwind edges with a dominance problem<br>
-define void @test4_out() uwtable ssp {<br>
+define void @test4_out() uwtable ssp personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @test0_in()<br>
           to label %cont unwind label %lpad.crit<br>
@@ -297,13 +297,13 @@ ret:<br>
   ret void<br>
<br>
 lpad.crit:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   call void @opaque() nounwind<br>
   br label %terminate<br>
<br>
 lpad:<br>
-  %exn2 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn2 = landingpad {i8*, i32}<br>
             catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   br label %terminate<br>
<br>
@@ -315,7 +315,7 @@ terminate:<br>
 }<br>
<br>
 ; CHECK: define void @test4_out()<br>
-; CHECK:      landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK:      landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:    cleanup<br>
 ; CHECK-NEXT:    catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT: invoke void @_ZN1AD1Ev(<br>
@@ -325,7 +325,7 @@ terminate:<br>
 ; CHECK:      invoke void @opaque()<br>
 ; CHECK-NEXT:                  unwind label %lpad<br>
 ; CHECK:    lpad.crit:<br>
-; CHECK-NEXT: landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK-NEXT: landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:   catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT: br label %[[JOIN]]<br>
 ; CHECK:    [[JOIN]]:<br>
@@ -333,7 +333,7 @@ terminate:<br>
 ; CHECK-NEXT: call void @opaque() [[NUW:#[0-9]+]]<br>
 ; CHECK-NEXT: br label %[[FIX:[^\s]+]]<br>
 ; CHECK:    lpad:<br>
-; CHECK-NEXT: landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK-NEXT: landingpad { i8*, i32 }<br>
 ; CHECK-NEXT:   catch i8* bitcast (i8** @_ZTIi to i8*)<br>
 ; CHECK-NEXT: br label %[[FIX]]<br>
 ; CHECK:    [[FIX]]:<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/inline_returns_twice.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_inline-5Freturns-5Ftwice.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=m7bmFgrsJZsvAs6SpusKKDPntEAkI9ONTUpgx79IGug&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/inline_returns_twice.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/inline_returns_twice.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/inline_returns_twice.ll Wed Jun 17 15:52:32 2015<br>
@@ -37,7 +37,7 @@ entry:<br>
   ret i32 %add<br>
 }<br>
<br>
-define i32 @inner3() {<br>
+define i32 @inner3() personality i8* null {<br>
 entry:<br>
   %invoke = invoke i32 @a() returns_twice<br>
       to label %cont unwind label %lpad<br>
@@ -47,7 +47,7 @@ cont:<br>
   ret i32 %add<br>
<br>
 lpad:<br>
-  %lp = landingpad i32 personality i8* null cleanup<br>
+  %lp = landingpad i32 cleanup<br>
   resume i32 %lp<br>
 }<br>
<br>
@@ -60,7 +60,7 @@ entry:<br>
   ret i32 %add<br>
 }<br>
<br>
-define i32 @inner4() returns_twice {<br>
+define i32 @inner4() returns_twice personality i8* null {<br>
 entry:<br>
   %invoke = invoke i32 @a() returns_twice<br>
       to label %cont unwind label %lpad<br>
@@ -70,7 +70,7 @@ cont:<br>
   ret i32 %add<br>
<br>
 lpad:<br>
-  %lp = landingpad i32 personality i8* null cleanup<br>
+  %lp = landingpad i32 cleanup<br>
   resume i32 %lp<br>
 }<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/invoke-cleanup.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_invoke-2Dcleanup.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=94P0HKIC4nMFnx_VRRVtvlP_oqsXkn-31-QhCFLEoyQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/invoke-cleanup.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/invoke-cleanup.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/invoke-cleanup.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,13 +6,13 @@ declare void @external_func()<br>
 @exception_type2 = external global i8<br>
<br>
<br>
-define internal void @inner() {<br>
+define internal void @inner() personality i8* null {<br>
   invoke void @external_func()<br>
       to label %cont unwind label %lpad<br>
 cont:<br>
   ret void<br>
 lpad:<br>
-  %lp = landingpad i32 personality i8* null<br>
+  %lp = landingpad i32<br>
       catch i8* @exception_type1<br>
   resume i32 %lp<br>
 }<br>
@@ -21,13 +21,13 @@ lpad:<br>
 ; this call site (PR17872), otherwise C++ destructors will not be<br>
 ; called when they should be.<br>
<br>
-define void @outer() {<br>
+define void @outer() personality i8* null {<br>
   invoke void @inner()<br>
       to label %cont unwind label %lpad<br>
 cont:<br>
   ret void<br>
 lpad:<br>
-  %lp = landingpad i32 personality i8* null<br>
+  %lp = landingpad i32<br>
       cleanup<br>
       catch i8* @exception_type2<br>
   resume i32 %lp<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/invoke-combine-clauses.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_invoke-2Dcombine-2Dclauses.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=QdMohFaKepc50qX1cqrbb0cIdyq3R7REJSkuG25hFNg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/invoke-combine-clauses.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/invoke-combine-clauses.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/invoke-combine-clauses.ll Wed Jun 17 15:52:32 2015<br>
@@ -12,13 +12,13 @@ declare void @abort()<br>
 ; inlined function caused "catch i8* @exception_outer" to appear<br>
 ; multiple times in the resulting landingpad.<br>
<br>
-define internal void @inner_multiple_resume() {<br>
+define internal void @inner_multiple_resume() personality i8* null {<br>
   invoke void @external_func()<br>
       to label %cont unwind label %lpad<br>
 cont:<br>
   ret void<br>
 lpad:<br>
-  %lp = landingpad i32 personality i8* null<br>
+  %lp = landingpad i32<br>
       catch i8* @exception_inner<br>
   %cond = load i1, i1* @condition<br>
   br i1 %cond, label %resume1, label %resume2<br>
@@ -28,13 +28,13 @@ resume2:<br>
   resume i32 2<br>
 }<br>
<br>
-define void @outer_multiple_resume() {<br>
+define void @outer_multiple_resume() personality i8* null {<br>
   invoke void @inner_multiple_resume()<br>
       to label %cont unwind label %lpad<br>
 cont:<br>
   ret void<br>
 lpad:<br>
-  %lp = landingpad i32 personality i8* null<br>
+  %lp = landingpad i32<br>
       catch i8* @exception_outer<br>
   resume i32 %lp<br>
 }<br>
@@ -50,25 +50,25 @@ lpad:<br>
 ; inlined function caused "catch i8* @exception_outer" to appear<br>
 ; multiple times in the resulting landingpad.<br>
<br>
-define internal void @inner_resume_and_call() {<br>
+define internal void @inner_resume_and_call() personality i8* null {<br>
   call void @external_func()<br>
   invoke void @external_func()<br>
       to label %cont unwind label %lpad<br>
 cont:<br>
   ret void<br>
 lpad:<br>
-  %lp = landingpad i32 personality i8* null<br>
+  %lp = landingpad i32<br>
       catch i8* @exception_inner<br>
   resume i32 %lp<br>
 }<br>
<br>
-define void @outer_resume_and_call() {<br>
+define void @outer_resume_and_call() personality i8* null {<br>
   invoke void @inner_resume_and_call()<br>
       to label %cont unwind label %lpad<br>
 cont:<br>
   ret void<br>
 lpad:<br>
-  %lp = landingpad i32 personality i8* null<br>
+  %lp = landingpad i32<br>
       catch i8* @exception_outer<br>
   resume i32 %lp<br>
 }<br>
@@ -86,26 +86,26 @@ lpad:<br>
 ; function (since the outer function's landingpad will not be<br>
 ; reachable), but it's OK to include this clause.<br>
<br>
-define internal void @inner_no_resume_or_call() {<br>
+define internal void @inner_no_resume_or_call() personality i8* null {<br>
   invoke void @external_func()<br>
       to label %cont unwind label %lpad<br>
 cont:<br>
   ret void<br>
 lpad:<br>
-  %lp = landingpad i32 personality i8* null<br>
+  %lp = landingpad i32<br>
       catch i8* @exception_inner<br>
   ; A landingpad might have no "resume" if a C++ destructor aborts.<br>
   call void @abort() noreturn nounwind<br>
   unreachable<br>
 }<br>
<br>
-define void @outer_no_resume_or_call() {<br>
+define void @outer_no_resume_or_call() personality i8* null {<br>
   invoke void @inner_no_resume_or_call()<br>
       to label %cont unwind label %lpad<br>
 cont:<br>
   ret void<br>
 lpad:<br>
-  %lp = landingpad i32 personality i8* null<br>
+  %lp = landingpad i32<br>
       catch i8* @exception_outer<br>
   resume i32 %lp<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/invoke-cost.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_invoke-2Dcost.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=JgFhRxHwKs-1xZ2gk9BBneOQU7ybH3iQz7VRm-tKPeI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/invoke-cost.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/invoke-cost.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/invoke-cost.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,7 +10,7 @@ declare i8* @__cxa_begin_catch(i8*)<br>
 declare void @__cxa_end_catch()<br>
 declare void @_ZSt9terminatev()<br>
<br>
-define void @inner1() {<br>
+define void @inner1() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @f() to label %cont1 unwind label %terminate.lpad<br>
<br>
@@ -27,7 +27,7 @@ cont4:<br>
   ret void<br>
<br>
 terminate.lpad:<br>
-  landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  landingpad {i8*, i32}<br>
             catch i8* null<br>
   call void @_ZSt9terminatev() noreturn nounwind<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/invoke_test-1.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_invoke-5Ftest-2D1.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=nnXw4bbeM0Vurt2NSWkkBb8u7GJjwXLVQfIayxL2f00&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/invoke_test-1.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/invoke_test-1.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/invoke_test-1.ll Wed Jun 17 15:52:32 2015<br>
@@ -12,7 +12,7 @@ define internal void @callee() {<br>
 }<br>
<br>
 ; caller returns true if might_throw throws an exception...<br>
-define i32 @caller() {<br>
+define i32 @caller() personality i32 (...)* @__gxx_personality_v0 {<br>
         invoke void @callee( )<br>
                         to label %cont unwind label %exc<br>
<br>
@@ -20,7 +20,7 @@ cont:           ; preds = %0<br>
         ret i32 0<br>
<br>
 exc:            ; preds = %0<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         ret i32 1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/invoke_test-2.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_invoke-5Ftest-2D2.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=sEQ6TfEA15BFsw8H1ksq1Z2re9PJ_eNX7Pb6kFH87fA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/invoke_test-2.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/invoke_test-2.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/invoke_test-2.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@<br>
<br>
 declare void @might_throw()<br>
<br>
-define internal i32 @callee() {<br>
+define internal i32 @callee() personality i32 (...)* @__gxx_personality_v0 {<br>
         invoke void @might_throw( )<br>
                         to label %cont unwind label %exc<br>
<br>
@@ -14,13 +14,13 @@ cont:           ; preds = %0<br>
         ret i32 0<br>
<br>
 exc:            ; preds = %0<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         ret i32 1<br>
 }<br>
<br>
 ; caller returns true if might_throw throws an exception... callee cannot throw.<br>
-define i32 @caller() {<br>
+define i32 @caller() personality i32 (...)* @__gxx_personality_v0 {<br>
         %X = invoke i32 @callee( )<br>
                         to label %cont unwind label %UnreachableExceptionHandler                ; <i32> [#uses=1]<br>
<br>
@@ -28,7 +28,7 @@ cont:           ; preds = %0<br>
         ret i32 %X<br>
<br>
 UnreachableExceptionHandler:            ; preds = %0<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         ret i32 -1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Inline/invoke_test-3.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Inline_invoke-5Ftest-2D3.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=nzEWwJlIhDLDVAmRkdDac-HTyRysw-Ksx_yZ2cnKmIo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/invoke_test-3.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Inline/invoke_test-3.ll (original)<br>
+++ llvm/trunk/test/Transforms/Inline/invoke_test-3.ll Wed Jun 17 15:52:32 2015<br>
@@ -5,7 +5,7 @@<br>
<br>
 declare void @might_throw()<br>
<br>
-define internal i32 @callee() {<br>
+define internal i32 @callee() personality i32 (...)* @__gxx_personality_v0 {<br>
         invoke void @might_throw( )<br>
                         to label %cont unwind label %exc<br>
<br>
@@ -14,14 +14,14 @@ cont:           ; preds = %0<br>
<br>
 exc:            ; preds = %0a<br>
        ; This just rethrows the exception!<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         resume { i8*, i32 } %exn<br>
 }<br>
<br>
 ; caller returns true if might_throw throws an exception... which gets<br>
 ; propagated by callee.<br>
-define i32 @caller() {<br>
+define i32 @caller() personality i32 (...)* @__gxx_personality_v0 {<br>
         %X = invoke i32 @callee( )<br>
                         to label %cont unwind label %Handler            ; <i32> [#uses=1]<br>
<br>
@@ -30,7 +30,7 @@ cont:           ; preds = %0<br>
<br>
 Handler:                ; preds = %0<br>
 ; This consumes an exception thrown by might_throw<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         ret i32 1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_2003-2D10-2D29-2DCallSiteResolve.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=EE6qQdSUpVv3S6_ZOL2ESFmjAFYOG9sgxG-UJJa8KH0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,7 +2,7 @@<br>
<br>
 declare i32* @bar()<br>
<br>
-define float* @foo() {<br>
+define float* @foo() personality i32 (...)* @__gxx_personality_v0 {<br>
         %tmp.11 = invoke float* bitcast (i32* ()* @bar to float* ()*)( )<br>
                         to label %invoke_cont unwind label %X           ; <float*> [#uses=1]<br>
<br>
@@ -10,7 +10,7 @@ invoke_cont:            ; preds = %0<br>
         ret float* %tmp.11<br>
<br>
 X:              ; preds = %0<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         ret float* null<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_2004-2D01-2D13-2DInstCombineInvokePHI.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=TqxLjIvmtiTynbY1_kLCjNI9RHy5lSwwJym4mQGyhSc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll Wed Jun 17 15:52:32 2015<br>
@@ -9,7 +9,7 @@<br>
<br>
 declare i8* @test()<br>
<br>
-define i32 @foo() {<br>
+define i32 @foo() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
         br i1 true, label %cont, label %call<br>
<br>
@@ -23,7 +23,7 @@ cont:           ; preds = %call, %entry<br>
         ret i32 %V<br>
<br>
 N:              ; preds = %call<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
         ret i32 0<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_2008-2D05-2D09-2DSinkOfInvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=FJSAZCfVbL_RlTQPfI4Iy_7tc9iU1CthxcDFlDq3ebU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -9,7 +9,7 @@ declare i32** @__ctype_toupper_loc() rea<br>
<br>
 declare i32** @__ctype_tolower_loc() readnone<br>
<br>
-define void @_ZNSt5ctypeIcEC2EPiPKtbm(%"struct.std::ctype<char>"* %this, i32* %unnamed_arg, i16* %__table, i8 zeroext  %__del, i64 %__refs) {<br>
+define void @_ZNSt5ctypeIcEC2EPiPKtbm(%"struct.std::ctype<char>"* %this, i32* %unnamed_arg, i16* %__table, i8 zeroext  %__del, i64 %__refs) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        %tmp8 = invoke i32* @_ZNSt6locale5facet15_S_get_c_localeEv( )<br>
                        to label %invcont unwind label %lpad            ; <i32*> [#uses=0]<br>
@@ -29,7 +29,7 @@ invcont37:            ; preds = %invcont31<br>
        ret void<br>
<br>
 lpad:          ; preds = %invcont31, %invcont, %entry<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/AddOverFlow.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_AddOverFlow.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=8bEoY1qcLO10jTfSHpIfa8rN9sjz-bZFQJBcXXiPw80&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/AddOverFlow.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/AddOverFlow.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/AddOverFlow.ll Wed Jun 17 15:52:32 2015<br>
@@ -39,7 +39,7 @@ declare i32 @__gxx_personality_v0(...);<br>
 !0 = !{i16 0, i16 32768} ; [0, 32767]<br>
 !1 = !{i16 0, i16 32769} ; [0, 32768]<br>
<br>
-define i16 @add_bounded_values(i16 %a, i16 %b) {<br>
+define i16 @add_bounded_values(i16 %a, i16 %b) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 ; CHECK-LABEL: @add_bounded_values(<br>
 entry:<br>
   %c = call i16 @bounded(i16 %a), !range !0<br>
@@ -50,12 +50,12 @@ cont:<br>
 ; CHECK: add nuw i16 %c, %d<br>
   ret i16 %e<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   ret i16 42<br>
 }<br>
<br>
-define i16 @add_bounded_values_2(i16 %a, i16 %b) {<br>
+define i16 @add_bounded_values_2(i16 %a, i16 %b) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 ; CHECK-LABEL: @add_bounded_values_2(<br>
 entry:<br>
   %c = call i16 @bounded(i16 %a), !range !1<br>
@@ -67,7 +67,7 @@ cont:<br>
 ; CHECK: add i16 %c, %d<br>
   ret i16 %e<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   ret i16 42<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/LandingPadClauses.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_LandingPadClauses.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=qlYwu7RHY4D1VL80KbNXa4NzIQak8JEL9tqdbooMdKs&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/LandingPadClauses.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/LandingPadClauses.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/LandingPadClauses.ll Wed Jun 17 15:52:32 2015<br>
@@ -11,7 +11,7 @@ declare i32 @__C_specific_handler(...)<br>
<br>
 declare void @bar()<br>
<br>
-define void @foo_generic() {<br>
+define void @foo_generic() personality i32 (i32, i64, i8*, i8*)* @generic_personality {<br>
 ; CHECK-LABEL: @foo_generic(<br>
   invoke void @bar()<br>
     to label %cont.a unwind label %lpad.a<br>
@@ -43,7 +43,7 @@ cont.i:<br>
   ret void<br>
<br>
 lpad.a:<br>
-  %a = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality<br>
+  %a = landingpad { i8*, i32 }<br>
           catch i32* @T1<br>
           catch i32* @T2<br>
           catch i32* @T1<br>
@@ -55,7 +55,7 @@ lpad.a:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.b:<br>
-  %b = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality<br>
+  %b = landingpad { i8*, i32 }<br>
           filter [0 x i32*] zeroinitializer<br>
           catch i32* @T1<br>
   unreachable<br>
@@ -64,7 +64,7 @@ lpad.b:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.c:<br>
-  %c = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality<br>
+  %c = landingpad { i8*, i32 }<br>
           catch i32* @T1<br>
           filter [1 x i32*] [i32* @T1]<br>
           catch i32* @T2<br>
@@ -75,7 +75,7 @@ lpad.c:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.d:<br>
-  %d = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality<br>
+  %d = landingpad { i8*, i32 }<br>
           filter [3 x i32*] zeroinitializer<br>
   unreachable<br>
 ; CHECK: %d = landingpad<br>
@@ -83,7 +83,7 @@ lpad.d:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.e:<br>
-  %e = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality<br>
+  %e = landingpad { i8*, i32 }<br>
           catch i32* @T1<br>
           filter [3 x i32*] [i32* @T1, i32* @T2, i32* @T2]<br>
   unreachable<br>
@@ -93,7 +93,7 @@ lpad.e:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.f:<br>
-  %f = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality<br>
+  %f = landingpad { i8*, i32 }<br>
           filter [2 x i32*] [i32* @T2, i32* @T1]<br>
           filter [1 x i32*] [i32* @T1]<br>
   unreachable<br>
@@ -102,7 +102,7 @@ lpad.f:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.g:<br>
-  %g = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality<br>
+  %g = landingpad { i8*, i32 }<br>
           filter [1 x i32*] [i32* @T1]<br>
           catch i32* @T3<br>
           filter [2 x i32*] [i32* @T2, i32* @T1]<br>
@@ -113,7 +113,7 @@ lpad.g:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.h:<br>
-  %h = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality<br>
+  %h = landingpad { i8*, i32 }<br>
           filter [2 x i32*] [i32* @T1, i32* null]<br>
           filter [1 x i32*] zeroinitializer<br>
   unreachable<br>
@@ -122,7 +122,7 @@ lpad.h:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.i:<br>
-  %i = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality<br>
+  %i = landingpad { i8*, i32 }<br>
           cleanup<br>
           filter [0 x i32*] zeroinitializer<br>
   unreachable<br>
@@ -131,7 +131,7 @@ lpad.i:<br>
 ; CHECK-NEXT: unreachable<br>
 }<br>
<br>
-define void @foo_cxx() {<br>
+define void @foo_cxx() personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0 {<br>
 ; CHECK-LABEL: @foo_cxx(<br>
   invoke void @bar()<br>
     to label %cont.a unwind label %lpad.a<br>
@@ -148,7 +148,7 @@ cont.d:<br>
   ret void<br>
<br>
 lpad.a:<br>
-  %a = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0<br>
+  %a = landingpad { i8*, i32 }<br>
           catch i32* null<br>
           catch i32* @T1<br>
   unreachable<br>
@@ -157,7 +157,7 @@ lpad.a:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.b:<br>
-  %b = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0<br>
+  %b = landingpad { i8*, i32 }<br>
           filter [1 x i32*] zeroinitializer<br>
   unreachable<br>
 ; CHECK: %b = landingpad<br>
@@ -165,7 +165,7 @@ lpad.b:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.c:<br>
-  %c = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0<br>
+  %c = landingpad { i8*, i32 }<br>
           filter [2 x i32*] [i32* @T1, i32* null]<br>
   unreachable<br>
 ; CHECK: %c = landingpad<br>
@@ -173,7 +173,7 @@ lpad.c:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.d:<br>
-  %d = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0<br>
+  %d = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i32* null<br>
   unreachable<br>
@@ -182,7 +182,7 @@ lpad.d:<br>
 ; CHECK-NEXT: unreachable<br>
 }<br>
<br>
-define void @foo_objc() {<br>
+define void @foo_objc() personality i32 (i32, i64, i8*, i8*)* @__objc_personality_v0 {<br>
 ; CHECK-LABEL: @foo_objc(<br>
   invoke void @bar()<br>
     to label %cont.a unwind label %lpad.a<br>
@@ -199,7 +199,7 @@ cont.d:<br>
   ret void<br>
<br>
 lpad.a:<br>
-  %a = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__objc_personality_v0<br>
+  %a = landingpad { i8*, i32 }<br>
           catch i32* null<br>
           catch i32* @T1<br>
   unreachable<br>
@@ -208,7 +208,7 @@ lpad.a:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.b:<br>
-  %b = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__objc_personality_v0<br>
+  %b = landingpad { i8*, i32 }<br>
           filter [1 x i32*] zeroinitializer<br>
   unreachable<br>
 ; CHECK: %b = landingpad<br>
@@ -216,7 +216,7 @@ lpad.b:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.c:<br>
-  %c = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__objc_personality_v0<br>
+  %c = landingpad { i8*, i32 }<br>
           filter [2 x i32*] [i32* @T1, i32* null]<br>
   unreachable<br>
 ; CHECK: %c = landingpad<br>
@@ -224,7 +224,7 @@ lpad.c:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.d:<br>
-  %d = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__objc_personality_v0<br>
+  %d = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i32* null<br>
   unreachable<br>
@@ -233,7 +233,7 @@ lpad.d:<br>
 ; CHECK-NEXT: unreachable<br>
 }<br>
<br>
-define void @foo_seh() {<br>
+define void @foo_seh() personality i32 (...)* @__C_specific_handler {<br>
 ; CHECK-LABEL: @foo_seh(<br>
   invoke void @bar()<br>
     to label %cont.a unwind label %lpad.a<br>
@@ -250,7 +250,7 @@ cont.d:<br>
   ret void<br>
<br>
 lpad.a:<br>
-  %a = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %a = landingpad { i8*, i32 }<br>
           catch i32* null<br>
           catch i32* @T1<br>
   unreachable<br>
@@ -259,7 +259,7 @@ lpad.a:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.b:<br>
-  %b = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %b = landingpad { i8*, i32 }<br>
           filter [1 x i32*] zeroinitializer<br>
   unreachable<br>
 ; CHECK: %b = landingpad<br>
@@ -267,7 +267,7 @@ lpad.b:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.c:<br>
-  %c = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %c = landingpad { i8*, i32 }<br>
           filter [2 x i32*] [i32* @T1, i32* null]<br>
   unreachable<br>
 ; CHECK: %c = landingpad<br>
@@ -275,7 +275,7 @@ lpad.c:<br>
 ; CHECK-NEXT: unreachable<br>
<br>
 lpad.d:<br>
-  %d = landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler<br>
+  %d = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i32* null<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/call.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_call.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=IZtGxDkSqAIbJ2aQixFyvfzjPPc40CfjQcSEkkrAvPU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/call.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/call.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/call.ll Wed Jun 17 15:52:32 2015<br>
@@ -123,7 +123,7 @@ define void @test7() {<br>
 ; rdar://7590304<br>
 declare void @test8a()<br>
<br>
-define i8* @test8() {<br>
+define i8* @test8() personality i32 (...)* @__gxx_personality_v0 {<br>
 ; CHECK-LABEL: @test8(<br>
 ; CHECK-NEXT: invoke void @test8a()<br>
 ; Don't turn this into "unreachable": the callee and caller don't agree in<br>
@@ -136,7 +136,7 @@ invoke.cont:<br>
   unreachable<br>
<br>
 try.handler:                                      ; preds = %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
             cleanup<br>
   ret i8* null<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/cast.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_cast.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Lef2wm720JQSfDrfRERmbPys-xS-kY3BEF_TbLu3pRQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/cast.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/cast.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/cast.ll Wed Jun 17 15:52:32 2015<br>
@@ -100,7 +100,7 @@ define void @test11(i32* %P) {<br>
 }<br>
<br>
 declare i32 @__gxx_personality_v0(...)<br>
-define void @test_invoke_vararg_cast(i32* %a, i32* %b) {<br>
+define void @test_invoke_vararg_cast(i32* %a, i32* %b) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %0 = bitcast i32* %b to i8*<br>
   %1 = bitcast i32* %a to i64*<br>
@@ -111,7 +111,7 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           cleanup<br>
   ret void<br>
 ; CHECK-LABEL: test_invoke_vararg_cast<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_crash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=FVVia39BwD8ySklix7MPSILuiJk81nfT45HC_lXgths&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/crash.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -131,11 +131,11 @@ define i32 @test5a() {<br>
        ret i32 0<br>
 }<br>
<br>
-define void @test5() {<br>
+define void @test5() personality i32 (...)* @__gxx_personality_v0 {<br>
   store i1 true, i1* undef<br>
   %r = invoke i32 @test5a() to label %exit unwind label %unwind<br>
 unwind:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
           cleanup<br>
   br label %exit<br>
 exit:<br>
@@ -159,7 +159,7 @@ entry:<br>
 %class.RuleBasedBreakIterator = type { i64 ()* }<br>
 %class.UStack = type { i8** }<br>
<br>
-define i32 @_ZN22RuleBasedBreakIterator15checkDictionaryEi(%class.RuleBasedBreakIterator* %this, i32 %x) align 2 {<br>
+define i32 @_ZN22RuleBasedBreakIterator15checkDictionaryEi(%class.RuleBasedBreakIterator* %this, i32 %x) align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %breaks = alloca %class.UStack, align 4         ; <%class.UStack*> [#uses=3]<br>
   call void @_ZN6UStackC1Ei(%class.UStack* %breaks, i32 0)<br>
@@ -167,13 +167,13 @@ entry:<br>
   br i1 %tobool, label %cond.end, label %cond.false<br>
<br>
 terminate.handler:                                ; preds = %ehcleanup<br>
-  %exc = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %exc = landingpad { i8*, i32 }<br>
            cleanup<br>
   call void @_ZSt9terminatev() noreturn nounwind<br>
   unreachable<br>
<br>
 ehcleanup:                                        ; preds = %cond.false<br>
-  %exc1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %exc1 = landingpad { i8*, i32 }<br>
            catch i8* null<br>
   invoke void @_ZN6UStackD1Ev(%class.UStack* %breaks)<br>
           to label %cont unwind label %terminate.handler<br>
@@ -207,7 +207,7 @@ declare void @_Unwind_Resume_or_Rethrow(<br>
<br>
<br>
 ; rdar://7590304<br>
-define i8* @test10(i8* %self, i8* %tmp3) {<br>
+define i8* @test10(i8* %self, i8* %tmp3) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   store i1 true, i1* undef<br>
   store i1 true, i1* undef<br>
@@ -218,7 +218,7 @@ invoke.cont:<br>
   unreachable<br>
<br>
 try.handler:                                      ; preds = %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
            catch i8* null<br>
   ret i8* %self<br>
 }<br>
@@ -376,7 +376,7 @@ return:<br>
 declare void @test18b() noreturn<br>
 declare void @test18foo(double**)<br>
 declare void @test18a() noreturn<br>
-define fastcc void @test18x(i8* %t0, i1 %b) uwtable align 2 {<br>
+define fastcc void @test18x(i8* %t0, i1 %b) uwtable align 2 personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   br i1 %b, label %e1, label %e2<br>
 e1:<br>
@@ -389,7 +389,7 @@ e2:<br>
           to label %u unwind label %lpad<br>
 lpad:<br>
   %t5 = phi double** [ %t2, %e1 ], [ %t4, %e2 ]<br>
-  %lpad.nonloopexit262 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+  %lpad.nonloopexit262 = landingpad { i8*, i32 }<br>
           cleanup<br>
   call void @test18foo(double** %t5)<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/gepphigep.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_gepphigep.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=xlf-E_zCpRYojn7sYpPwQ6_OWmVQ-voIDmmCD3fXo-A&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/gepphigep.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/gepphigep.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/gepphigep.ll Wed Jun 17 15:52:32 2015<br>
@@ -59,7 +59,7 @@ bb:<br>
<br>
 ; Check that instcombine doesn't insert GEPs before landingpad.<br>
<br>
-define i32 @test3(%struct3* %dm, i1 %tmp4, i64 %tmp9, i64 %tmp19, i64 %tmp20, i64 %tmp21) {<br>
+define i32 @test3(%struct3* %dm, i1 %tmp4, i64 %tmp9, i64 %tmp19, i64 %tmp20, i64 %tmp21) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 bb:<br>
   %tmp = getelementptr inbounds %struct3, %struct3* %dm, i64 0<br>
   br i1 %tmp4, label %bb1, label %bb2<br>
@@ -84,7 +84,7 @@ bb4:<br>
   ret i32 0<br>
<br>
 bb5:<br>
-  %tmp27 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) catch i8* bitcast (i8** @_ZTIi to i8*)<br>
+  %tmp27 = landingpad { i8*, i32 } catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %tmp34 = getelementptr inbounds %struct4, %struct4* %phi, i64 %tmp21, i32 1<br>
   %tmp35 = getelementptr inbounds %struct2, %struct2* %tmp34, i64 0, i32 1<br>
   %tmp25 = load i32, i32* %tmp35, align 4<br>
@@ -92,7 +92,7 @@ bb5:<br>
<br>
 ; CHECK-LABEL: @test3(<br>
 ; CHECK: bb5:<br>
-; CHECK-NEXT: {{.*}}landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+; CHECK-NEXT: {{.*}}landingpad { i8*, i32 }<br>
 }<br>
<br>
 @_ZTIi = external constant i8*<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_invoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=4QqYwUdcfZQi-Vca83hwsxtji7xiQqCJwpUzEPNVDuM&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/invoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -8,7 +8,7 @@ declare i8* @_Znwm(i64)<br>
<br>
<br>
 ; CHECK-LABEL: @f1(<br>
-define i64 @f1() nounwind uwtable ssp {<br>
+define i64 @f1() nounwind uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; CHECK: nvoke noalias i8* undef()<br>
   %call = invoke noalias i8* undef()<br>
@@ -20,7 +20,7 @@ invoke.cont:<br>
   ret i64 %0<br>
<br>
 lpad:<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   tail call void @__cxa_call_unexpected(i8* %2) noreturn nounwind<br>
@@ -28,7 +28,7 @@ lpad:<br>
 }<br>
<br>
 ; CHECK-LABEL: @f2(<br>
-define i64 @f2() nounwind uwtable ssp {<br>
+define i64 @f2() nounwind uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; CHECK: nvoke noalias i8* null()<br>
   %call = invoke noalias i8* null()<br>
@@ -40,7 +40,7 @@ invoke.cont:<br>
   ret i64 %0<br>
<br>
 lpad:<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   tail call void @__cxa_call_unexpected(i8* %2) noreturn nounwind<br>
@@ -48,7 +48,7 @@ lpad:<br>
 }<br>
<br>
 ; CHECK-LABEL: @f3(<br>
-define void @f3() nounwind uwtable ssp {<br>
+define void @f3() nounwind uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 ; CHECK: invoke void @llvm.donothing()<br>
   %call = invoke noalias i8* @_Znwm(i64 13)<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -57,7 +57,7 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad:<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   tail call void @__cxa_call_unexpected(i8* %2) noreturn nounwind<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/malloc-free-delete.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_malloc-2Dfree-2Ddelete.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=1bpmbLoCRVr_YXlDEpakLc3m39evrJ62DJEI6c9trhY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/malloc-free-delete.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/malloc-free-delete.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/malloc-free-delete.ll Wed Jun 17 15:52:32 2015<br>
@@ -127,7 +127,7 @@ declare i32 @__gxx_personality_v0(...)<br>
 declare void @_ZN1AC2Ev(i8* %this)<br>
<br>
 ; CHECK-LABEL: @test7(<br>
-define void @test7() {<br>
+define void @test7() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %nt = alloca i8<br>
   ; CHECK-NOT: call {{.*}}@_ZnwmRKSt9nothrow_t(<br>
@@ -139,7 +139,7 @@ entry:<br>
   unreachable<br>
<br>
 lpad.i:                                           ; preds = %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) cleanup<br>
+  %0 = landingpad { i8*, i32 } cleanup<br>
   ; CHECK-NOT: call {{.*}}@_ZdlPvRKSt9nothrow_t(<br>
   call void @_ZdlPvRKSt9nothrow_t(i8* %call.i, i8* %nt) builtin nounwind<br>
   resume { i8*, i32 } %0<br>
<br>
Modified: llvm/trunk/test/Transforms/InstCombine/objsize-64.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstCombine_objsize-2D64.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=CCCKDkmaYP9yIsYtD-d2ud7mluNujOdTUiBPIc0-Nms&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/objsize-64.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstCombine/objsize-64.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstCombine/objsize-64.ll Wed Jun 17 15:52:32 2015<br>
@@ -18,7 +18,7 @@ define i64 @f1(i8 **%esc) {<br>
<br>
<br>
 ; CHECK-LABEL: @f2(<br>
-define i64 @f2(i8** %esc) nounwind uwtable ssp {<br>
+define i64 @f2(i8** %esc) nounwind uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; CHECK: invoke noalias i8* @_Znwm(i64 13)<br>
   %call = invoke noalias i8* @_Znwm(i64 13)<br>
@@ -31,7 +31,7 @@ invoke.cont:<br>
   ret i64 %0<br>
<br>
 lpad:<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   tail call void @__cxa_call_unexpected(i8* %2) noreturn nounwind<br>
<br>
Modified: llvm/trunk/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_InstSimplify_2011-2D09-2D05-2DInsertExtractValue.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=sQpVKfFP5-UpCeuQGMRhZ8CVMtqhLPdLfLelnBto3_M&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll (original)<br>
+++ llvm/trunk/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,13 +2,13 @@<br>
<br>
 declare void @bar()<br>
<br>
-define void @test1() {<br>
+define void @test1() personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @bar() to label %cont unwind label %lpad<br>
 cont:<br>
   ret void<br>
 lpad:<br>
-  %ex = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0 cleanup<br>
+  %ex = landingpad { i8*, i32 } cleanup<br>
   %exc_ptr = extractvalue { i8*, i32 } %ex, 0<br>
   %filter = extractvalue { i8*, i32 } %ex, 1<br>
   %exc_ptr2 = insertvalue { i8*, i32 } undef, i8* %exc_ptr, 0<br>
<br>
Modified: llvm/trunk/test/Transforms/JumpThreading/landing-pad.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_JumpThreading_landing-2Dpad.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=vTCSukH0Ir6jgALWPPzrTu5fonAwYVNH09QVZrzdx_U&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/JumpThreading/landing-pad.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/JumpThreading/landing-pad.ll (original)<br>
+++ llvm/trunk/test/Transforms/JumpThreading/landing-pad.ll Wed Jun 17 15:52:32 2015<br>
@@ -42,7 +42,7 @@ entry:<br>
   ret void<br>
 }<br>
<br>
-define void @_Z3fn1v() uwtable {<br>
+define void @_Z3fn1v() uwtable personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %call = call noalias i8* @_Znwm() #8<br>
   invoke void @_ZN24CompositeEditCommandImplC2Ev()<br>
@@ -68,13 +68,13 @@ invoke.cont7:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           cleanup<br>
   call void @_ZdlPv() #9<br>
   unreachable<br>
<br>
 lpad1:                                            ; preds = %_ZN1DC1Ev.exit, %_ZN15EditCommandImpl5applyEv.exit<br>
-  %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %5 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %6 = load i32, i32* %1, align 4<br>
   %tobool.i.i.i = icmp eq i32 %6, 0<br>
@@ -91,7 +91,7 @@ _ZN1BI1DED1Ev.exit:<br>
   resume { i8*, i32 } undef<br>
<br>
 terminate.lpad:                                   ; No predecessors!<br>
-  %7 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %7 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/LCSSA/invoke-dest.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_LCSSA_invoke-2Ddest.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Ajw51tUQVHiE5pFIv7T65xDjt5nmgV_wrXJLY9rodW4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LCSSA/invoke-dest.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/LCSSA/invoke-dest.ll (original)<br>
+++ llvm/trunk/test/Transforms/LCSSA/invoke-dest.ll Wed Jun 17 15:52:32 2015<br>
@@ -9,7 +9,7 @@ target datalayout = "e-p:32:32:32-i1:8:8<br>
 @.str32190 = external constant [92 x i8], align 1              ; <[92 x i8]*> [#uses=1]<br>
 @.str41 = external constant [25 x i8], align 1         ; <[25 x i8]*> [#uses=1]<br>
<br>
-define void @_ZN8EtherBus10initializeEv() {<br>
+define void @_ZN8EtherBus10initializeEv() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
        br i1 undef, label %_ZN7cObjectnwEj.exit, label %bb.i<br>
<br>
@@ -110,17 +110,17 @@ bb106:            ; preds = %invcont105, %bb61<br>
                        to label %.noexc unwind label %lpad119          ; <i8*> [#uses=1]<br>
<br>
 lpad:          ; preds = %_ZN7cObjectnwEj.exit<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  cleanup<br>
        br label %Unwind<br>
<br>
 lpad119:               ; preds = %bb106, %invcont104, %invcont103, %bb102, %bb49, %bb34, %bb12, %invcont10, %invcont9, %bb8<br>
-        %exn119 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn119 = landingpad {i8*, i32}<br>
                  cleanup<br>
        unreachable<br>
<br>
 lpad123:               ; preds = %.noexc<br>
-        %exn123 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn123 = landingpad {i8*, i32}<br>
                  cleanup<br>
        %tmp5 = icmp eq i8* %tmp4, null         ; <i1> [#uses=1]<br>
        br i1 %tmp5, label %Unwind, label %bb.i2<br>
<br>
Modified: llvm/trunk/test/Transforms/LoopRotate/multiple-exits.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_LoopRotate_multiple-2Dexits.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=7DErmGKZrDDbaGRMf6FpGhSFyPqjNkUZI4n4woXmKhQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopRotate/multiple-exits.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/LoopRotate/multiple-exits.ll (original)<br>
+++ llvm/trunk/test/Transforms/LoopRotate/multiple-exits.ll Wed Jun 17 15:52:32 2015<br>
@@ -87,7 +87,7 @@ declare i32 @bar(i32)<br>
 @_ZTIi = external constant i8*<br>
<br>
 ; Verify dominators.<br>
-define void @test3(i32 %x) {<br>
+define void @test3(i32 %x) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %cmp2 = icmp eq i32 0, %x<br>
   br i1 %cmp2, label %try.cont.loopexit, label %<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__for.body.lr.ph&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ojyf9lyYk54iEah_0nryW167onSrOq0iBBE_fl5krRY&e=" rel="noreferrer" target="_blank">for.body.lr.ph</a><br>
@@ -106,7 +106,7 @@ for.inc:<br>
   br i1 %cmp, label %for.cond.try.cont.loopexit_crit_edge, label %for.body<br>
<br>
 lpad:                                             ; preds = %for.body<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   %2 = extractvalue { i8*, i32 } %0, 1<br>
@@ -132,7 +132,7 @@ for.inc.i:<br>
   br i1 %cmp.i, label %for.cond.i.invoke.cont2.loopexit_crit_edge, label %for.body.i<br>
<br>
 lpad.i:                                           ; preds = %for.body.i<br>
-  %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %5 = landingpad { i8*, i32 }<br>
           catch i8* bitcast (i8** @_ZTIi to i8*)<br>
   %6 = extractvalue { i8*, i32 } %5, 0<br>
   %7 = extractvalue { i8*, i32 } %5, 1<br>
@@ -149,7 +149,7 @@ invoke.cont2.i:<br>
   br label %invoke.cont2<br>
<br>
 lpad1.i:                                          ; preds = %catch.i<br>
-  %9 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %9 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %10 = extractvalue { i8*, i32 } %9, 0<br>
   %11 = extractvalue { i8*, i32 } %9, 1<br>
<br>
Modified: llvm/trunk/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_LoopSimplify_2007-2D10-2D28-2DInvokeCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=UhdAeGOQDFx9c-iYVR1xjpjhoxudrwi_A7zSUlWsEiQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll (original)<br>
+++ llvm/trunk/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-s0:0:64-f80:32:32"<br>
 target triple = "i686-pc-mingw32"<br>
<br>
-define void @func() {<br>
+define void @func() personality i32 (...)* @__gxx_personality_v0 {<br>
 bb_init:<br>
        br label %bb_main<br>
<br>
@@ -18,7 +18,7 @@ invcont17.normaldest:         ; preds = %invcon<br>
        br label %bb_main<br>
<br>
 invcont17.normaldest.normaldest:               ; No predecessors!<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  catch i8* null<br>
         store i32 %tmp23, i32* undef<br>
        br label %bb_main<br>
<br>
Modified: llvm/trunk/test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_LoopSimplify_2011-2D12-2D14-2DLandingpadHeader.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=osQIWgL85hKrgS9IVHYG_73X27LOV4k4OUWLdrT5TLk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll (original)<br>
+++ llvm/trunk/test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
<br>
 @catchtypeinfo = external unnamed_addr constant { i8*, i8*, i8* }<br>
<br>
-define void @main() uwtable ssp {<br>
+define void @main() uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @f1()<br>
           to label %try.cont19 unwind label %catch<br>
@@ -17,7 +17,7 @@ entry:<br>
 ; CHECK: br label %catch<br>
<br>
 catch:                                            ; preds = %if.else, %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast ({ i8*, i8*, i8* }* @catchtypeinfo to i8*)<br>
   invoke void @f3()<br>
           to label %if.else unwind label %eh.resume<br>
@@ -30,7 +30,7 @@ try.cont19:<br>
   ret void<br>
<br>
 eh.resume:                                        ; preds = %catch<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
           catch i8* bitcast ({ i8*, i8*, i8* }* @catchtypeinfo to i8*)<br>
   resume { i8*, i32 } undef<br>
<br>
Modified: llvm/trunk/test/Transforms/LoopSimplify/dbg-loc.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_LoopSimplify_dbg-2Dloc.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=kO8YEWEDjWXHKFhTEES3p3NEzdZJ-z7nCTFgcQMk7Gw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopSimplify/dbg-loc.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/LoopSimplify/dbg-loc.ll (original)<br>
+++ llvm/trunk/test/Transforms/LoopSimplify/dbg-loc.ll Wed Jun 17 15:52:32 2015<br>
@@ -47,12 +47,12 @@ for.end:<br>
 ; CHECK: catch.preheader.split-lp:<br>
 ; CHECK:   br label %catch, !dbg [[LPAD_PREHEADER_LOC]]<br>
<br>
-define void @with_landingpad() uwtable ssp {<br>
+define void @with_landingpad() uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @f1() to label %try.cont19 unwind label %catch, !dbg !13<br>
<br>
 catch:                                            ; preds = %if.else, %entry<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* bitcast ({ i8*, i8*, i8* }* @catchtypeinfo to i8*), !dbg !13<br>
   invoke void @f3() to label %if.else unwind label %eh.resume, !dbg !13<br>
<br>
@@ -63,7 +63,7 @@ try.cont19:<br>
   ret void, !dbg !13<br>
<br>
 eh.resume:                                        ; preds = %catch<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup catch i8* bitcast ({ i8*, i8*, i8* }* @catchtypeinfo to i8*), !dbg !13<br>
   resume { i8*, i32 } undef, !dbg !13<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/LoopStrengthReduce/dominate-assert.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_LoopStrengthReduce_dominate-2Dassert.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=e2WHwujFqkAydugTPTuFc2WhP22rZ-f0pCucp1R8Tr0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopStrengthReduce/dominate-assert.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/LoopStrengthReduce/dominate-assert.ll (original)<br>
+++ llvm/trunk/test/Transforms/LoopStrengthReduce/dominate-assert.ll Wed Jun 17 15:52:32 2015<br>
@@ -4,7 +4,7 @@<br>
 declare i8* @_Znwm()<br>
 declare i32 @__gxx_personality_v0(...)<br>
 declare void @g()<br>
-define void @f() {<br>
+define void @f() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 bb0:<br>
   br label %bb1<br>
 bb1:<br>
@@ -18,7 +18,7 @@ bb3:<br>
   %v3 = invoke noalias i8* @_Znwm()<br>
           to label %bb5 unwind label %bb4<br>
 bb4:<br>
-  %v4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %v4 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %bb9<br>
 bb5:<br>
@@ -32,7 +32,7 @@ bb6:<br>
 bb7:<br>
   unreachable<br>
 bb8:<br>
-  %v7 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %v7 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %bb9<br>
 bb9:<br>
@@ -40,7 +40,7 @@ bb9:<br>
 }<br>
<br>
<br>
-define void @h() {<br>
+define void @h() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 bb1:<br>
   invoke void @g() optsize<br>
           to label %bb2 unwind label %bb5<br>
@@ -54,17 +54,17 @@ bb3:<br>
 bb4:<br>
   ret void<br>
 bb5:<br>
-  %tmp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %tmp = landingpad { i8*, i32 }<br>
           cleanup<br>
   invoke void @g() optsize<br>
           to label %bb4 unwind label %bb7<br>
 bb6:<br>
-  %tmp1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %tmp1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %arraydestroy.isempty = icmp eq i8* undef, %arrayctor.cur<br>
   ret void<br>
 bb7:<br>
-  %lpad.nonloopexit = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %lpad.nonloopexit = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/LoopUnswitch/2011-09-26-EHCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_LoopUnswitch_2011-2D09-2D26-2DEHCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=n5cdIAUAEmX_vdVWyVSpTiM_suss_0V1_jv349bl_DY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopUnswitch/2011-09-26-EHCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/LoopUnswitch/2011-09-26-EHCrash.ll (original)<br>
+++ llvm/trunk/test/Transforms/LoopUnswitch/2011-09-26-EHCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@ target triple = "x86_64-apple-macosx10.7<br>
 %class.MyContainer.1.3.19.29 = type { [6 x %class.MyMemVarClass.0.2.18.28*] }<br>
 %class.MyMemVarClass.0.2.18.28 = type { i32 }<br>
<br>
-define void @_ZN11MyContainer1fEi(%class.MyContainer.1.3.19.29* %this, i32 %doit) uwtable ssp align 2 {<br>
+define void @_ZN11MyContainer1fEi(%class.MyContainer.1.3.19.29* %this, i32 %doit) uwtable ssp align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   br label %for.cond<br>
<br>
@@ -38,7 +38,7 @@ invoke.cont:<br>
   br label %for.inc<br>
<br>
 lpad:                                             ; preds = %delete.notnull<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   %3 = extractvalue { i8*, i32 } %1, 1<br>
<br>
Modified: llvm/trunk/test/Transforms/LoopUnswitch/2012-04-30-LoopUnswitch-LPad-Crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_LoopUnswitch_2012-2D04-2D30-2DLoopUnswitch-2DLPad-2DCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=7cmGWKMbNGjZBQtc1P3V0F5Ffrw5B3q8FgijT2fePZw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopUnswitch/2012-04-30-LoopUnswitch-LPad-Crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/LoopUnswitch/2012-04-30-LoopUnswitch-LPad-Crash.ll (original)<br>
+++ llvm/trunk/test/Transforms/LoopUnswitch/2012-04-30-LoopUnswitch-LPad-Crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -8,7 +8,7 @@ target triple = "x86_64-apple-macosx10.7<br>
 %class.B.21.41.65.101.137.157.177.197.237.241.245.249.261.293.301.337.345.378 = type { %class.A.20.40.64.100.136.156.176.196.236.240.244.248.260.292.300.336.344.377* }<br>
 %class.A.20.40.64.100.136.156.176.196.236.240.244.248.260.292.300.336.344.377 = type { i8 }<br>
<br>
-define void @_Z23get_reconstruction_pathv() uwtable ssp {<br>
+define void @_Z23get_reconstruction_pathv() uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %c = alloca %class.D.22.42.66.102.138.158.178.198.238.242.246.250.262.294.302.338.346.379, align 8<br>
   br label %for.cond<br>
@@ -33,7 +33,7 @@ invoke.cont6:<br>
   br i1 undef, label %for.cond3, label %for.end<br>
<br>
 lpad:                                             ; preds = %for.end, %invoke.cont4, %for.cond3, %invoke.cont, %for.cond<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } undef<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/LowerInvoke/2003-12-10-Crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_LowerInvoke_2003-2D12-2D10-2DCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=mDzwRTwRmdqHenryS8KcadaJ4LaDW_OG5jvRgvXmIdQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LowerInvoke/2003-12-10-Crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/LowerInvoke/2003-12-10-Crash.ll (original)<br>
+++ llvm/trunk/test/Transforms/LowerInvoke/2003-12-10-Crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@ declare void @baz()<br>
<br>
 declare void @bar()<br>
<br>
-define void @foo() {<br>
+define void @foo() personality i32 (...)* @__gxx_personality_v0 {<br>
 then:<br>
        invoke void @baz( )<br>
                        to label %invoke_cont.0 unwind label %try_catch<br>
@@ -15,7 +15,7 @@ invoke_cont.0:                ; preds = %then<br>
                        to label %try_exit unwind label %try_catch<br>
 try_catch:             ; preds = %invoke_cont.0, %then<br>
        %__tmp.0 = phi i32* [ null, %invoke_cont.0 ], [ null, %then ]           ; <i32*> [#uses=0]<br>
-  %res = landingpad { i8* } personality i32 (...)* @__gxx_personality_v0<br>
+  %res = landingpad { i8* }<br>
           cleanup<br>
        ret void<br>
 try_exit:              ; preds = %invoke_cont.0<br>
<br>
Modified: llvm/trunk/test/Transforms/LowerInvoke/lowerinvoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_LowerInvoke_lowerinvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=dB0BPtOT4aE3Gc1WKJ_ilrRQL5ecKP8il4gEsxbrozk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LowerInvoke/lowerinvoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/LowerInvoke/lowerinvoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/LowerInvoke/lowerinvoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,7 +2,7 @@<br>
<br>
 declare i32 @external_func(i64 %arg)<br>
<br>
-define i32 @invoke_test(i64 %arg) {<br>
+define i32 @invoke_test(i64 %arg) personality i8* null {<br>
 entry:<br>
   %result = invoke fastcc i32 @external_func(i64 inreg %arg)<br>
       to label %cont unwind label %lpad<br>
@@ -10,7 +10,7 @@ cont:<br>
   ret i32 %result<br>
 lpad:<br>
   %phi = phi i32 [ 99, %entry ]<br>
-  %lp = landingpad { i8*, i32 } personality i8* null cleanup<br>
+  %lp = landingpad { i8*, i32 } cleanup<br>
   ret i32 %phi<br>
 }<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/Mem2Reg/crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Mem2Reg_crash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=hYcbZf63Oh74Pc7vr8P3BLi2ecMz0OemOP_Pzf2woMo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Mem2Reg/crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Mem2Reg/crash.ll (original)<br>
+++ llvm/trunk/test/Transforms/Mem2Reg/crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
<br>
 declare i32 @test1f()<br>
<br>
-define i32 @test1() {<br>
+define i32 @test1() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   %whichFlag = alloca i32<br>
   %A = invoke i32 @test1f()<br>
@@ -18,7 +18,7 @@ bb15:<br>
   ret i32 %B<br>
<br>
 lpad86:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
            cleanup<br>
   br label %bb15<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/MergeFunc/2011-02-08-RemoveEqual.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_MergeFunc_2011-2D02-2D08-2DRemoveEqual.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=MKBvLQ_mtixxCXE_rpDNPDn0XnH3_Q857DSEcW6HaZw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/MergeFunc/2011-02-08-RemoveEqual.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/MergeFunc/2011-02-08-RemoveEqual.ll (original)<br>
+++ llvm/trunk/test/Transforms/MergeFunc/2011-02-08-RemoveEqual.ll Wed Jun 17 15:52:32 2015<br>
@@ -22,7 +22,7 @@ target triple = "i386-pc-linux-gnu"<br>
 @.str = external constant [1 x i8], align 1<br>
 @_ZTVN2kc22impl_fileline_FileLineE = external constant [13 x i32 (...)*], align 32<br>
<br>
-define void @_ZN2kc22impl_fileline_FileLineC2EPNS_20impl_casestring__StrEi(%"struct.kc::impl_fileline_FileLine"* %this, %"struct.kc::impl_casestring__Str"* %_file, i32 %_line) align 2 {<br>
+define void @_ZN2kc22impl_fileline_FileLineC2EPNS_20impl_casestring__StrEi(%"struct.kc::impl_fileline_FileLine"* %this, %"struct.kc::impl_casestring__Str"* %_file, i32 %_line) align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %this_addr = alloca %"struct.kc::impl_fileline_FileLine"*, align 4<br>
   %_file_addr = alloca %"struct.kc::impl_casestring__Str"*, align 4<br>
@@ -75,7 +75,7 @@ bb2:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %bb<br>
-  %eh_ptr = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %eh_ptr = landingpad { i8*, i32 }<br>
               cleanup<br>
   %exn = extractvalue { i8*, i32 } %eh_ptr, 0<br>
   store i8* %exn, i8** %eh_exception<br>
@@ -148,7 +148,7 @@ return:<br>
   ret void<br>
 }<br>
<br>
-define void @_ZN2kc22impl_fileline_FileLineC1EPNS_20impl_casestring__StrEi(%"struct.kc::impl_fileline_FileLine"* %this, %"struct.kc::impl_casestring__Str"* %_file, i32 %_line) align 2 {<br>
+define void @_ZN2kc22impl_fileline_FileLineC1EPNS_20impl_casestring__StrEi(%"struct.kc::impl_fileline_FileLine"* %this, %"struct.kc::impl_casestring__Str"* %_file, i32 %_line) align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %this_addr = alloca %"struct.kc::impl_fileline_FileLine"*, align 4<br>
   %_file_addr = alloca %"struct.kc::impl_casestring__Str"*, align 4<br>
@@ -201,7 +201,7 @@ bb2:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %bb<br>
-  %eh_ptr = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %eh_ptr = landingpad { i8*, i32 }<br>
               cleanup<br>
   %exn = extractvalue { i8*, i32 } %eh_ptr, 0<br>
   store i8* %exn, i8** %eh_exception<br>
<br>
Modified: llvm/trunk/test/Transforms/MergeFunc/call-and-invoke-with-ranges.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_MergeFunc_call-2Dand-2Dinvoke-2Dwith-2Dranges.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=WD5qVO_uTqkdt9zgPaNRBPgwHNgtzCJoVWxJVdLJjxo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/MergeFunc/call-and-invoke-with-ranges.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/MergeFunc/call-and-invoke-with-ranges.ll (original)<br>
+++ llvm/trunk/test/Transforms/MergeFunc/call-and-invoke-with-ranges.ll Wed Jun 17 15:52:32 2015<br>
@@ -26,18 +26,18 @@ define i8 @call_different_range() {<br>
   ret i8 %out<br>
 }<br>
<br>
-define i8 @invoke_with_range() {<br>
+define i8 @invoke_with_range() personality i8* undef {<br>
   %out = invoke i8 @dummy() to label %next unwind label %lpad, !range !0<br>
<br>
 next:<br>
   ret i8 %out<br>
<br>
 lpad:<br>
-  %pad = landingpad { i8*, i32 } personality i8* undef cleanup<br>
+  %pad = landingpad { i8*, i32 } cleanup<br>
   resume { i8*, i32 } zeroinitializer<br>
 }<br>
<br>
-define i8 @invoke_no_range() {<br>
+define i8 @invoke_no_range() personality i8* undef {<br>
 ; CHECK-LABEL: @invoke_no_range()<br>
 ; CHECK-NEXT: invoke i8 @dummy<br>
   %out = invoke i8 @dummy() to label %next unwind label %lpad<br>
@@ -46,11 +46,11 @@ next:<br>
   ret i8 %out<br>
<br>
 lpad:<br>
-  %pad = landingpad { i8*, i32 } personality i8* undef cleanup<br>
+  %pad = landingpad { i8*, i32 } cleanup<br>
   resume { i8*, i32 } zeroinitializer<br>
 }<br>
<br>
-define i8 @invoke_different_range() {<br>
+define i8 @invoke_different_range() personality i8* undef {<br>
 ; CHECK-LABEL: @invoke_different_range()<br>
 ; CHECK-NEXT: invoke i8 @dummy<br>
   %out = invoke i8 @dummy() to label %next unwind label %lpad, !range !1<br>
@@ -59,7 +59,7 @@ next:<br>
   ret i8 %out<br>
<br>
 lpad:<br>
-  %pad = landingpad { i8*, i32 } personality i8* undef cleanup<br>
+  %pad = landingpad { i8*, i32 } cleanup<br>
   resume { i8*, i32 } zeroinitializer<br>
 }<br>
<br>
@@ -71,7 +71,7 @@ define i8 @call_with_same_range() {<br>
   ret i8 %out<br>
 }<br>
<br>
-define i8 @invoke_with_same_range() {<br>
+define i8 @invoke_with_same_range() personality i8* undef {<br>
 ; CHECK-LABEL: @invoke_with_same_range()<br>
 ; CHECK: tail call i8 @invoke_with_range()<br>
   %out = invoke i8 @dummy() to label %next unwind label %lpad, !range !0<br>
@@ -80,7 +80,7 @@ next:<br>
   ret i8 %out<br>
<br>
 lpad:<br>
-  %pad = landingpad { i8*, i32 } personality i8* undef cleanup<br>
+  %pad = landingpad { i8*, i32 } cleanup<br>
   resume { i8*, i32 } zeroinitializer<br>
 }<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/ObjCARC/basic.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ObjCARC_basic.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=UHnp3MHVlJ2eejrMf8xs33jijMV4Bz6eIGO9I6laXCw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ObjCARC/basic.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ObjCARC/basic.ll (original)<br>
+++ llvm/trunk/test/Transforms/ObjCARC/basic.ll Wed Jun 17 15:52:32 2015<br>
@@ -1289,7 +1289,7 @@ entry:<br>
 ; CHECK: %tmp1 = tail call i8* @objc_retain(i8* %tmp) [[NUW]]<br>
 ; CHECK-NEXT: invoke<br>
 ; CHECK: }<br>
-define void @test20(double* %self) {<br>
+define void @test20(double* %self) personality i32 (...)* @__gxx_personality_v0 {<br>
 if.then12:<br>
   %tmp = bitcast double* %self to i8*<br>
   %tmp1 = call i8* @objc_retain(i8* %tmp) nounwind<br>
@@ -1302,7 +1302,7 @@ invoke.cont23:<br>
<br>
 lpad20:                                           ; preds = %invoke.cont23, %if.then12<br>
   %tmp502 = phi double* [ undef, %invoke.cont23 ], [ %self, %if.then12 ]<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
            cleanup<br>
   unreachable<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/ObjCARC/contract-testcases.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ObjCARC_contract-2Dtestcases.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=nJFJpHhoskGzLyH6FZCUVlWdZB9_-5MnYAaAyQPbC4E&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ObjCARC/contract-testcases.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ObjCARC/contract-testcases.ll (original)<br>
+++ llvm/trunk/test/Transforms/ObjCARC/contract-testcases.ll Wed Jun 17 15:52:32 2015<br>
@@ -67,12 +67,12 @@ bb7:<br>
 ; call, handle the case where it's an invoke in a different basic block.<br>
 ; rdar://11714057<br>
<br>
-; CHECK: define void @_Z6doTestP8NSString() {<br>
+; CHECK: define void @_Z6doTestP8NSString() personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 ; CHECK: invoke.cont:                                      ; preds = %entry<br>
 ; CHECK-NEXT: call void asm sideeffect "mov\09r7, r7\09\09@ marker for objc_retainAutoreleaseReturnValue", ""()<br>
 ; CHECK-NEXT: %tmp = tail call i8* @objc_retainAutoreleasedReturnValue(i8* %call) [[NUW:#[0-9]+]]<br>
 ; CHECK: }<br>
-define void @_Z6doTestP8NSString() {<br>
+define void @_Z6doTestP8NSString() personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   %call = invoke i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* ()*)()<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -82,7 +82,7 @@ invoke.cont:<br>
   unreachable<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %tmp1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } undef<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ObjCARC_ensure-2Dthat-2Dexception-2Dunwind-2Dpath-2Dis-2Dvisited.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ILfu0CgfSgT-bsLjwB6u61GMc0snXMnWM4Nul7P5x0g&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll (original)<br>
+++ llvm/trunk/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll Wed Jun 17 15:52:32 2015<br>
@@ -34,7 +34,7 @@ target triple = "x86_64-apple-macosx10.9<br>
 @"\01L_OBJC_SELECTOR_REFERENCES_5" = internal global i8* getelementptr inbounds ([14 x i8], [14 x i8]* @"\01L_OBJC_METH_VAR_NAME_4", i64 0, i64 0), section "__DATA, __objc_selrefs, literal_pointers, no_dead_strip"<br>
 @llvm.used = appending global [6 x i8*] [i8* bitcast (%struct._class_t** @"\01L_OBJC_CLASSLIST_REFERENCES_$_" to i8*), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @"\01L_OBJC_METH_VAR_NAME_", i32 0, i32 0), i8* bitcast (i8** @"\01L_OBJC_SELECTOR_REFERENCES_" to i8*), i8* bitcast (%struct._class_t** @"\01L_OBJC_CLASSLIST_REFERENCES_$_1" to i8*), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @"\01L_OBJC_METH_VAR_NAME_4", i32 0, i32 0), i8* bitcast (i8** @"\01L_OBJC_SELECTOR_REFERENCES_5" to i8*)], section "llvm.metadata"<br>
<br>
-define i32 @main() uwtable ssp {<br>
+define i32 @main() uwtable ssp personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
 entry:<br>
   %tmp = load %struct._class_t*, %struct._class_t** @"\01L_OBJC_CLASSLIST_REFERENCES_$_", align 8, !dbg !37<br>
   %tmp1 = load i8*, i8** @"\01L_OBJC_SELECTOR_REFERENCES_", align 8, !dbg !37, !invariant.load !38<br>
@@ -54,7 +54,7 @@ eh.cont:<br>
   br label %if.end, !dbg !43<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %tmp4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %tmp4 = landingpad { i8*, i32 }<br>
           catch i8* null, !dbg !40<br>
   %tmp5 = extractvalue { i8*, i32 } %tmp4, 0, !dbg !40<br>
   %exn.adjusted = call i8* @objc_begin_catch(i8* %tmp5) nounwind, !dbg !44<br>
<br>
Modified: llvm/trunk/test/Transforms/ObjCARC/invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ObjCARC_invoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=zgqh09XBTTwSUSOYet8WENmWiox4ESTnVDukVOkaXeY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ObjCARC/invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ObjCARC/invoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/ObjCARC/invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -18,7 +18,7 @@ declare i8* @returner()<br>
 ; CHECK:   call void @objc_release(i8* %zipFile) [[NUW]], !clang.imprecise_release !0<br>
 ; CHECK:   ret void<br>
 ; CHECK-NEXT: }<br>
-define void @test0(i8* %zipFile) {<br>
+define void @test0(i8* %zipFile) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   call i8* @objc_retain(i8* %zipFile) nounwind<br>
   call void @use_pointer(i8* %zipFile)<br>
@@ -30,7 +30,7 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
            cleanup<br>
   call void @objc_release(i8* %zipFile) nounwind, !clang.imprecise_release !0<br>
   ret void<br>
@@ -50,7 +50,7 @@ lpad:<br>
 ; CHECK: done:<br>
 ; CHECK-NEXT: ret void<br>
 ; CHECK-NEXT: }<br>
-define void @test1(i8* %zipFile) {<br>
+define void @test1(i8* %zipFile) personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   call i8* @objc_retain(i8* %zipFile) nounwind<br>
   call void @use_pointer(i8* %zipFile)<br>
@@ -62,7 +62,7 @@ invoke.cont:<br>
   br label %done<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
            cleanup<br>
   call void @callee()<br>
   br label %done<br>
@@ -75,7 +75,7 @@ done:<br>
 ; The optimizer should ignore invoke unwind paths consistently.<br>
 ; PR12265<br>
<br>
-; CHECK: define void @test2() {<br>
+; CHECK: define void @test2() personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
 ; CHECK: invoke.cont:<br>
 ; CHECK-NEXT: call i8* @objc_retain<br>
 ; CHECK-NOT: @objc_r<br>
@@ -85,7 +85,7 @@ done:<br>
 ; CHECK: finally.rethrow:<br>
 ; CHECK-NOT: @objc<br>
 ; CHECK: }<br>
-define void @test2() {<br>
+define void @test2() personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
 entry:<br>
   %call = invoke i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* ()*)()<br>
           to label %invoke.cont unwind label %finally.rethrow, !clang.arc.no_objc_arc_exceptions !0<br>
@@ -101,7 +101,7 @@ finally.cont:<br>
   ret void<br>
<br>
 finally.rethrow:                                  ; preds = %invoke.cont, %entry<br>
-  %tmp2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %tmp2 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   unreachable<br>
 }<br>
@@ -113,7 +113,7 @@ finally.rethrow:<br>
 ; CHECK-NEXT: call void @objc_release(i8* %p) [[NUW]]<br>
 ; CHECK-NEXT: ret void<br>
 ; CHECK-NEXT: }<br>
-define void @test3(i8* %p, i1 %b) {<br>
+define void @test3(i8* %p, i1 %b) personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
 entry:<br>
   %0 = call i8* @objc_retain(i8* %p)<br>
   call void @callee()<br>
@@ -128,7 +128,7 @@ if.else:<br>
           to label %if.end unwind label %lpad, !clang.arc.no_objc_arc_exceptions !0<br>
<br>
 lpad:<br>
-  %r = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %r = landingpad { i8*, i32 }<br>
        cleanup<br>
   ret void<br>
<br>
@@ -141,7 +141,7 @@ if.end:<br>
<br>
 ; CHECK-LABEL: define void @test4(<br>
 ; CHECK: lpad:<br>
-; CHECK-NEXT: %r = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+; CHECK-NEXT: %r = landingpad { i8*, i32 }<br>
 ; CHECK-NEXT: cleanup<br>
 ; CHECK-NEXT: call void @objc_release(i8* %p) [[NUW]]<br>
 ; CHECK-NEXT: ret void<br>
@@ -149,7 +149,7 @@ if.end:<br>
 ; CHECK-NEXT: call void @objc_release(i8* %p) [[NUW]]<br>
 ; CHECK-NEXT: ret void<br>
 ; CHECK-NEXT: }<br>
-define void @test4(i8* %p, i1 %b) {<br>
+define void @test4(i8* %p, i1 %b) personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
 entry:<br>
   %0 = call i8* @objc_retain(i8* %p)<br>
   call void @callee()<br>
@@ -164,7 +164,7 @@ if.else:<br>
           to label %if.end unwind label %lpad<br>
<br>
 lpad:<br>
-  %r = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %r = landingpad { i8*, i32 }<br>
        cleanup<br>
   call void @objc_release(i8* %p)<br>
   ret void<br>
@@ -180,13 +180,13 @@ if.end:<br>
 ; CHECK-LABEL: define void @test5(<br>
 ; CHECK: call i8* @objc_retainAutoreleasedReturnValue(i8* %z)<br>
 ; CHECK: }<br>
-define void @test5() {<br>
+define void @test5() personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
 entry:<br>
   %z = invoke i8* @returner()<br>
           to label %if.end unwind label %lpad, !clang.arc.no_objc_arc_exceptions !0<br>
<br>
 lpad:<br>
-  %r13 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %r13 = landingpad { i8*, i32 }<br>
           cleanup<br>
   ret void<br>
<br>
@@ -200,13 +200,13 @@ if.end:<br>
 ; CHECK-LABEL: define void @test6(<br>
 ; CHECK: call i8* @objc_retain(i8* %z)<br>
 ; CHECK: }<br>
-define void @test6() {<br>
+define void @test6() personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
 entry:<br>
   %z = invoke i8* @returner()<br>
           to label %if.end unwind label %lpad, !clang.arc.no_objc_arc_exceptions !0<br>
<br>
 lpad:<br>
-  %r13 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %r13 = landingpad { i8*, i32 }<br>
           cleanup<br>
   ret void<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/ObjCARC/path-overflow.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ObjCARC_path-2Doverflow.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=ydO9ocM-aRRfATEFuEyiwdH6JW6-vTC8dQ3Wp8pEg84&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ObjCARC/path-overflow.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ObjCARC/path-overflow.ll (original)<br>
+++ llvm/trunk/test/Transforms/ObjCARC/path-overflow.ll Wed Jun 17 15:52:32 2015<br>
@@ -29,7 +29,7 @@ declare i32 @__gxx_personality_sj0(...)<br>
 declare i32 @__objc_personality_v0(...)<br>
<br>
<br>
-define hidden void @test1() {<br>
+define hidden void @test1() personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   br i1 undef, label %msgSend.nullinit, label %msgSend.call<br>
<br>
@@ -864,7 +864,7 @@ bb222:<br>
 }<br>
<br>
 ; Function Attrs: ssp<br>
-define void @test3() #1 {<br>
+define void @test3() #1 personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 entry:<br>
   %call2 = invoke i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8*, i8*, i8*)*)(i8* undef, i8* undef, i8* bitcast (%struct.NSConstantString* @_unnamed_cfstring to i8*))<br>
           to label %invoke.cont unwind label %lpad<br>
@@ -891,7 +891,7 @@ if.then.i:<br>
   br label %invoke.cont8<br>
<br>
 lpad.i:                                           ; preds = %land.end<br>
-  %tmp13 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp13 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -914,7 +914,7 @@ if.then.i1981:<br>
   br label %invoke.cont24<br>
<br>
 lpad.i1982:                                       ; preds = %invoke.cont21<br>
-  %tmp28 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp28 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -940,7 +940,7 @@ if.then.i1987:<br>
   br label %invoke.cont44<br>
<br>
 lpad.i1988:                                       ; preds = %land.end43<br>
-  %tmp42 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp42 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -980,7 +980,7 @@ if.then.i1999:<br>
   br label %invoke.cont91<br>
<br>
 lpad.i2000:                                       ; preds = %invoke.cont71<br>
-  %tmp74 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp74 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup102<br>
<br>
@@ -1003,7 +1003,7 @@ if.then.i2005:<br>
   br label %invoke.cont100<br>
<br>
 lpad.i2006:                                       ; preds = %invoke.cont97<br>
-  %tmp82 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp82 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1022,7 +1022,7 @@ if.then.i2011:<br>
   br label %invoke.cont117<br>
<br>
 lpad.i2012:                                       ; preds = %invoke.cont110<br>
-  %tmp98 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp98 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1031,12 +1031,12 @@ invoke.cont117:<br>
           to label %invoke.cont.i2022 unwind label %lpad156.body<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %tmp118 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp118 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup<br>
<br>
 lpad3:                                            ; preds = %land.rhs, %invoke.cont<br>
-  %tmp119 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp119 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup<br>
<br>
@@ -1044,12 +1044,12 @@ ehcleanup:<br>
   unreachable<br>
<br>
 lpad16:                                           ; preds = %invoke.cont8<br>
-  %tmp121 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp121 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup26<br>
<br>
 lpad20:                                           ; preds = %invoke.cont17<br>
-  %tmp122 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp122 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup26<br>
<br>
@@ -1057,32 +1057,32 @@ ehcleanup26:<br>
   unreachable<br>
<br>
 lpad35:                                           ; preds = %land.rhs39, %invoke.cont24<br>
-  %tmp124 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp124 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad51:                                           ; preds = %invoke.cont44<br>
-  %tmp125 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp125 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad61:                                           ; preds = %land.rhs58<br>
-  %tmp127 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp127 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad66.body.thread:                               ; preds = %invoke.cont62<br>
-  %tmp128 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp128 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad66.body:                                      ; preds = %land.end70<br>
-  %tmp129 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp129 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad94:                                           ; preds = %invoke.cont95, %invoke.cont91<br>
-  %tmp133 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp133 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup102<br>
<br>
@@ -1090,7 +1090,7 @@ ehcleanup102:<br>
   unreachable<br>
<br>
 lpad109:                                          ; preds = %invoke.cont100<br>
-  %tmp134 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp134 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1129,7 +1129,7 @@ if.then.i2035:<br>
   br label %invoke.cont190<br>
<br>
 lpad.i2036:                                       ; preds = %invoke.cont185<br>
-  %tmp168 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp168 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %lpad183.body<br>
<br>
@@ -1156,7 +1156,7 @@ if.then.i2041:<br>
   br label %invoke.cont207<br>
<br>
 lpad.i2042:                                       ; preds = %invoke.cont204<br>
-  %tmp181 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp181 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1193,7 +1193,7 @@ if.then.i2053:<br>
   br label %invoke.cont231<br>
<br>
 lpad.i2054:                                       ; preds = %invoke.cont228<br>
-  %tmp198 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp198 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1258,7 +1258,7 @@ if.then.i2065:<br>
   br label %invoke.cont281<br>
<br>
 lpad.i2066:                                       ; preds = %invoke.cont278<br>
-  %tmp253 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp253 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1326,7 +1326,7 @@ if.then.i2077:<br>
   br label %invoke.cont373<br>
<br>
 lpad.i2078:                                       ; preds = %invoke.cont370<br>
-  %tmp340 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp340 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1353,7 +1353,7 @@ if.then.i2083:<br>
   br label %invoke.cont392<br>
<br>
 lpad.i2084:                                       ; preds = %invoke.cont383<br>
-  %tmp360 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp360 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1384,7 +1384,7 @@ if.then.i2089:<br>
   br label %invoke.cont405<br>
<br>
 lpad.i2090:                                       ; preds = %invoke.cont402<br>
-  %tmp370 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp370 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1411,7 +1411,7 @@ if.then.i2095:<br>
   br label %invoke.cont418<br>
<br>
 lpad.i2096:                                       ; preds = %invoke.cont412<br>
-  %tmp380 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp380 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1442,7 +1442,7 @@ if.then.i2101:<br>
   br label %invoke.cont432<br>
<br>
 lpad.i2102:                                       ; preds = %invoke.cont429<br>
-  %tmp390 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp390 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1459,7 +1459,7 @@ invoke.cont.i2106:<br>
           to label %invoke.cont443 unwind label %lpad381<br>
<br>
 lpad.i2108:                                       ; preds = %invoke.cont435<br>
-  %tmp396 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp396 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1474,7 +1474,7 @@ if.then.i2113:<br>
   br label %invoke.cont449<br>
<br>
 lpad.i2114:                                       ; preds = %invoke.cont443<br>
-  %tmp402 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp402 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1497,7 +1497,7 @@ if.then.i2119:<br>
   br label %invoke.cont458<br>
<br>
 lpad.i2120:                                       ; preds = %invoke.cont455<br>
-  %tmp408 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp408 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1516,7 +1516,7 @@ if.then.i2125:<br>
   br label %invoke.cont466<br>
<br>
 lpad.i2126:                                       ; preds = %invoke.cont460<br>
-  %tmp414 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp414 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup477<br>
<br>
@@ -1535,7 +1535,7 @@ if.then.i2131:<br>
   br label %invoke.cont475<br>
<br>
 lpad.i2132:                                       ; preds = %invoke.cont469<br>
-  %tmp420 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp420 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup477<br>
<br>
@@ -1584,7 +1584,7 @@ if.then.i2137:<br>
   br label %invoke.cont521<br>
<br>
 lpad.i2138:                                       ; preds = %msgSend.cont<br>
-  %tmp468 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp468 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1611,7 +1611,7 @@ if.then.i2143:<br>
   br label %invoke.cont540<br>
<br>
 lpad.i2144:                                       ; preds = %invoke.cont534<br>
-  %tmp486 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp486 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1642,7 +1642,7 @@ invoke.cont.i2148:<br>
           to label %invoke.cont566 unwind label %lpad565<br>
<br>
 lpad.i2150:                                       ; preds = %invoke.cont554<br>
-  %tmp500 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp500 = landingpad { i8*, i32 }<br>
           cleanup<br>
   call void @objc_release(i8* %tmp499) #3, !clang.imprecise_release !0<br>
   unreachable<br>
@@ -1659,17 +1659,17 @@ invoke.cont581:<br>
   unreachable<br>
<br>
 lpad156.body:                                     ; preds = %invoke.cont117<br>
-  %tmp1157 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1157 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad164.body:                                     ; preds = %invoke.cont157<br>
-  %tmp1158 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1158 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad183:                                          ; preds = %invoke.cont184, %invoke.cont165<br>
-  %tmp1159 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1159 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %lpad183.body<br>
<br>
@@ -1677,37 +1677,37 @@ lpad183.body:<br>
   unreachable<br>
<br>
 lpad196:                                          ; preds = %invoke.cont190<br>
-  %tmp1160 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1160 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad200:                                          ; preds = %invoke.cont197<br>
-  %tmp1161 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1161 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad203:                                          ; preds = %invoke.cont207, %invoke.cont201<br>
-  %tmp1162 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1162 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad212.body:                                     ; preds = %invoke.cont208<br>
-  %tmp1163 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1163 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad220:                                          ; preds = %invoke.cont213<br>
-  %tmp1164 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1164 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %eh.resume<br>
<br>
 lpad227:                                          ; preds = %invoke.cont231, %invoke.cont221<br>
-  %tmp1166 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1166 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup239<br>
<br>
 lpad236.body:                                     ; preds = %invoke.cont232<br>
-  %tmp1167 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1167 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup239<br>
<br>
@@ -1715,27 +1715,27 @@ ehcleanup239:<br>
   unreachable<br>
<br>
 lpad244:                                          ; preds = %invoke.cont245, %invoke.cont237<br>
-  %tmp1168 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1168 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad249:                                          ; preds = %invoke.cont247<br>
-  %tmp1169 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1169 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad252:                                          ; preds = %invoke.cont250<br>
-  %tmp1170 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1170 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup263<br>
<br>
 lpad255:                                          ; preds = %invoke.cont253<br>
-  %tmp1171 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1171 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup263<br>
<br>
 lpad258:                                          ; preds = %invoke.cont256<br>
-  %tmp1172 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1172 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1743,107 +1743,107 @@ ehcleanup263:<br>
   unreachable<br>
<br>
 lpad265:                                          ; preds = %invoke.cont259<br>
-  %tmp1173 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1173 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad273:                                          ; preds = %invoke.cont266<br>
-  %tmp1175 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1175 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad277:                                          ; preds = %invoke.cont274<br>
-  %tmp1176 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1176 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad289:                                          ; preds = %invoke.cont281<br>
-  %tmp1177 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1177 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad301:                                          ; preds = %invoke.cont290<br>
-  %tmp1180 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1180 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad308:                                          ; preds = %invoke.cont302<br>
-  %tmp1182 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1182 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad311:                                          ; preds = %invoke.cont309<br>
-  %tmp1183 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1183 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad314:                                          ; preds = %invoke.cont312<br>
-  %tmp1184 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1184 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad320:                                          ; preds = %invoke.cont315<br>
-  %tmp1186 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1186 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad340.body.thread:                              ; preds = %land.rhs335<br>
-  %tmp1188 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1188 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad340.body:                                     ; preds = %land.end344<br>
-  %tmp1189 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1189 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad360:                                          ; preds = %invoke.cont345<br>
-  %tmp1191 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1191 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %eh.resume<br>
<br>
 lpad363:                                          ; preds = %invoke.cont373, %invoke.cont361<br>
-  %tmp1192 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1192 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad369:                                          ; preds = %invoke.cont364<br>
-  %tmp1194 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1194 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad381:                                          ; preds = %invoke.cont466, %invoke.cont458, %invoke.cont449, %invoke.cont.i2106, %invoke.cont432, %invoke.cont422, %invoke.cont418, %invoke.cont408, %invoke.cont405, %invoke.cont395, %invoke.cont392, %invoke.cont382, %invoke.cont376<br>
-  %tmp1196 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1196 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup477<br>
<br>
 lpad398:                                          ; preds = %invoke.cont396<br>
-  %tmp1199 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1199 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad401:                                          ; preds = %invoke.cont399<br>
-  %tmp1200 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1200 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad411:                                          ; preds = %invoke.cont409<br>
-  %tmp1201 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1201 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad425:                                          ; preds = %invoke.cont423<br>
-  %tmp1203 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1203 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup477<br>
<br>
 lpad428:                                          ; preds = %invoke.cont426<br>
-  %tmp1204 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1204 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad454:                                          ; preds = %invoke.cont452<br>
-  %tmp1207 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1207 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1851,47 +1851,47 @@ ehcleanup477:<br>
   unreachable<br>
<br>
 lpad489:                                          ; preds = %invoke.cont546, %invoke.cont540, %invoke.cont528, %invoke.cont509, %invoke.cont499, %invoke.cont475<br>
-  %tmp1211 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1211 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup560<br>
<br>
 lpad498:                                          ; preds = %invoke.cont490<br>
-  %tmp1214 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1214 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad505:                                          ; preds = %invoke.cont503<br>
-  %tmp1215 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1215 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad508:                                          ; preds = %invoke.cont506<br>
-  %tmp1216 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1216 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad514:                                          ; preds = %msgSend.call<br>
-  %tmp1217 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1217 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad527:                                          ; preds = %invoke.cont521<br>
-  %tmp1219 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1219 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %ehcleanup560<br>
<br>
 lpad533:                                          ; preds = %invoke.cont531<br>
-  %tmp1220 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1220 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad545:                                          ; preds = %invoke.cont543<br>
-  %tmp1222 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1222 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad553:                                          ; preds = %invoke.cont548<br>
-  %tmp1224 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1224 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
@@ -1899,17 +1899,17 @@ ehcleanup560:<br>
   br label %eh.resume<br>
<br>
 lpad565:                                          ; preds = %invoke.cont.i2148<br>
-  %tmp1225 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1225 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad571:                                          ; preds = %invoke.cont566<br>
-  %tmp1227 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1227 = landingpad { i8*, i32 }<br>
           cleanup<br>
   unreachable<br>
<br>
 lpad580:                                          ; preds = %invoke.cont572<br>
-  %tmp1228 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp1228 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %eh.resume<br>
<br>
@@ -1919,7 +1919,7 @@ eh.resume:<br>
<br>
 @"OBJC_EHTYPE_$_NSException" = external global i8<br>
<br>
-define void @test4() {<br>
+define void @test4() personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
 entry:<br>
   br i1 undef, label %if.end13, label %if.then10<br>
<br>
@@ -2173,7 +2173,7 @@ if.then430:<br>
   br label %if.end439<br>
<br>
 lpad:                                             ; preds = %if.end399<br>
-  %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %2 = landingpad { i8*, i32 }<br>
           catch i8* @"OBJC_EHTYPE_$_NSException"<br>
   unreachable<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/ObjCARC/retain-not-declared.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ObjCARC_retain-2Dnot-2Ddeclared.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=0sa4klPocP1n2DA9oZhDlSU2P7LCRyb1udtQ2f-qaQw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ObjCARC/retain-not-declared.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ObjCARC/retain-not-declared.ll (original)<br>
+++ llvm/trunk/test/Transforms/ObjCARC/retain-not-declared.ll Wed Jun 17 15:52:32 2015<br>
@@ -34,7 +34,7 @@ entry:<br>
 ; CHECK: @objc_release(<br>
 ; CHECK: @objc_release(<br>
 ; CHECK: }<br>
-define void @test1(i8* %call88) nounwind {<br>
+define void @test1(i8* %call88) nounwind personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
   %tmp1 = call i8* @objc_retainAutoreleasedReturnValue(i8* %call88) nounwind<br>
   %call94 = invoke i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8*)*)(i8* %tmp1)<br>
@@ -51,12 +51,12 @@ invoke.cont102:<br>
   unreachable<br>
<br>
 lpad91:                                           ; preds = %entry<br>
-  %exn91 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn91 = landingpad {i8*, i32}<br>
               cleanup<br>
   unreachable<br>
<br>
 lpad100:                                          ; preds = %invoke.cont93<br>
-  %exn100 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn100 = landingpad {i8*, i32}<br>
               cleanup<br>
   call void @objc_release(i8* %tmp2) nounwind, !clang.imprecise_release !0<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/Transforms/ObjCARC/split-backedge.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ObjCARC_split-2Dbackedge.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=nlOnQZRBrUxgbtCMgRKWB8C3QUU-LTJPYZwgbVnJBrc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ObjCARC/split-backedge.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ObjCARC/split-backedge.ll (original)<br>
+++ llvm/trunk/test/Transforms/ObjCARC/split-backedge.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,7 +10,7 @@<br>
 ; CHECK: call void @objc_release(i8* %call) [[NUW]]<br>
 ; CHECK: call void @objc_release(i8* %call) [[NUW]]<br>
 ; CHECK: call void @objc_release(i8* %cond) [[NUW]]<br>
-define void @test0() {<br>
+define void @test0() personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*) {<br>
 entry:<br>
   br label %while.body<br>
<br>
@@ -34,7 +34,7 @@ invoke.cont1:<br>
   br label %while.body<br>
<br>
 lpad:                                             ; preds = %invoke.cont, %while.body<br>
-  %t4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)<br>
+  %t4 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/PhaseOrdering/gdce.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_PhaseOrdering_gdce.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=G_rB7Fkz1xwvJ2eICNuiitdxhwFWYVGDJZT6ljmr594&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PhaseOrdering/gdce.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/PhaseOrdering/gdce.ll (original)<br>
+++ llvm/trunk/test/Transforms/PhaseOrdering/gdce.ll Wed Jun 17 15:52:32 2015<br>
@@ -67,7 +67,7 @@ entry:<br>
   ret void<br>
 }<br>
<br>
-define linkonce_odr void @_ZN4BaseD0Ev(%class.Base* %this) unnamed_addr uwtable ssp align 2 {<br>
+define linkonce_odr void @_ZN4BaseD0Ev(%class.Base* %this) unnamed_addr uwtable ssp align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %this.addr = alloca %class.Base*, align 8<br>
   %exn.slot = alloca i8*<br>
@@ -83,7 +83,7 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad:                                             ; preds = %entry<br>
-  %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %1 = landingpad { i8*, i32 }<br>
           cleanup<br>
   %2 = extractvalue { i8*, i32 } %1, 0<br>
   store i8* %2, i8** %exn.slot<br>
<br>
Modified: llvm/trunk/test/Transforms/PlaceSafepoints/invokes.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_PlaceSafepoints_invokes.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=AW1YdBHJ8SlNnELMQJAWvnWamuJQDJjhG9fv2edE8Cg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PlaceSafepoints/invokes.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/PlaceSafepoints/invokes.ll (original)<br>
+++ llvm/trunk/test/Transforms/PlaceSafepoints/invokes.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
 declare i64 addrspace(1)* @"some_call"(i64 addrspace(1)*)<br>
 declare i32 @"personality_function"()<br>
<br>
-define i64 addrspace(1)* @test_basic(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "statepoint-example" {<br>
+define i64 addrspace(1)* @test_basic(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "statepoint-example" personality i32 ()* @"personality_function" {<br>
 ; CHECK-LABEL: entry:<br>
 entry:<br>
   ; CHECK: invoke<br>
@@ -24,12 +24,12 @@ normal_return:<br>
 ; CHECK: ret i64<br>
<br>
 exceptional_return:<br>
-  %landing_pad4 = landingpad {i8*, i32} personality i32 ()* @"personality_function"<br>
+  %landing_pad4 = landingpad {i8*, i32}<br>
           cleanup<br>
   ret i64 addrspace(1)* %obj1<br>
 }<br>
<br>
-define i64 addrspace(1)* @test_two_invokes(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "statepoint-example" {<br>
+define i64 addrspace(1)* @test_two_invokes(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "statepoint-example" personality i32 ()* @"personality_function" {<br>
 ; CHECK-LABEL: entry:<br>
 entry:<br>
   ; CHECK: invoke<br>
@@ -56,12 +56,12 @@ normal_return:<br>
 ; CHECK: ret i64<br>
<br>
 exceptional_return:<br>
-  %landing_pad4 = landingpad {i8*, i32} personality i32 ()* @"personality_function"<br>
+  %landing_pad4 = landingpad {i8*, i32}<br>
           cleanup<br>
   ret i64 addrspace(1)* %obj1<br>
 }<br>
<br>
-define i64 addrspace(1)* @test_phi_node(i1 %cond, i64 addrspace(1)* %obj) gc "statepoint-example" {<br>
+define i64 addrspace(1)* @test_phi_node(i1 %cond, i64 addrspace(1)* %obj) gc "statepoint-example" personality i32 ()* @"personality_function" {<br>
 ; CHECK-LABEL: @test_phi_node<br>
 ; CHECK-LABEL: entry:<br>
 entry:<br>
@@ -94,7 +94,7 @@ merge:<br>
 ; CHECK: ret i64 addrspace(1)*<br>
<br>
 exceptional_return:<br>
-  %landing_pad4 = landingpad {i8*, i32} personality i32 ()* @"personality_function"<br>
+  %landing_pad4 = landingpad {i8*, i32}<br>
           cleanup<br>
   ret i64 addrspace(1)* %obj<br>
 }<br>
@@ -108,4 +108,4 @@ define void @gc.safepoint_poll() {<br>
 entry:<br>
   call void @do_safepoint()<br>
   ret void<br>
-}<br>
\ No newline at end of file<br>
+}<br>
<br>
Modified: llvm/trunk/test/Transforms/PlaceSafepoints/patchable-statepoints.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_PlaceSafepoints_patchable-2Dstatepoints.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=nDRuYS7nScTtDepGOmEt2cfbNfKAKuj0V0So5uiLtiE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PlaceSafepoints/patchable-statepoints.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/PlaceSafepoints/patchable-statepoints.ll (original)<br>
+++ llvm/trunk/test/Transforms/PlaceSafepoints/patchable-statepoints.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
 declare void @f()<br>
 declare i32 @personality_function()<br>
<br>
-define void @test_id() gc "statepoint-example" {<br>
+define void @test_id() gc "statepoint-example" personality i32 ()* @personality_function {<br>
 ; CHECK-LABEL: @test_id(<br>
 entry:<br>
 ; CHECK-LABEL: entry:<br>
@@ -14,11 +14,11 @@ normal_return:<br>
   ret void<br>
<br>
 exceptional_return:<br>
-  %landing_pad4 = landingpad {i8*, i32} personality i32 ()* @personality_function cleanup<br>
+  %landing_pad4 = landingpad {i8*, i32} cleanup<br>
   ret void<br>
 }<br>
<br>
-define void @test_num_patch_bytes() gc "statepoint-example" {<br>
+define void @test_num_patch_bytes() gc "statepoint-example" personality i32 ()* @personality_function {<br>
 ; CHECK-LABEL: @test_num_patch_bytes(<br>
 entry:<br>
 ; CHECK-LABEL: entry:<br>
@@ -29,7 +29,7 @@ normal_return:<br>
   ret void<br>
<br>
 exceptional_return:<br>
-  %landing_pad4 = landingpad {i8*, i32} personality i32 ()* @personality_function cleanup<br>
+  %landing_pad4 = landingpad {i8*, i32} cleanup<br>
   ret void<br>
 }<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/PlaceSafepoints/statepoint-calling-conventions.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_PlaceSafepoints_statepoint-2Dcalling-2Dconventions.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=PQ_1cZXEJBQ8nyKsjb3WDbgLTZBUwBqsWbJAzYV3nXM&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PlaceSafepoints/statepoint-calling-conventions.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/PlaceSafepoints/statepoint-calling-conventions.ll (original)<br>
+++ llvm/trunk/test/Transforms/PlaceSafepoints/statepoint-calling-conventions.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
 ; Ensure that the gc.statepoint calls / invokes we generate carry over<br>
 ; the right calling conventions.<br>
<br>
-define i64 addrspace(1)* @test_invoke_format(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "statepoint-example" {<br>
+define i64 addrspace(1)* @test_invoke_format(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "statepoint-example" personality i32 ()* @personality {<br>
 ; CHECK-LABEL: @test_invoke_format(<br>
 ; CHECK-LABEL: entry:<br>
 ; CHECK: invoke coldcc i32 (i64, i32, i64 addrspace(1)* (i64 addrspace(1)*)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_p1i64p1i64f(i64 2882400000, i32 0, i64 addrspace(1)* (i64 addrspace(1)*)* @callee, i32 1, i32 0, i64 addrspace(1)* %obj, i32 0, i32 0)<br>
@@ -15,7 +15,7 @@ normal_return:<br>
   ret i64 addrspace(1)* %ret_val<br>
<br>
 exceptional_return:<br>
-  %landing_pad4 = landingpad {i8*, i32} personality i32 ()* @personality<br>
+  %landing_pad4 = landingpad {i8*, i32}<br>
           cleanup<br>
   ret i64 addrspace(1)* %obj1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/PlaceSafepoints/statepoint-format.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_PlaceSafepoints_statepoint-2Dformat.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=AaR3nMbb68NJe-xP-Y1XqF8aQ6fC-eyLdFl0LvowtaI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PlaceSafepoints/statepoint-format.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/PlaceSafepoints/statepoint-format.ll (original)<br>
+++ llvm/trunk/test/Transforms/PlaceSafepoints/statepoint-format.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
 ; Ensure that the gc.statepoint calls / invokes we generate have the<br>
 ; set of arguments we expect it to have.<br>
<br>
-define i64 addrspace(1)* @test_invoke_format(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "statepoint-example" {<br>
+define i64 addrspace(1)* @test_invoke_format(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "statepoint-example" personality i32 ()* @personality {<br>
 ; CHECK-LABEL: @test_invoke_format(<br>
 ; CHECK-LABEL: entry:<br>
 ; CHECK: invoke i32 (i64, i32, i64 addrspace(1)* (i64 addrspace(1)*)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_p1i64p1i64f(i64 2882400000, i32 0, i64 addrspace(1)* (i64 addrspace(1)*)* @callee, i32 1, i32 0, i64 addrspace(1)* %obj, i32 0, i32 0)<br>
@@ -15,7 +15,7 @@ normal_return:<br>
   ret i64 addrspace(1)* %ret_val<br>
<br>
 exceptional_return:<br>
-  %landing_pad4 = landingpad {i8*, i32} personality i32 ()* @personality<br>
+  %landing_pad4 = landingpad {i8*, i32}<br>
           cleanup<br>
   ret i64 addrspace(1)* %obj1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/PruneEH/recursivetest.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_PruneEH_recursivetest.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=nCeGIB5WshnqI_Wkw9LKVAE0ZXj0GJC_LyCBcNwo99w&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PruneEH/recursivetest.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/PruneEH/recursivetest.ll (original)<br>
+++ llvm/trunk/test/Transforms/PruneEH/recursivetest.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,23 +1,23 @@<br>
 ; RUN: opt < %s -prune-eh -S | not grep invoke<br>
<br>
-define internal i32 @foo() {<br>
+define internal i32 @foo() personality i32 (...)* @__gxx_personality_v0 {<br>
        invoke i32 @foo( )<br>
                        to label %Normal unwind label %Except           ; <i32>:1 [#uses=0]<br>
 Normal:                ; preds = %0<br>
        ret i32 12<br>
 Except:                ; preds = %0<br>
-        landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+        landingpad { i8*, i32 }<br>
                 catch i8* null<br>
        ret i32 123<br>
 }<br>
<br>
-define i32 @caller() {<br>
+define i32 @caller() personality i32 (...)* @__gxx_personality_v0 {<br>
        invoke i32 @foo( )<br>
                        to label %Normal unwind label %Except           ; <i32>:1 [#uses=0]<br>
 Normal:                ; preds = %0<br>
        ret i32 0<br>
 Except:                ; preds = %0<br>
-        landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+        landingpad { i8*, i32 }<br>
                 catch i8* null<br>
        ret i32 1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/PruneEH/seh-nounwind.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_PruneEH_seh-2Dnounwind.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=SmBNQ95nrJkrDXmWFwLoWBfEIqw3dsGPdr_owVBgPL8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PruneEH/seh-nounwind.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/PruneEH/seh-nounwind.ll (original)<br>
+++ llvm/trunk/test/Transforms/PruneEH/seh-nounwind.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,13 +10,13 @@ entry:<br>
   ret i32 %div<br>
 }<br>
<br>
-define i32 @main() nounwind {<br>
+define i32 @main() nounwind personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   %call = invoke i32 @div(i32 10, i32 0)<br>
           to label %__try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   br label %__try.cont<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/PruneEH/simpletest.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_PruneEH_simpletest.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Alx-5sj2GdqBluvrcIWZtkPjkmtapDpMPQ-1VCyO5qs&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/PruneEH/simpletest.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/PruneEH/simpletest.ll (original)<br>
+++ llvm/trunk/test/Transforms/PruneEH/simpletest.ll Wed Jun 17 15:52:32 2015<br>
@@ -7,7 +7,7 @@ define internal void @foo() {<br>
        ret void<br>
 }<br>
<br>
-define i32 @caller() {<br>
+define i32 @caller() personality i32 (...)* @__gxx_personality_v0 {<br>
        invoke void @foo( )<br>
                        to label %Normal unwind label %Except<br>
<br>
@@ -15,7 +15,7 @@ Normal:               ; preds = %0<br>
        ret i32 0<br>
<br>
 Except:                ; preds = %0<br>
-        landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+        landingpad { i8*, i32 }<br>
                 catch i8* null<br>
        ret i32 1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/Reg2Mem/crash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_Reg2Mem_crash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=pxS6dBZ8hXvV6YFk6SsbfpBTwlR3A3a7W3_EEAZn8GM&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Reg2Mem/crash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/Reg2Mem/crash.ll (original)<br>
+++ llvm/trunk/test/Transforms/Reg2Mem/crash.ll Wed Jun 17 15:52:32 2015<br>
@@ -13,13 +13,13 @@ declare void @f4_()<br>
<br>
 declare void @_Z12xxxdtsP10xxxpq()<br>
<br>
-define hidden void @_ZN12xxxyzIi9xxxwLi29ELi0EE4f3NewES0_i() ssp align 2 {<br>
+define hidden void @_ZN12xxxyzIi9xxxwLi29ELi0EE4f3NewES0_i() ssp align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {<br>
 bb:<br>
   invoke void @f4_()<br>
           to label %bb1 unwind label %.thread<br>
<br>
 .thread:                                          ; preds = %bb<br>
-  %tmp = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %bb13<br>
<br>
@@ -32,13 +32,13 @@ bb1:<br>
           to label %bb6 unwind label %bb2<br>
<br>
 bb2:                                              ; preds = %.noexc<br>
-  %tmp3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp3 = landingpad { i8*, i32 }<br>
           cleanup<br>
   invoke void @f3()<br>
           to label %.body unwind label %bb4<br>
<br>
 bb4:                                              ; preds = %bb2<br>
-  %tmp5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp5 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   unreachable<br>
<br>
@@ -54,13 +54,13 @@ bb7:<br>
   ret void<br>
<br>
 bb8:                                              ; preds = %_ZN6xxxdIN12xxxyzIi9xxxwLi29ELi0EE4fr1jS3_.exit<br>
-  %tmp9 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp9 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %_ZN10xxxpqdlev.exit<br>
<br>
 bb10:                                             ; preds = %bb6, %bb1<br>
   %.1 = phi i1 [ true, %bb1 ], [ false, %bb6 ]<br>
-  %tmp11 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp11 = landingpad { i8*, i32 }<br>
           cleanup<br>
   br label %.body<br>
<br>
@@ -80,7 +80,7 @@ _ZN10xxxpqdlev.exit:<br>
   resume { i8*, i32 } undef<br>
<br>
 bb14:                                             ; preds = %bb13, %.body<br>
-  %tmp15 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)<br>
+  %tmp15 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   unreachable<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/RewriteStatepointsForGC/live-vector.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_RewriteStatepointsForGC_live-2Dvector.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=_Wpmr0VhAtCyXLb38aBPz_koJjVnFwz7BxQo15ZBzp8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/RewriteStatepointsForGC/live-vector.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/RewriteStatepointsForGC/live-vector.ll (original)<br>
+++ llvm/trunk/test/Transforms/RewriteStatepointsForGC/live-vector.ll Wed Jun 17 15:52:32 2015<br>
@@ -55,7 +55,7 @@ entry:<br>
 declare i32 @fake_personality_function()<br>
<br>
 ; When a statepoint is an invoke rather than a call<br>
-define <2 x i64 addrspace(1)*> @test4(<2 x i64 addrspace(1)*>* %ptr) gc "statepoint-example" {<br>
+define <2 x i64 addrspace(1)*> @test4(<2 x i64 addrspace(1)*>* %ptr) gc "statepoint-example" personality i32 ()* @fake_personality_function {<br>
 ; CHECK-LABEL: test4<br>
 ; CHECK: load<br>
 ; CHECK-NEXT: extractelement<br>
@@ -86,7 +86,7 @@ normal_return:<br>
 ; CHECK-NEXT: insertelement<br>
 ; CHECK-NEXT: ret <2 x i64 addrspace(1)*> %14<br>
 exceptional_return:                               ; preds = %entry<br>
-  %landing_pad4 = landingpad { i8*, i32 } personality i32 ()* @fake_personality_function<br>
+  %landing_pad4 = landingpad { i8*, i32 }<br>
           cleanup<br>
   ret <2 x i64 addrspace(1)*> %obj<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/RewriteStatepointsForGC/preprocess.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_RewriteStatepointsForGC_preprocess.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=txoqI2aQfeK9Zcn94wSLABnuu0V7vZ_v2EMrUSAPhcc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/RewriteStatepointsForGC/preprocess.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/RewriteStatepointsForGC/preprocess.ll (original)<br>
+++ llvm/trunk/test/Transforms/RewriteStatepointsForGC/preprocess.ll Wed Jun 17 15:52:32 2015<br>
@@ -40,7 +40,7 @@ unreached:<br>
<br>
 ; Need to delete unreachable gc.statepoint invoke - tested seperately given<br>
 ; a correct implementation could only remove the instructions, not the block<br>
-define void @test8() gc "statepoint-example" {<br>
+define void @test8() gc "statepoint-example" personality i32 ()* undef {<br>
 ; CHECK-LABEL: test8<br>
 ; CHECK-NOT: gc.statepoint<br>
   ret void<br>
@@ -53,7 +53,7 @@ normal_return:<br>
   ret void<br>
<br>
 exceptional_return:                               ; preds = %entry<br>
-  %landing_pad4 = landingpad { i8*, i32 } personality i32 ()* undef<br>
+  %landing_pad4 = landingpad { i8*, i32 }<br>
           cleanup<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/RewriteStatepointsForGC/relocate_invoke_result.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_RewriteStatepointsForGC_relocate-5Finvoke-5Fresult.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=i95Tgyb10NaUxSxYHI3l_CZcc41zMhYhqD74dDnBGp0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/RewriteStatepointsForGC/relocate_invoke_result.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/RewriteStatepointsForGC/relocate_invoke_result.ll (original)<br>
+++ llvm/trunk/test/Transforms/RewriteStatepointsForGC/relocate_invoke_result.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,13 +10,13 @@ declare void @gc_call()<br>
 declare i32* @fake_personality_function()<br>
<br>
 ; Function Attrs: nounwind<br>
-define i64* addrspace(1)* @test() gc "statepoint-example" {<br>
+define i64* addrspace(1)* @test() gc "statepoint-example" personality i32* ()* @fake_personality_function {<br>
 entry:<br>
   %obj = invoke i64* addrspace(1)* @non_gc_call()<br>
           to label %normal_dest unwind label %unwind_dest<br>
<br>
 unwind_dest:<br>
-  %lpad = landingpad { i8*, i32 } personality i32* ()* @fake_personality_function<br>
+  %lpad = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } undef<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/RewriteStatepointsForGC/rematerialize-derived-pointers.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_RewriteStatepointsForGC_rematerialize-2Dderived-2Dpointers.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=EY0D3_bGYiHIOOsIP3ChghcP97NzXtEj3AeYYdjy1wY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/RewriteStatepointsForGC/rematerialize-derived-pointers.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/RewriteStatepointsForGC/rematerialize-derived-pointers.ll (original)<br>
+++ llvm/trunk/test/Transforms/RewriteStatepointsForGC/rematerialize-derived-pointers.ll Wed Jun 17 15:52:32 2015<br>
@@ -137,7 +137,7 @@ entry:<br>
<br>
 declare i32 @fake_personality_function()<br>
<br>
-define void @"test_invoke"(i32 addrspace(1)* %base) gc "statepoint-example" {<br>
+define void @"test_invoke"(i32 addrspace(1)* %base) gc "statepoint-example" personality i32 ()* @fake_personality_function {<br>
 ; CHECK-LABEL: test_invoke<br>
 entry:<br>
   %ptr.gep = getelementptr i32, i32 addrspace(1)* %base, i32 15<br>
@@ -163,7 +163,7 @@ normal:<br>
<br>
 exception:<br>
   ; CHECK-LABEL: exception:<br>
-  %landing_pad4 = landingpad { i8*, i32 } personality i32 ()* @fake_personality_function<br>
+  %landing_pad4 = landingpad { i8*, i32 }<br>
           cleanup<br>
   ; CHECK: gc.relocate<br>
   ; CHECK: bitcast<br>
<br>
Modified: llvm/trunk/test/Transforms/SCCP/2003-08-26-InvokeHandling.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SCCP_2003-2D08-2D26-2DInvokeHandling.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Q_wvCbX_84Od86VJyt2BURxQyZmzuhJEEtBmX9ss7xg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SCCP/2003-08-26-InvokeHandling.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SCCP/2003-08-26-InvokeHandling.ll (original)<br>
+++ llvm/trunk/test/Transforms/SCCP/2003-08-26-InvokeHandling.ll Wed Jun 17 15:52:32 2015<br>
@@ -3,7 +3,7 @@<br>
<br>
 declare void @foo()<br>
<br>
-define i32 @test(i1 %cond) {<br>
+define i32 @test(i1 %cond) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 Entry:<br>
        br i1 %cond, label %Inv, label %Cont<br>
 Inv:           ; preds = %Entry<br>
@@ -12,7 +12,7 @@ Inv:          ; preds = %Entry<br>
 Ok:            ; preds = %Inv<br>
        br label %Cont<br>
 LPad:<br>
-        %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+        %val = landingpad { i8*, i32 }<br>
                  catch i8* null<br>
         br label %Cont<br>
 Cont:          ; preds = %Ok, %Inv, %Entry<br>
<br>
Modified: llvm/trunk/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SCCP_2004-2D11-2D16-2DDeadInvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=LwkGwOddfIYZqzGQU-DQxpylbJogBGgtbGcy6UK28bw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,13 +2,13 @@<br>
<br>
 declare i32 @foo()<br>
<br>
-define void @caller() {<br>
+define void @caller() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
        br i1 true, label %T, label %F<br>
 F:             ; preds = %0<br>
        %X = invoke i32 @foo( )<br>
                        to label %T unwind label %LP            ; <i32> [#uses=0]<br>
 LP:<br>
-        %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+        %val = landingpad { i8*, i32 }<br>
                  catch i8* null<br>
         br label %T<br>
 T:<br>
<br>
Modified: llvm/trunk/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SCCP_2007-2D05-2D16-2DInvokeCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=Ua-KEx1C6oQ8fd-6_sAOCpU-pYCEvctvrnTTu2C6M4g&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll (original)<br>
+++ llvm/trunk/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,7 +1,7 @@<br>
 ; RUN: opt < %s -sccp -disable-output<br>
 ; PR1431<br>
<br>
-define void @_ada_bench() {<br>
+define void @_ada_bench() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
        br label %cond_next<br>
 cond_next:             ; preds = %cond_next, %entry<br>
@@ -31,7 +31,7 @@ bb149:                ; preds = %bb114<br>
 bb177:         ; preds = %bb149<br>
        unreachable<br>
 cleanup:               ; preds = %bb149, %bb114, %bb67<br>
-        %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+        %val = landingpad { i8*, i32 }<br>
                  cleanup<br>
        resume { i8*, i32 } %val<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SCCP_2009-2D01-2D14-2DIPSCCP-2DInvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=bRGxjyaVu2mhvI8oQi_YJ9bf4yQ4zC6br5FgLDFmjqQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,12 +2,12 @@<br>
 ; RUN: opt < %s -ipsccp -S | grep "ret i32 undef"<br>
 ; PR3325<br>
<br>
-define i32 @main() {<br>
+define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
        %tmp1 = invoke i32 @f()<br>
                        to label %UnifiedReturnBlock unwind label %lpad<br>
<br>
 lpad:<br>
-        %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+        %val = landingpad { i8*, i32 }<br>
                  cleanup<br>
        unreachable<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/SCCP/ipsccp-basic.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SCCP_ipsccp-2Dbasic.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=-3IkLx9q9lcrZkdDCpHzhXbuHYqZGujBvcBI6M8HsYU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SCCP/ipsccp-basic.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SCCP/ipsccp-basic.ll (original)<br>
+++ llvm/trunk/test/Transforms/SCCP/ipsccp-basic.ll Wed Jun 17 15:52:32 2015<br>
@@ -82,7 +82,7 @@ define internal {i64,i64} @test4a() {<br>
   ret {i64,i64} %b<br>
 }<br>
<br>
-define i64 @test4b() {<br>
+define i64 @test4b() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
   %a = invoke {i64,i64} @test4a()<br>
           to label %A unwind label %B<br>
 A:<br>
@@ -90,7 +90,7 @@ A:<br>
   %c = call i64 @test4c(i64 %b)<br>
   ret i64 %c<br>
 B:<br>
-  %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %val = landingpad { i8*, i32 }<br>
            catch i8* null<br>
   ret i64 0<br>
 }<br>
@@ -116,14 +116,14 @@ define internal {i64,i64} @test5a() {<br>
   ret {i64,i64} %b<br>
 }<br>
<br>
-define i64 @test5b() {<br>
+define i64 @test5b() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
   %a = invoke {i64,i64} @test5a()<br>
           to label %A unwind label %B<br>
 A:<br>
   %c = call i64 @test5c({i64,i64} %a)<br>
   ret i64 %c<br>
 B:<br>
-  %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %val = landingpad { i8*, i32 }<br>
            catch i8* null<br>
   ret i64 0<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/SLPVectorizer/X86/ordering.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SLPVectorizer_X86_ordering.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=tkmhsWC3sD9bZ7MX6UzjbAWqAFRS5Tnku6FJOptoUYI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SLPVectorizer/X86/ordering.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SLPVectorizer/X86/ordering.ll (original)<br>
+++ llvm/trunk/test/Transforms/SLPVectorizer/X86/ordering.ll Wed Jun 17 15:52:32 2015<br>
@@ -21,7 +21,7 @@ entry:<br>
 declare i8* @objc_msgSend(i8*, i8*, ...)<br>
 declare i32 @personality_v0(...)<br>
<br>
-define void @invoketest() {<br>
+define void @invoketest() personality i8* bitcast (i32 (...)* @personality_v0 to i8*) {<br>
 entry:<br>
   br i1 undef, label %cond.true, label %cond.false<br>
<br>
@@ -67,7 +67,7 @@ if.then63:<br>
   br label %if.end98<br>
<br>
 lpad:<br>
-  %l = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @personality_v0 to i8*)<br>
+  %l = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } %l<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/SLPVectorizer/X86/phi_landingpad.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SLPVectorizer_X86_phi-5Flandingpad.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=bGRz_DDwUeolbdQLMRpI8agQDEDlQ8MBEqF3gtK-Psw&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SLPVectorizer/X86/phi_landingpad.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SLPVectorizer/X86/phi_landingpad.ll (original)<br>
+++ llvm/trunk/test/Transforms/SLPVectorizer/X86/phi_landingpad.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,7 +2,8 @@<br>
<br>
 target datalayout = "f64:64:64-v64:64:64"<br>
<br>
-define void @test_phi_in_landingpad() {<br>
+define void @test_phi_in_landingpad() personality i8*<br>
+          bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @foo()<br>
           to label %inner unwind label %lpad<br>
@@ -16,8 +17,7 @@ inner:<br>
 lpad:<br>
   %x1 = phi double [ undef, %entry ], [ undef, %inner ]<br>
   %y1 = phi double [ undef, %entry ], [ undef, %inner ]<br>
-  landingpad { i8*, i32 } personality i8*<br>
-          bitcast (i32 (...)* @__gxx_personality_v0 to i8*) catch i8* null<br>
+  landingpad { i8*, i32 } catch i8* null<br>
   br label %done<br>
<br>
 done:<br>
<br>
Modified: llvm/trunk/test/Transforms/SafeStack/escape-gep-invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SafeStack_escape-2Dgep-2Dinvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=WMQVUxMH_oM3TzyrSfoA9hMJ3iuhbKZ0MzzLMj5yRSo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SafeStack/escape-gep-invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SafeStack/escape-gep-invoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/SafeStack/escape-gep-invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -9,7 +9,7 @@<br>
 ;   (GEP followed by an invoke)<br>
 ;  safestack attribute<br>
 ; Requires protector.<br>
-define i32 @foo() uwtable safestack {<br>
+define i32 @foo() uwtable safestack personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   ; CHECK: __safestack_unsafe_stack_ptr<br>
   %c = alloca %struct.pair, align 4<br>
@@ -25,7 +25,7 @@ invoke.cont:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ret i32 0<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/SafeStack/invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SafeStack_invoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=pucioymQU8FNQXvbOPjPxzZ3KbiZZ-aUYZj9ZFEOzAU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SafeStack/invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SafeStack/invoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/SafeStack/invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@<br>
 ; Addr-of a variable passed into an invoke instruction.<br>
 ;  safestack attribute<br>
 ; Requires protector and stack restore after landing pad.<br>
-define i32 @foo() uwtable safestack {<br>
+define i32 @foo() uwtable safestack personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   ; CHECK: %[[SP:.*]] = load i8*, i8** @__safestack_unsafe_stack_ptr<br>
   ; CHECK: %[[STATICTOP:.*]] = getelementptr i8, i8* %[[SP]], i32 -16<br>
@@ -23,7 +23,7 @@ invoke.cont:<br>
 lpad:<br>
   ; CHECK: landingpad<br>
   ; CHECK-NEXT: catch<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   ; CHECK-NEXT: store i8* %[[STATICTOP]], i8** @__safestack_unsafe_stack_ptr<br>
   ret i32 0<br>
<br>
Modified: llvm/trunk/test/Transforms/ScalarRepl/2011-09-22-PHISpeculateInvoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_ScalarRepl_2011-2D09-2D22-2DPHISpeculateInvoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=LNZGMhaIhI36YXLru5G6-VabjqmNpvP5ASF2MQCuCws&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ScalarRepl/2011-09-22-PHISpeculateInvoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/ScalarRepl/2011-09-22-PHISpeculateInvoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/ScalarRepl/2011-09-22-PHISpeculateInvoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,7 +10,7 @@ declare void @extern_fn(i32*)<br>
 declare i32 @extern_fn2(i32)<br>
 declare i32 @__gcc_personality_v0(i32, i64, i8*, i8*)<br>
<br>
-define void @odd_fn(i1) noinline {<br>
+define void @odd_fn(i1) noinline personality i32 (i32, i64, i8*, i8*)* @__gcc_personality_v0 {<br>
   %retptr1 = alloca i32<br>
   %retptr2 = alloca i32<br>
   br i1 %0, label %then, label %else<br>
@@ -30,7 +30,7 @@ join:<br>
   ret void<br>
<br>
 unwind:                                           ; preds = %then<br>
-  %info = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gcc_personality_v0<br>
+  %info = landingpad { i8*, i32 }<br>
           cleanup<br>
   call void @extern_fn(i32* null)<br>
   unreachable<br>
<br>
Modified: llvm/trunk/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SimplifyCFG_2003-2D08-2D05-2DInvokeCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=7i5m-5Z1WO3VgAXfXXOnOPQxdz705cXyjQxTzbYcWB0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll (original)<br>
+++ llvm/trunk/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -2,13 +2,13 @@<br>
 ;<br>
 ; RUN: opt < %s -simplifycfg -disable-output<br>
<br>
-define i32 @test() {<br>
+define i32 @test() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
        %A = invoke i32 @test( )<br>
                        to label %Ret unwind label %Ret2                ; <i32> [#uses=1]<br>
 Ret:           ; preds = %0<br>
        ret i32 %A<br>
 Ret2:          ; preds = %0<br>
-        %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+        %val = landingpad { i8*, i32 }<br>
                  catch i8* null<br>
        ret i32 undef<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SimplifyCFG_2005-2D10-2D02-2DInvokeSimplify.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=nK6SQKq5aLhr29_G0-T_6npU0pSBlMzIDSOs6a5GJ04&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll (original)<br>
+++ llvm/trunk/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll Wed Jun 17 15:52:32 2015<br>
@@ -1,10 +1,10 @@<br>
 ; RUN: opt < %s -simplifycfg -disable-output<br>
<br>
-define i1 @foo() {<br>
+define i1 @foo() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
        %X = invoke i1 @foo( )<br>
                        to label %N unwind label %F             ; <i1> [#uses=1]<br>
 F:             ; preds = %0<br>
-        %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+        %val = landingpad { i8*, i32 }<br>
                  catch i8* null<br>
        ret i1 false<br>
 N:             ; preds = %0<br>
<br>
Modified: llvm/trunk/test/Transforms/SimplifyCFG/2007-11-22-InvokeNoUnwind.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SimplifyCFG_2007-2D11-2D22-2DInvokeNoUnwind.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=7D0H9vHLDJtO3Hqf0y_SG9yjrIfaopLRLbLAxdfetqk&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/2007-11-22-InvokeNoUnwind.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SimplifyCFG/2007-11-22-InvokeNoUnwind.ll (original)<br>
+++ llvm/trunk/test/Transforms/SimplifyCFG/2007-11-22-InvokeNoUnwind.ll Wed Jun 17 15:52:32 2015<br>
@@ -4,7 +4,7 @@<br>
<br>
 declare i32 @func(i8*) nounwind<br>
<br>
-define i32 @test() {<br>
+define i32 @test() personality i32 (...)* @__gxx_personality_v0 {<br>
        invoke i32 @func( i8* null )<br>
                        to label %Cont unwind label %Other              ; <i32>:1 [#uses=0]<br>
<br>
@@ -12,7 +12,7 @@ Cont:         ; preds = %0<br>
        ret i32 0<br>
<br>
 Other:         ; preds = %0<br>
-       landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+       landingpad { i8*, i32 }<br>
                catch i8* null<br>
        ret i32 1<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SimplifyCFG_2010-2D03-2D30-2DInvokeCrash.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=iVQ_Ecj1dyo5asudQDoy_N1uJGkxC9R8dcPk6AeKzL8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll (original)<br>
+++ llvm/trunk/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll Wed Jun 17 15:52:32 2015<br>
@@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gn<br>
<br>
 declare void @bar(i32)<br>
<br>
-define void @foo() {<br>
+define void @foo() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
  invoke void @bar(i32 undef)<br>
          to label %r unwind label %u<br>
@@ -14,7 +14,7 @@ r:<br>
  ret void<br>
<br>
 u:                                                ; preds = %entry<br>
- %val = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+ %val = landingpad { i8*, i32 }<br>
           cleanup<br>
  resume { i8*, i32 } %val<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/SimplifyCFG/2011-09-05-TrivialLPad.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SimplifyCFG_2011-2D09-2D05-2DTrivialLPad.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=TqtPZVhMSUG0-Zmfcx0666y-oj2bxMOAolchwFyGga4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/2011-09-05-TrivialLPad.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SimplifyCFG/2011-09-05-TrivialLPad.ll (original)<br>
+++ llvm/trunk/test/Transforms/SimplifyCFG/2011-09-05-TrivialLPad.ll Wed Jun 17 15:52:32 2015<br>
@@ -5,7 +5,7 @@<br>
<br>
 declare void @bar()<br>
<br>
-define i32 @foo() {<br>
+define i32 @foo() personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0 {<br>
 entry:<br>
   invoke void @bar()<br>
           to label %return unwind label %lpad<br>
@@ -14,7 +14,7 @@ return:<br>
   ret i32 0<br>
<br>
 lpad:<br>
-  %lp = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0<br>
+  %lp = landingpad { i8*, i32 }<br>
           cleanup<br>
   resume { i8*, i32 } %lp<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/SimplifyCFG/UnreachableEliminate.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SimplifyCFG_UnreachableEliminate.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=BdomQzkdJddReFx-tc2pISVSnE5E5Af1LvjvLS0M2as&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/UnreachableEliminate.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SimplifyCFG/UnreachableEliminate.ll (original)<br>
+++ llvm/trunk/test/Transforms/SimplifyCFG/UnreachableEliminate.ll Wed Jun 17 15:52:32 2015<br>
@@ -13,7 +13,7 @@ F:<br>
         ret void<br>
 }<br>
<br>
-define void @test2() {<br>
+define void @test2() personality i32 (...)* @__gxx_personality_v0 {<br>
 ; CHECK-LABEL: @test2(<br>
 ; CHECK: entry:<br>
 ; CHECK-NEXT: call void @test2()<br>
@@ -22,7 +22,7 @@ entry:<br>
         invoke void @test2( )<br>
                         to label %N unwind label %U<br>
 U:<br>
-  %res = landingpad { i8* } personality i32 (...)* @__gxx_personality_v0<br>
+  %res = landingpad { i8* }<br>
           cleanup<br>
         unreachable<br>
 N:<br>
<br>
Modified: llvm/trunk/test/Transforms/SimplifyCFG/duplicate-landingpad.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SimplifyCFG_duplicate-2Dlandingpad.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=5D6C2F9yErDWQ4o_xzl31j1AUcyjoIe6eDJbv8jEOuQ&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/duplicate-landingpad.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SimplifyCFG/duplicate-landingpad.ll (original)<br>
+++ llvm/trunk/test/Transforms/SimplifyCFG/duplicate-landingpad.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@ declare void @fn()<br>
<br>
<br>
 ; CHECK-LABEL: @test1<br>
-define void @test1() {<br>
+define void @test1() personality i32 (...)* @__gxx_personality_v0 {<br>
 entry:<br>
 ; CHECK-LABEL: entry:<br>
 ; CHECK: to label %invoke2 unwind label %lpad2<br>
@@ -23,17 +23,17 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad1:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
          cleanup<br>
   br label %shared_resume<br>
<br>
 lpad2:<br>
 ; CHECK-LABEL: lpad2:<br>
-; CHECK: landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0<br>
+; CHECK: landingpad { i8*, i32 }<br>
 ; CHECK-NEXT: cleanup<br>
 ; CHECK-NEXT: call void @fn()<br>
 ; CHECK-NEXT: ret void<br>
-  %exn2 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn2 = landingpad {i8*, i32}<br>
           cleanup<br>
   br label %shared_resume<br>
<br>
@@ -43,7 +43,7 @@ shared_resume:<br>
 }<br>
<br>
 ; Don't trigger if blocks aren't the same/empty<br>
-define void @neg1() {<br>
+define void @neg1() personality i32 (...)* @__gxx_personality_v0 {<br>
 ; CHECK-LABEL: @neg1<br>
 entry:<br>
 ; CHECK-LABEL: entry:<br>
@@ -61,13 +61,13 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad1:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
          filter [0 x i8*] zeroinitializer<br>
   call void @fn()<br>
   br label %shared_resume<br>
<br>
 lpad2:<br>
-  %exn2 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn2 = landingpad {i8*, i32}<br>
           cleanup<br>
   br label %shared_resume<br>
<br>
@@ -77,7 +77,7 @@ shared_resume:<br>
 }<br>
<br>
 ; Should not trigger when the landing pads are not the exact same<br>
-define void @neg2() {<br>
+define void @neg2() personality i32 (...)* @__gxx_personality_v0 {<br>
 ; CHECK-LABEL: @neg2<br>
 entry:<br>
 ; CHECK-LABEL: entry:<br>
@@ -95,12 +95,12 @@ invoke.cont:<br>
   ret void<br>
<br>
 lpad1:<br>
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn = landingpad {i8*, i32}<br>
          filter [0 x i8*] zeroinitializer<br>
   br label %shared_resume<br>
<br>
 lpad2:<br>
-  %exn2 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+  %exn2 = landingpad {i8*, i32}<br>
           cleanup<br>
   br label %shared_resume<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/SimplifyCFG/invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SimplifyCFG_invoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=fqMuG78cDj-b1FMZacyfMl84hmmbZmHnISUHiqj5Upg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SimplifyCFG/invoke.ll (original)<br>
+++ llvm/trunk/test/Transforms/SimplifyCFG/invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,7 +10,7 @@ declare i32 @fn()<br>
<br>
<br>
 ; CHECK-LABEL: @f1(<br>
-define i8* @f1() nounwind uwtable ssp {<br>
+define i8* @f1() nounwind uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; CHECK: call void @llvm.trap()<br>
 ; CHECK: unreachable<br>
@@ -21,7 +21,7 @@ invoke.cont:<br>
   ret i8* %call<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   tail call void @__cxa_call_unexpected(i8* %1) noreturn nounwind<br>
@@ -29,7 +29,7 @@ lpad:<br>
 }<br>
<br>
 ; CHECK-LABEL: @f2(<br>
-define i8* @f2() nounwind uwtable ssp {<br>
+define i8* @f2() nounwind uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; CHECK: call void @llvm.trap()<br>
 ; CHECK: unreachable<br>
@@ -40,7 +40,7 @@ invoke.cont:<br>
   ret i8* %call<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   tail call void @__cxa_call_unexpected(i8* %1) noreturn nounwind<br>
@@ -48,7 +48,7 @@ lpad:<br>
 }<br>
<br>
 ; CHECK-LABEL: @f3(<br>
-define i32 @f3() nounwind uwtable ssp {<br>
+define i32 @f3() nounwind uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 ; CHECK-NEXT: entry<br>
 entry:<br>
 ; CHECK-NEXT: ret i32 3<br>
@@ -59,7 +59,7 @@ invoke.cont:<br>
   ret i32 3<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   tail call void @__cxa_call_unexpected(i8* %1) noreturn nounwind<br>
@@ -67,7 +67,7 @@ lpad:<br>
 }<br>
<br>
 ; CHECK-LABEL: @f4(<br>
-define i32 @f4() nounwind uwtable ssp {<br>
+define i32 @f4() nounwind uwtable ssp personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 ; CHECK-NEXT: entry<br>
 entry:<br>
 ; CHECK-NEXT: call i32 @read_only()<br>
@@ -79,7 +79,7 @@ invoke.cont:<br>
   ret i32 %call<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   %1 = extractvalue { i8*, i32 } %0, 0<br>
   tail call void @__cxa_call_unexpected(i8* %1) noreturn nounwind<br>
@@ -87,7 +87,7 @@ lpad:<br>
 }<br>
<br>
 ; CHECK-LABEL: @f5(<br>
-define i32 @f5(i1 %cond, i8* %a, i8* %b) {<br>
+define i32 @f5(i1 %cond, i8* %a, i8* %b) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   br i1 %cond, label %x, label %y<br>
<br>
@@ -110,7 +110,7 @@ cont:<br>
 lpad:<br>
 ; CHECK-NOT: phi<br>
   %phi2 = phi i8* [%a, %x], [%b, %y]<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
 ; CHECK: __cxa_call_unexpected(i8* %a)<br>
   tail call void @__cxa_call_unexpected(i8* %phi2) noreturn nounwind<br>
@@ -118,7 +118,7 @@ lpad:<br>
 }<br>
<br>
 ; CHECK-LABEL: @f6(<br>
-define void @f6() {<br>
+define void @f6() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @purefn()<br>
           to label %invoke.cont1 unwind label %lpad<br>
@@ -133,7 +133,7 @@ invoke.cont2:<br>
 lpad:<br>
 ; CHECK-NOT: phi<br>
   %tmp = phi i8* [ null, %invoke.cont1 ], [ null, %entry ]<br>
-  landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  landingpad { i8*, i32 }<br>
           cleanup<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/SimplifyCFG/invoke_unwind.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SimplifyCFG_invoke-5Funwind.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=e6aZPRCfQUM21PKt2AtW0j27mlbBbmkEGOvAEyM6HG0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/invoke_unwind.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SimplifyCFG/invoke_unwind.ll (original)<br>
+++ llvm/trunk/test/Transforms/SimplifyCFG/invoke_unwind.ll Wed Jun 17 15:52:32 2015<br>
@@ -4,7 +4,7 @@ declare void @bar()<br>
<br>
 ; This testcase checks to see if the simplifycfg pass is converting invoke<br>
 ; instructions to call instructions if the handler just rethrows the exception.<br>
-define i32 @test1() {<br>
+define i32 @test1() personality i32 (...)* @__gxx_personality_v0 {<br>
 ; CHECK-LABEL: @test1(<br>
 ; CHECK-NEXT: call void @bar()<br>
 ; CHECK-NEXT: ret i32 0<br>
@@ -12,7 +12,7 @@ define i32 @test1() {<br>
                         to label %1 unwind label %Rethrow<br>
         ret i32 0<br>
 Rethrow:<br>
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0<br>
+        %exn = landingpad {i8*, i32}<br>
                  catch i8* null<br>
         resume { i8*, i32 } %exn<br>
 }<br>
<br>
Modified: llvm/trunk/test/Transforms/SimplifyCFG/seh-nounwind.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SimplifyCFG_seh-2Dnounwind.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=8Hl4eaOOlbw6ZQeE56joF5Ucm7vKZgBwBRn1uSpdcCo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/seh-nounwind.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SimplifyCFG/seh-nounwind.ll (original)<br>
+++ llvm/trunk/test/Transforms/SimplifyCFG/seh-nounwind.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,13 +10,13 @@ entry:<br>
   ret i32 %div<br>
 }<br>
<br>
-define i32 @main() nounwind {<br>
+define i32 @main() nounwind personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) {<br>
 entry:<br>
   %call = invoke i32 @div(i32 10, i32 0)<br>
           to label %__try.cont unwind label %lpad<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           catch i8* null<br>
   br label %__try.cont<br>
<br>
<br>
Modified: llvm/trunk/test/Transforms/SimplifyCFG/statepoint-invoke-unwind.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Transforms_SimplifyCFG_statepoint-2Dinvoke-2Dunwind.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=OuiWC7kdfaHbPQiI1PVB6RUXvL52OUSGx1spflUj5aA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/statepoint-invoke-unwind.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Transforms/SimplifyCFG/statepoint-invoke-unwind.ll (original)<br>
+++ llvm/trunk/test/Transforms/SimplifyCFG/statepoint-invoke-unwind.ll Wed Jun 17 15:52:32 2015<br>
@@ -6,7 +6,7 @@ declare i64 addrspace(1)* @gc_call()<br>
 declare i32 @llvm.experimental.gc.statepoint.p0f_p1i64f(i64, i32, i64 addrspace(1)* ()*, i32, i32, ...)<br>
 declare i32* @fake_personality_function()<br>
<br>
-define i32 @test() gc "statepoint-example" {<br>
+define i32 @test() gc "statepoint-example" personality i32* ()* @fake_personality_function {<br>
 ; CHECK-LABEL: test<br>
 entry:<br>
   ; CHECK-LABEL: entry:<br>
@@ -15,7 +15,7 @@ entry:<br>
                 to label %normal unwind label %exception<br>
<br>
 exception:<br>
-  %lpad = landingpad { i8*, i32 } personality i32* ()* @fake_personality_function<br>
+  %lpad = landingpad { i8*, i32 }<br>
           cleanup<br>
   ret i32 0<br>
<br>
<br>
Modified: llvm/trunk/test/Verifier/dominates.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Verifier_dominates.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=z6H3sarLUof9hMjOzi0xJTfvLmiHw1eFi_RwMnnve3Q&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Verifier/dominates.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Verifier/dominates.ll (original)<br>
+++ llvm/trunk/test/Verifier/dominates.ll Wed Jun 17 15:52:32 2015<br>
@@ -10,14 +10,14 @@ define i32 @f1(i32 %x) {<br>
 }<br>
<br>
 declare i32 @g()<br>
-define void @f2(i32 %x) {<br>
+define void @f2(i32 %x) personality i32 ()* @g {<br>
 bb0:<br>
   %y1 = invoke i32 @g() to label %bb1 unwind label %bb2<br>
 bb1:<br>
   ret void<br>
 bb2:<br>
   %y2 = phi i32 [%y1, %bb0]<br>
-  %y3 = landingpad i32 personality i32 ()* @g<br>
+  %y3 = landingpad i32<br>
           cleanup<br>
   ret void<br>
 ; CHECK: Instruction does not dominate all uses!<br>
@@ -26,13 +26,13 @@ bb2:<br>
 ; CHECK-NEXT:  %y2 = phi i32 [ %y1, %bb0 ]<br>
 }<br>
<br>
-define void @f3(i32 %x) {<br>
+define void @f3(i32 %x) personality i32 ()* @g {<br>
 bb0:<br>
   %y1 = invoke i32 @g() to label %bb1 unwind label %bb2<br>
 bb1:<br>
   ret void<br>
 bb2:<br>
-  %y2 = landingpad i32 personality i32 ()* @g<br>
+  %y2 = landingpad i32<br>
           cleanup<br>
   br label %bb3<br>
 bb3:<br>
<br>
Modified: llvm/trunk/test/Verifier/invoke.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Verifier_invoke.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=1kFPL6Y0bXee4LivKBfJthCX9DKZENZhr4XHeEJQdCU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Verifier/invoke.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Verifier/invoke.ll (original)<br>
+++ llvm/trunk/test/Verifier/invoke.ll Wed Jun 17 15:52:32 2015<br>
@@ -29,7 +29,7 @@ declare void @llvm.trap()<br>
 declare i8 @llvm.expect.i8(i8,i8)<br>
 declare i32 @fn(i8 (i8, i8)*)<br>
<br>
-define void @f1() {<br>
+define void @f1() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; OK<br>
   invoke void @llvm.donothing()<br>
@@ -39,12 +39,12 @@ conta:<br>
   ret void<br>
<br>
 contb:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   ret void<br>
 }<br>
<br>
-define i8 @f2() {<br>
+define i8 @f2() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
 ; CHECK: Cannot invoke an intrinsinc other than donothing or patchpoint<br>
   invoke void @llvm.trap()<br>
@@ -54,7 +54,7 @@ cont:<br>
   ret i8 3<br>
<br>
 lpad:<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   ret i8 2<br>
 }<br>
@@ -66,14 +66,14 @@ entry:<br>
   ret i32 %call<br>
 }<br>
<br>
-define void @f4() {<br>
+define void @f4() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   invoke void @llvm.donothing()<br>
   to label %cont unwind label %cont<br>
<br>
 cont:<br>
 ; CHECK: Block containing LandingPadInst must be jumped to only by the unwind edge of an invoke.<br>
-  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %0 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/Verifier/range-2.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Verifier_range-2D2.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=KtAmpbYfHauspxbtFXEI4ug-nM89GQcLnVJLgDgCw_w&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Verifier/range-2.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Verifier/range-2.ll (original)<br>
+++ llvm/trunk/test/Verifier/range-2.ll Wed Jun 17 15:52:32 2015<br>
@@ -47,7 +47,7 @@ entry:<br>
 }<br>
<br>
 ; We can annotate the range of the return value of an INVOKE.<br>
-define void @invoke_all(i8* %x) {<br>
+define void @invoke_all(i8* %x) personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {<br>
 entry:<br>
   %v1 = invoke i8 @f1(i8* %x) to label %cont unwind label %lpad, !range !0<br>
   %v2 = invoke i8 @f2(i8* %x) to label %cont unwind label %lpad, !range !1<br>
@@ -59,7 +59,7 @@ cont:<br>
   ret void<br>
<br>
 lpad:<br>
-  %4 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)<br>
+  %4 = landingpad { i8*, i32 }<br>
           filter [0 x i8*] zeroinitializer<br>
   ret void<br>
 }<br>
<br>
Modified: llvm/trunk/test/Verifier/statepoint.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_Verifier_statepoint.ll-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=wXESjMuympz0TUqnoNpO7pFVgV4I9njx96P8DoFyllA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Verifier/statepoint.ll?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/Verifier/statepoint.ll (original)<br>
+++ llvm/trunk/test/Verifier/statepoint.ll Wed Jun 17 15:52:32 2015<br>
@@ -52,7 +52,7 @@ equal:<br>
 }<br>
<br>
 ; Basic test for invoke statepoints<br>
-define i8 addrspace(1)* @test3(i8 addrspace(1)* %obj, i8 addrspace(1)* %obj1) gc "statepoint-example" {<br>
+define i8 addrspace(1)* @test3(i8 addrspace(1)* %obj, i8 addrspace(1)* %obj1) gc "statepoint-example" personality i32 ()* @"personality_function" {<br>
 ; CHECK-LABEL: test3<br>
 entry:<br>
   ; CHECK-LABEL: entry<br>
@@ -73,7 +73,7 @@ exceptional_return:<br>
   ; CHECK-LABEL: exceptional_return<br>
   ; CHECK: gc.relocate<br>
   ; CHECK: gc.relocate<br>
-  %landing_pad = landingpad { i8*, i32 } personality i32 ()* @"personality_function"<br>
+  %landing_pad = landingpad { i8*, i32 }<br>
           cleanup<br>
   %relocate_token = extractvalue { i8*, i32 } %landing_pad, 1<br>
   %obj.relocated1 = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(i32 %relocate_token, i32 12, i32 12)<br>
<br>
Modified: llvm/trunk/tools/verify-uselistorder/verify-uselistorder.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_tools_verify-2Duselistorder_verify-2Duselistorder.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=8eTaU9RhpnNcXTCt1ja3MvFuHhPvkXf_R8EiuVsPmS8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/verify-uselistorder/verify-uselistorder.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/tools/verify-uselistorder/verify-uselistorder.cpp (original)<br>
+++ llvm/trunk/tools/verify-uselistorder/verify-uselistorder.cpp Wed Jun 17 15:52:32 2015<br>
@@ -205,6 +205,8 @@ ValueMapping::ValueMapping(const Module<br>
       map(F.getPrefixData());<br>
     if (F.hasPrologueData())<br>
       map(F.getPrologueData());<br>
+    if (F.hasPersonalityFn())<br>
+      map(F.getPersonalityFn());<br>
   }<br>
<br>
   // Function bodies.<br>
@@ -474,6 +476,8 @@ static void changeUseLists(Module &M, Ch<br>
       changeValueUseList(F.getPrefixData());<br>
     if (F.hasPrologueData())<br>
       changeValueUseList(F.getPrologueData());<br>
+    if (F.hasPersonalityFn())<br>
+      changeValueUseList(F.getPersonalityFn());<br>
   }<br>
<br>
   // Function bodies.<br>
<br>
Modified: llvm/trunk/unittests/IR/DominatorTreeTest.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_unittests_IR_DominatorTreeTest.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=W3zx79ilzfJLz-jtR59VDgPGcSpqjC1vDDjxcvRTzuo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/DominatorTreeTest.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/unittests/IR/DominatorTreeTest.cpp (original)<br>
+++ llvm/trunk/unittests/IR/DominatorTreeTest.cpp Wed Jun 17 15:52:32 2015<br>
@@ -217,7 +217,7 @@ namespace llvm {<br>
     std::unique_ptr<Module> makeLLVMModule(DPass *P) {<br>
       const char *ModuleStrig =<br>
         "declare i32 @g()\n" \<br>
-        "define void @f(i32 %x) {\n" \<br>
+        "define void @f(i32 %x) personality i32 ()* @g {\n" \<br>
         "bb0:\n" \<br>
         "  %y1 = add i32 %x, 1\n" \<br>
         "  %y2 = add i32 %x, 1\n" \<br>
@@ -226,7 +226,7 @@ namespace llvm {<br>
         "  %y4 = add i32 %x, 1\n" \<br>
         "  br label %bb4\n" \<br>
         "bb2:\n" \<br>
-        "  %y5 = landingpad i32 personality i32 ()* @g\n" \<br>
+        "  %y5 = landingpad i32\n" \<br>
         "          cleanup\n" \<br>
         "  br label %bb4\n" \<br>
         "bb3:\n" \<br>
<br>
Modified: llvm/trunk/unittests/IR/IRBuilderTest.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_unittests_IR_IRBuilderTest.cpp-3Frev-3D239940-26r1-3D239939-26r2-3D239940-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=CHzf7pbHEjouBH4vvWO13qSWzLl9bqDSp9y7RlETa4g&s=0WhM1I2Pm98z3mg286NMDvh9q6FVhg39rHddpt4bt2c&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/IRBuilderTest.cpp?rev=239940&r1=239939&r2=239940&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/unittests/IR/IRBuilderTest.cpp (original)<br>
+++ llvm/trunk/unittests/IR/IRBuilderTest.cpp Wed Jun 17 15:52:32 2015<br>
@@ -104,8 +104,7 @@ TEST_F(IRBuilderTest, CreateCondBr) {<br>
<br>
 TEST_F(IRBuilderTest, LandingPadName) {<br>
   IRBuilder<> Builder(BB);<br>
-  LandingPadInst *LP = Builder.CreateLandingPad(Builder.getInt32Ty(),<br>
-                                                Builder.getInt32(0), 0, "LP");<br>
+  LandingPadInst *LP = Builder.CreateLandingPad(Builder.getInt32Ty(), 0, "LP");<br>
   EXPECT_EQ(LP->getName(), "LP");<br>
 }<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>