From: Eric Christopher Date: Mon, 13 Sep 2010 18:27:59 +0000 (+0000) Subject: Remove unused variable. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=330444e52b1c0eea3c897606125babbea2b3cd59;p=oota-llvm.git Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113769 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/CodeGenPrepare.cpp b/lib/Transforms/Scalar/CodeGenPrepare.cpp index 8c3f574b4ce..02282820fc9 100644 --- a/lib/Transforms/Scalar/CodeGenPrepare.cpp +++ b/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) {