[llvm] r303439 - [NFC][loopIdiom] Clang format change rL303434
Anna Thomas via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 11:00:30 PDT 2017
Author: annat
Date: Fri May 19 13:00:30 2017
New Revision: 303439
URL: http://llvm.org/viewvc/llvm-project?rev=303439&view=rev
Log:
[NFC][loopIdiom] Clang format change rL303434
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp?rev=303439&r1=303438&r2=303439&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp Fri May 19 13:00:30 2017
@@ -112,11 +112,12 @@ private:
bool HasMemcpy;
/// Return code for isLegalStore()
enum LegalStoreKind {
- None=0,
+ None = 0,
Memset,
MemsetPattern,
Memcpy,
- DontUse // Dummy retval never to be used. Allows catching errors in retval handling.
+ DontUse // Dummy retval never to be used. Allows catching errors in retval
+ // handling.
};
/// \name Countable Loop Idiom Handling
@@ -350,7 +351,8 @@ static Constant *getMemSetPatternValue(V
return ConstantArray::get(AT, std::vector<Constant *>(ArraySize, C));
}
-LoopIdiomRecognize::LegalStoreKind LoopIdiomRecognize::isLegalStore(StoreInst *SI) {
+LoopIdiomRecognize::LegalStoreKind
+LoopIdiomRecognize::isLegalStore(StoreInst *SI) {
// Don't touch volatile stores.
if (!SI->isSimple())
return LegalStoreKind::None;
More information about the llvm-commits
mailing list