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 | 0c72fd2b4eafafbff124ed38b9f29ae8efd44d97 (patch) | |
tree | 18a61d048b521cb21b966019f926915c35385ab8 /llvm/lib/CodeGen/SelectionDAG | |
parent | 4703f763766f173bf046c5504db5c299bde7cc0b (diff) | |
download | bcm5719-llvm-0c72fd2b4eafafbff124ed38b9f29ae8efd44d97.tar.gz bcm5719-llvm-0c72fd2b4eafafbff124ed38b9f29ae8efd44d97.zip |
Fix unused variable in FunctionLoweringInfo.cpp
llvm-svn: 202932
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index 3c24f95039b..b47d0570878 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp +++ b/llvm/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); |