From: Hans Wennborg Date: Wed, 5 Mar 2014 03:21:23 +0000 (+0000) Subject: Fix unused variable in FunctionLoweringInfo.cpp X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a9b2552fd97acc5720799aab824f326fa85e62bb;p=oota-llvm.git Fix unused variable in FunctionLoweringInfo.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202932 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index 3c24f95039b..b47d0570878 100644 --- a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp +++ b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp @@ -118,7 +118,7 @@ void FunctionLoweringInfo::set(const Function &fn, MachineFunction &mf, // Look for inline asm that clobbers the SP register. if (isa(I) || isa(I)) { ImmutableCallSite CS(I); - if (const InlineAsm *IA = dyn_cast(CS.getCalledValue())) { + if (isa(CS.getCalledValue())) { unsigned SP = TLI->getStackPointerRegisterToSaveRestore(); std::vector Ops = TLI->ParseConstraints(CS);