[cfe-commits] [llvm-commits] Reduce exception handling use in TableGen
Jakob Stoklund Olesen
stoklund at 2pi.dk
Thu Oct 25 13:20:25 PDT 2012
On Oct 25, 2012, at 11:40 AM, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
> Hi all,
> this is the second version of the patch. A small part already went into
> the tree (PrintFatalError and the clang changes, except
> The one really nasty part of this change is CodeGenDAGPattern.cpp. I've
> changed the TreePattern code to provide a sticky marker. The first error
> hit during the resolution process is printed and it tries to bail out
> from that. I am not completely sure if the current logic is aggressive
> enough or whether hasError() checks are needed in a few more cases.
> Since this only matters for at least somewhat broken specifications, it
> shouldn't be a problem to add more checks as needed.
More information about the cfe-commits