[llvm] b43bb33 - [NFC] Removing leftover debug code

Fady Ghanim via llvm-commits llvm-commits at lists.llvm.org
Sun May 23 16:14:03 PDT 2021


Author: Fady Ghanim
Date: 2021-05-23T19:13:33-04:00
New Revision: b43bb33eb52298ff15a74b70da3014498f37429e

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

LOG: [NFC] Removing leftover debug code

Removing a missed value::dump() used to debug during development of
OMPBuilder atomic.

Added: 
    

Modified: 
    llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp b/llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
index 8dec37d9668b..e192164f58cb 100644
--- a/llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+++ b/llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
@@ -2371,9 +2371,7 @@ OpenMPIRBuilder::createAtomicWrite(const LocationDescription &Loc,
         X.Var, IntCastTy->getPointerTo(Addrspace), "atomic.dst.int.cast");
     Value *ExprCast =
         Builder.CreateBitCast(Expr, IntCastTy, "atomic.src.int.cast");
-    Builder.GetInsertBlock()->getParent()->dump();
     StoreInst *XSt = Builder.CreateStore(ExprCast, XBCast, X.IsVolatile);
-    Builder.GetInsertBlock()->dump();
     XSt->setAtomic(AO);
   }
 


        


More information about the llvm-commits mailing list