diff options
author | Duncan Sands <baldrick@free.fr> | 2011-09-30 13:12:16 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-09-30 13:12:16 +0000 |
commit | 5c05579f945b877c8a99db4ddacf1cf4270e95fa (patch) | |
tree | 1a889a48d3a262e3637d6d76115b529f570b9434 /llvm/lib/Support/StringRef.cpp | |
parent | 52cac090c40e90a74ac9556f1b27acceca897ab2 (diff) | |
download | llvm-5c05579f945b877c8a99db4ddacf1cf4270e95fa.zip llvm-5c05579f945b877c8a99db4ddacf1cf4270e95fa.tar.gz llvm-5c05579f945b877c8a99db4ddacf1cf4270e95fa.tar.bz2 |
Inlining often produces landingpad instructions with repeated
catch or repeated filter clauses. Teach instcombine a bunch
of tricks for simplifying landingpad clauses. Currently the
code only recognizes the GNU C++ and Ada personality functions,
but that doesn't stop it doing a bunch of "generic" transforms
which are hopefully fine for any real-world personality function.
If these "generic" transforms turn out not to be generic, they
can always be conditioned on the personality function. Probably
someone should add the ObjC++ personality function. I didn't as
I don't know anything about it.
llvm-svn: 140852
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions