diff options
author | Evan Cheng <evan.cheng@apple.com> | 2012-09-14 21:25:34 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2012-09-14 21:25:34 +0000 |
commit | 911908dcb820848056a8c23fe762af37ab857779 (patch) | |
tree | 2d6096cfbe19c96d8eb5ffb0b9a355fa4aa1a2b7 /lib/Transforms/Scalar/CodeGenPrepare.cpp | |
parent | 1ef65d61d11a9ac038de13e8accdebb7e731d876 (diff) | |
download | llvm-911908dcb820848056a8c23fe762af37ab857779.tar.gz llvm-911908dcb820848056a8c23fe762af37ab857779.tar.bz2 llvm-911908dcb820848056a8c23fe762af37ab857779.tar.xz |
Stylistic and 80-col fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/CodeGenPrepare.cpp')
-rw-r--r-- | lib/Transforms/Scalar/CodeGenPrepare.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/Transforms/Scalar/CodeGenPrepare.cpp b/lib/Transforms/Scalar/CodeGenPrepare.cpp index e97b90f8ff..65249153bd 100644 --- a/lib/Transforms/Scalar/CodeGenPrepare.cpp +++ b/lib/Transforms/Scalar/CodeGenPrepare.cpp @@ -152,13 +152,9 @@ bool CodeGenPrepare::runOnFunction(Function &F) { /// This optimization identifies DIV instructions that can be /// profitably bypassed and carried out with a shorter, faster divide. if (TLI && TLI->isSlowDivBypassed()) { - const DenseMap<Type *, Type *> &BypassTypeMap = TLI->getBypassSlowDivTypes(); - - for (Function::iterator I = F.begin(); I != F.end(); I++) { - EverMadeChange |= bypassSlowDivision(F, - I, - BypassTypeMap); - } + const DenseMap<Type*, Type*> &BypassTypeMap = TLI->getBypassSlowDivTypes(); + for (Function::iterator I = F.begin(); I != F.end(); I++) + EverMadeChange |= bypassSlowDivision(F, I, BypassTypeMap); } // Eliminate blocks that contain only PHI nodes and an |