diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-03-05 03:21:23 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-03-05 03:21:23 +0000 |
commit | a9b2552fd97acc5720799aab824f326fa85e62bb (patch) | |
tree | 5a3c9f28505339aef16e9c212c596245d97cc000 /lib | |
parent | 2f471c83a0bb19806053e2d784a97f153fbb8771 (diff) | |
download | llvm-a9b2552fd97acc5720799aab824f326fa85e62bb.tar.gz llvm-a9b2552fd97acc5720799aab824f326fa85e62bb.tar.bz2 llvm-a9b2552fd97acc5720799aab824f326fa85e62bb.tar.xz |
Fix unused variable in FunctionLoweringInfo.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index 3c24f95039..b47d057087 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<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); |