[llvm] 2a29617 - [DFSan] Remove unused IRBuilder. NFC

Matt Morehouse via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 16:27:41 PST 2020


Author: Matt Morehouse
Date: 2020-02-27T16:27:20-08:00
New Revision: 2a29617b9d15c79fba594c1175f7d10ed1731c98

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

LOG: [DFSan] Remove unused IRBuilder. NFC

Reviewers: pcc, vitalybuka, kcc

Reviewed By: kcc

Subscribers: hiraditya, llvm-commits, kcc

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75190

Added: 
    

Modified: 
    llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
index 388a7d44d031..c77cb4edc837 100644
--- a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
@@ -1316,7 +1316,6 @@ void DFSanVisitor::visitLoadInst(LoadInst &LI) {
   } else {
     Align = 1;
   }
-  IRBuilder<> IRB(&LI);
   Value *Shadow = DFSF.loadShadow(LI.getPointerOperand(), Size, Align, &LI);
   if (ClCombinePointerLabelsOnLoad) {
     Value *PtrShadow = DFSF.getShadow(LI.getPointerOperand());


        


More information about the llvm-commits mailing list