projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f471c8
)
Fix unused variable in FunctionLoweringInfo.cpp
author
Hans Wennborg
<hans@hanshq.net>
Wed, 5 Mar 2014 03:21:23 +0000
(
03:21
+0000)
committer
Hans Wennborg
<hans@hanshq.net>
Wed, 5 Mar 2014 03:21:23 +0000
(
03:21
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202932
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
index 3c24f95039bbcb4d40a41210d1d28a7466e7e27e..b47d05708785e6ce96faef56ee0cec945815c934 100644
(file)
--- 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);