[llvm] r202932 - Fix unused variable in FunctionLoweringInfo.cpp

Hans Wennborg hans at hanshq.net
Tue Mar 4 19:21:23 PST 2014


Author: hans
Date: Tue Mar  4 21:21:23 2014
New Revision: 202932

URL: http://llvm.org/viewvc/llvm-project?rev=202932&view=rev
Log:
Fix unused variable in FunctionLoweringInfo.cpp

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp?rev=202932&r1=202931&r2=202932&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp Tue Mar  4 21:21:23 2014
@@ -118,7 +118,7 @@ void FunctionLoweringInfo::set(const Fun
       // Look for inline asm that clobbers the SP register.
       if (isa<CallInst>(I) || isa<InvokeInst>(I)) {
         ImmutableCallSite CS(I);
-        if (const InlineAsm *IA = dyn_cast<InlineAsm>(CS.getCalledValue())) {
+        if (isa<InlineAsm>(CS.getCalledValue())) {
           unsigned SP = TLI->getStackPointerRegisterToSaveRestore();
           std::vector<TargetLowering::AsmOperandInfo> Ops =
             TLI->ParseConstraints(CS);





More information about the llvm-commits mailing list