diff options
author | Andrew Trick <atrick@apple.com> | 2011-09-20 03:06:13 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-09-20 03:06:13 +0000 |
commit | 3af7a67629292840f0dbae8fad4e333b009e69dd (patch) | |
tree | b16081f8cdcc9c8b5a78b437ff6951d3846009ea /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | a54b3ac96e0c81da92f43e6b659a68a151718011 (diff) | |
download | external_llvm-3af7a67629292840f0dbae8fad4e333b009e69dd.zip external_llvm-3af7a67629292840f0dbae8fad4e333b009e69dd.tar.gz external_llvm-3af7a67629292840f0dbae8fad4e333b009e69dd.tar.bz2 |
whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 7a3ea86..b684619 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -752,7 +752,7 @@ bool SelectionDAGISel::TryToFoldFastISelLoad(const LoadInst *LI, // isn't one of the folded instructions, then we can't succeed here. Handle // this by scanning the single-use users of the load until we get to FoldInst. unsigned MaxUsers = 6; // Don't scan down huge single-use chains of instrs. - + const Instruction *TheUser = LI->use_back(); while (TheUser != FoldInst && // Scan up until we find FoldInst. // Stay in the right block. @@ -761,15 +761,15 @@ bool SelectionDAGISel::TryToFoldFastISelLoad(const LoadInst *LI, // If there are multiple or no uses of this instruction, then bail out. if (!TheUser->hasOneUse()) return false; - + TheUser = TheUser->use_back(); } - + // If we didn't find the fold instruction, then we failed to collapse the // sequence. if (TheUser != FoldInst) return false; - + // Don't try to fold volatile loads. Target has to deal with alignment // constraints. if (LI->isVolatile()) return false; |