projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
PPCLoopPreIncPrep.cpp
diff --git
a/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
b/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
index 1891b6315c51efc64d3ab40c7e0bbb384100dead..b6e7799402e19b060afd9f9c802c0e74dbeaf9d9 100644
(file)
--- a/
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
+++ b/
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
@@
-87,7
+87,7
@@
namespace {
LoopInfo *LI;
ScalarEvolution *SE;
};
LoopInfo *LI;
ScalarEvolution *SE;
};
-}
// namespace
+}
char PPCLoopPreIncPrep::ID = 0;
static const char *name = "Prepare loop for pre-inc. addressing modes";
char PPCLoopPreIncPrep::ID = 0;
static const char *name = "Prepare loop for pre-inc. addressing modes";
@@
-113,7
+113,7
@@
namespace {
protected:
ScalarEvolution *SE;
};
protected:
ScalarEvolution *SE;
};
-}
// namespace
+}
static bool IsPtrInBounds(Value *BasePtr) {
Value *StrippedBasePtr = BasePtr;
static bool IsPtrInBounds(Value *BasePtr) {
Value *StrippedBasePtr = BasePtr;