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:
fc16a89
)
Remove unused variable.
author
Eric Christopher
<echristo@apple.com>
Mon, 13 Sep 2010 18:27:59 +0000
(18:27 +0000)
committer
Eric Christopher
<echristo@apple.com>
Mon, 13 Sep 2010 18:27:59 +0000
(18:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113769
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/CodeGenPrepare.cpp
b/lib/Transforms/Scalar/CodeGenPrepare.cpp
index 8c3f574b4ceb54d31a6cc70cdd7a338b37702d0d..02282820fc9b7482e43a25da3debea3e33c304cf 100644
(file)
--- 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) {