From e3a89f9f9c68f6ec376e081365592f607f517bfd Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 13 Sep 2010 18:27:59 +0000 Subject: Remove unused variable. llvm-svn: 113769 --- llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp') diff --git a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp index 8c3f574b4ce..02282820fc9 100644 --- a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp +++ b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp @@ -736,7 +736,6 @@ bool CodeGenPrepare::OptimizeMemoryInst(Instruction *MemoryInst, Value *Addr, bool CodeGenPrepare::OptimizeInlineAsmInst(Instruction *I, CallSite CS, DenseMap &SunkAddrs) { bool MadeChange = false; - InlineAsm *IA = cast(CS.getCalledValue()); std::vector TargetConstraints = TLI->ParseConstraints(CS); for (unsigned i = 0, e = TargetConstraints.size(); i != e; ++i) { -- cgit v1.2.3