From 51597914293ac0080f984efcca0e702cff35605f Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Sat, 16 Mar 2019 14:06:56 +0000 Subject: Add support to assign debug instructions to optimised code --- lib/Module/IntrinsicCleaner.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/Module/IntrinsicCleaner.cpp') diff --git a/lib/Module/IntrinsicCleaner.cpp b/lib/Module/IntrinsicCleaner.cpp index b757faa1..cb006799 100644 --- a/lib/Module/IntrinsicCleaner.cpp +++ b/lib/Module/IntrinsicCleaner.cpp @@ -199,16 +199,6 @@ bool IntrinsicCleanerPass::runOnBasicBlock(BasicBlock &b, Module &M) { break; } - case Intrinsic::dbg_value: - case Intrinsic::dbg_declare: { - // // Remove these regardless of lower intrinsics flag. This can - // // be removed once IntrinsicLowering is fixed to not have bad - // // caches. - // ii->eraseFromParent(); - // dirty = true; - break; - } - case Intrinsic::trap: { // Intrinsic instruction "llvm.trap" found. Directly lower it to // a call of the abort() function. -- cgit 1.4.1