[PATCH] D28627: [PM] Introduce an analysis set used to preserve all analyses over a function's CFG when that CFG is unchanged.

Sean Silva via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 14 20:03:30 PST 2017


silvas added a comment.

I couldn't come up with a good name for this either. I described a design in my log here: https://docs.google.com/document/d/1-nrq2y_hTiZhrsJDmH8TzFjFEeApfccs6wwGyaXjSkg/edit#heading=h.ut7bc0x07mmh

There the naming in my sketch there was super crazy verbose. E.g. the analysis key object for each "set" would be called AnalysesThatOnlyDependOnTheCFG and I guess what I was thinking was to have a convention of accessing the raw keys through simple wrapper functions called invalidateMeIfIAmAnAnalysisThat... (which allowed for sets to easily "inherit" from each other; I didn't record any really compelling use case for this so I'm not sure what the value is).


https://reviews.llvm.org/D28627





More information about the llvm-commits mailing list