[GlobalOpt] Address post-commit review comments on r253168
authorJames Molloy <james.molloy@arm.com>
Mon, 16 Nov 2015 10:16:22 +0000 (10:16 +0000)
committerJames Molloy <james.molloy@arm.com>
Mon, 16 Nov 2015 10:16:22 +0000 (10:16 +0000)
commit8b4675ffaa2ed4ea5dbb1add12e9f580409ebb61
tree5d1f71b19ae5c71dc7bd0aad3095205d97a7e1f8
parenta147660147bb4f60cdf7a05218b212196ecc278e
[GlobalOpt] Address post-commit review comments on r253168

Address Duncan Exon Smith's comments on D14148, which was added after the patch had been LGTM'd and committed:
  * clang-format one area where whitespace diffs occurred.
  * Add a threshold to limit the store/load dominance checks as they are quadratic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253192 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp