[llvm] r337711 - [ARM] Follow-up to r337709.
Matt Morehouse via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 23 10:22:53 PDT 2018
Author: morehouse
Date: Mon Jul 23 10:22:53 2018
New Revision: 337711
URL: http://llvm.org/viewvc/llvm-project?rev=337711&view=rev
Log:
[ARM] Follow-up to r337709.
Fix double-free.
Modified:
llvm/trunk/lib/Target/ARM/ARMCodeGenPrepare.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMCodeGenPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMCodeGenPrepare.cpp?rev=337711&r1=337710&r2=337711&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMCodeGenPrepare.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMCodeGenPrepare.cpp Mon Jul 23 10:22:53 2018
@@ -98,8 +98,6 @@ public:
ARMCodeGenPrepare() : FunctionPass(ID) {}
- ~ARMCodeGenPrepare() { delete Promoter; }
-
void getAnalysisUsage(AnalysisUsage &AU) const override {
AU.addRequired<TargetPassConfig>();
}
More information about the llvm-commits
mailing list