summaryrefslogtreecommitdiffstats
path: root/llvm
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
commite3a89f9f9c68f6ec376e081365592f607f517bfd (patch)
tree419c770d5093c3d384b26bccdccda550fbb63357 /llvm
parent7aeff13caeb86324e23e10f29d50e65b0f815a65 (diff)
downloadbcm5719-llvm-e3a89f9f9c68f6ec376e081365592f607f517bfd.tar.gz
bcm5719-llvm-e3a89f9f9c68f6ec376e081365592f607f517bfd.zip
Remove unused variable.
llvm-svn: 113769
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
index 8c3f574b4ce..02282820fc9 100644
--- a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud