summaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-09-13 18:27:59 +0000
committerEric Christopher <echristo@apple.com>2010-09-13 18:27:59 +0000
commit330444e52b1c0eea3c897606125babbea2b3cd59 (patch)
tree3e59feae6879931e7df3a4e5afadf7084c87c497 /lib/Transforms
parentfc16a8950c671b9434e60702ba31224c39ee133f (diff)
downloadllvm-330444e52b1c0eea3c897606125babbea2b3cd59.tar.gz
llvm-330444e52b1c0eea3c897606125babbea2b3cd59.tar.bz2
llvm-330444e52b1c0eea3c897606125babbea2b3cd59.tar.xz
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/CodeGenPrepare.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/CodeGenPrepare.cpp b/lib/Transforms/Scalar/CodeGenPrepare.cpp
index 8c3f574b4c..02282820fc 100644
--- a/lib/Transforms/Scalar/CodeGenPrepare.cpp
+++ b/lib/Transforms/Scalar/CodeGenPrepare.cpp
@@ -736,7 +736,6 @@ bool CodeGenPrepare::OptimizeMemoryInst(Instruction *MemoryInst, Value *Addr,
bool CodeGenPrepare::OptimizeInlineAsmInst(Instruction *I, CallSite CS,
DenseMap<Value*,Value*> &SunkAddrs) {
bool MadeChange = false;
- InlineAsm *IA = cast<InlineAsm>(CS.getCalledValue());
std::vector<TargetLowering::AsmOperandInfo> TargetConstraints = TLI->ParseConstraints(CS);
for (unsigned i = 0, e = TargetConstraints.size(); i != e; ++i) {