[llvm] 10020d4 - [TypePromotion] Remove unused IRBuilder object. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 20 12:20:23 PDT 2021


Author: Craig Topper
Date: 2021-08-20T12:20:09-07:00
New Revision: 10020d41eefada835517ccd0a0c418609bfbd2a9

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

LOG: [TypePromotion] Remove unused IRBuilder object. NFC

Added: 
    

Modified: 
    llvm/lib/CodeGen/TypePromotion.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/TypePromotion.cpp b/llvm/lib/CodeGen/TypePromotion.cpp
index a15da3b02d27..29a74d3f20fe 100644
--- a/llvm/lib/CodeGen/TypePromotion.cpp
+++ b/llvm/lib/CodeGen/TypePromotion.cpp
@@ -509,8 +509,6 @@ void IRPromoter::ExtendSources() {
 void IRPromoter::PromoteTree() {
   LLVM_DEBUG(dbgs() << "IR Promotion: Mutating the tree..\n");
 
-  IRBuilder<> Builder{Ctx};
-
   // Mutate the types of the instructions within the tree. Here we handle
   // constant operands.
   for (auto *V : Visited) {


        


More information about the llvm-commits mailing list