[PATCH] D119102: NFC formating

Pravin Jagtap via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 6 20:26:44 PST 2022


pravinjagtap created this revision.
pravinjagtap added a reviewer: sameerds.
Herald added subscribers: ormris, hiraditya.
pravinjagtap requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119102

Files:
  llvm/lib/Transforms/IPO/ArgumentPromotion.cpp


Index: llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
===================================================================
--- llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
+++ llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
@@ -198,7 +198,7 @@
         OriginalLoads[std::make_pair(&*I, Indices)] = OrigLoad;
         // Preserve inbounds information of GEP so that it can be used in callers of current function
         const GEPOperator *GEPOp = dyn_cast_or_null<GEPOperator>(UI);
-        if(GEPOp){
+        if(GEPOp) {
           // Indices are unique in GEP since all the dead GEPs are already removed
           IsArgGepInBound[std::make_pair(&*I, Indices)] = GEPOp->isInBounds();
         }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119102.406317.patch
Type: text/x-patch
Size: 696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220207/61c3c68a/attachment.bin>


More information about the llvm-commits mailing list