[SDAG,cleanup] Switch the DAG combiner over to use the spelling
authorChandler Carruth <chandlerc@gmail.com>
Mon, 21 Jul 2014 08:56:44 +0000 (08:56 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 21 Jul 2014 08:56:44 +0000 (08:56 +0000)
commitd4cde8670c46060ff2222fe0f05cb5ef062fff67
tree046e9cc32bc58e8cef11096a36b9c90ae08a0e8a
parent0c991ec57a12e3196b934d9b46b8b5ec69ac645c
[SDAG,cleanup] Switch the DAG combiner over to use the spelling
'Worklist' consistently rather than a deeply confusing mixture of
'WorkList' and 'Worklist'.

Notably, the very 'WorkList' of the DAG combiner was exposed to target
specific DAG combines under an interface 'AddToWorklist' which was
implemented by in turn calling 'AddToWorkList' in the combiner. This has
sent me circling with the wrong case in grep one too many times.

I chose to normalize on 'Worklist' because that one won the grep-vote
for llvm/lib/... by a hundered hits or so, and it is used in places
relatively "canonical" such as InstCombine's Worklist. Let's all jsut
pick this casing, whether "correct", "good", or "bad" and be
consistent...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213506 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp