[llvm] 76e8c18 - Break long line accidentally left in the previous commit

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 10:25:04 PDT 2020


Author: Krzysztof Parzyszek
Date: 2020-09-23T12:24:45-05:00
New Revision: 76e8c1899e7c9f9462ba08387472899d7de965af

URL: https://github.com/llvm/llvm-project/commit/76e8c1899e7c9f9462ba08387472899d7de965af
DIFF: https://github.com/llvm/llvm-project/commit/76e8c1899e7c9f9462ba08387472899d7de965af.diff

LOG: Break long line accidentally left in the previous commit

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/EarlyCSE.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/EarlyCSE.cpp b/llvm/lib/Transforms/Scalar/EarlyCSE.cpp
index 262d636fe01d..9424ff5a169f 100644
--- a/llvm/lib/Transforms/Scalar/EarlyCSE.cpp
+++ b/llvm/lib/Transforms/Scalar/EarlyCSE.cpp
@@ -1127,7 +1127,9 @@ Value *EarlyCSE::getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst,
 
   // For stores check the result values before checking memory generation
   // (otherwise isSameMemGeneration may crash).
-  Value *Result = MemInst.isStore() ? getOrCreateResult(Matching, Other->getType()) : nullptr;
+  Value *Result = MemInst.isStore()
+                      ? getOrCreateResult(Matching, Other->getType())
+                      : nullptr;
   if (MemInst.isStore() && InVal.DefInst != Result)
     return nullptr;
 


        


More information about the llvm-commits mailing list