"Lookup" is a noun ("lookup table"), "look up" is a verb ("look up
'table' in the dictionary").
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
If you feel strongly about this then go ahead, though if you're renaming this better to rename it lookUpAnalysis.
if you're renaming this better to rename it lookUpAnalysis.
I left it as "lookUpPass" because a lot of the analysis code talks about "passes", or sometimes "analysis passes".
Should we excise mentions of "pass" from the analysis parts? I can write that patch if you think it's the terminology we want to adopt.
Check with Chandler, but "pass" is really an old-PM concept. The new-PM has analyses and transformations. Sure, we can call them "analysis passes" and "transformation passes" but then what does "pass" by itself mean? It doesn't mean anything. In fact, the only thing that I can think of which is shared between analyses and transformations is PassInfoMixin but it feels incidental; it's just a mixin for adding a name method to get the class name and there are currently no transformation-specific things needed in that mixin so it gets reused for analyses.