Remove unused variable.
authorEric Christopher <echristo@apple.com>
Mon, 13 Sep 2010 18:27:59 +0000 (18:27 +0000)
committerEric Christopher <echristo@apple.com>
Mon, 13 Sep 2010 18:27:59 +0000 (18:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113769 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/CodeGenPrepare.cpp

index 8c3f574b4ceb54d31a6cc70cdd7a338b37702d0d..02282820fc9b7482e43a25da3debea3e33c304cf 100644 (file)
@@ -736,7 +736,6 @@ bool CodeGenPrepare::OptimizeMemoryInst(Instruction *MemoryInst, Value *Addr,
 bool CodeGenPrepare::OptimizeInlineAsmInst(Instruction *I, CallSite CS,
                                            DenseMap<Value*,Value*> &SunkAddrs) {
   bool MadeChange = false;
-  InlineAsm *IA = cast<InlineAsm>(CS.getCalledValue());
 
   std::vector<TargetLowering::AsmOperandInfo> TargetConstraints = TLI->ParseConstraints(CS);
   for (unsigned i = 0, e = TargetConstraints.size(); i != e; ++i) {