| commit | 49a7d6c473f0fdd7d7a9356b83524ec2e95ec1e5 | [log] [tgz] |
|---|---|---|
| author | Eric Christopher <echristo@gmail.com> | Mon Jan 04 23:18:58 2016 +0000 |
| committer | Eric Christopher <echristo@gmail.com> | Mon Jan 04 23:18:58 2016 +0000 |
| tree | cd6c3629b5d24d76a0a8ffb6d928097e08c44208 | |
| parent | b33f3a239a073c2c6c17b1e9f285069fd6227dd5 [diff] |
Clarify that the bypassSlowDivision optimization operates on a single BB [v2] Update some comments to be more explicit. Change bypassSlowDivision and the functions it calls so that they take BasicBlock*s and Instruction*s, rather than Function::iterator&s and BasicBlock::iterator&s. Change the APIs so that the caller is responsible for updating the iterator, rather than the callee. This makes control flow much easier to follow. Patch by Justin Lebar! llvm-svn: 256789