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:
3b87167
)
Store instructions always return void, so they never get a name
author
Chris Lattner
<sabre@nondot.org>
Thu, 18 Apr 2002 14:43:54 +0000
(14:43 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 18 Apr 2002 14:43:54 +0000
(14:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2283
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 0bcd6f1534a36d0575b62735a3c20c28c2b97827..328c404c2f45a475bbb40ceb053da59e168c21e3 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-123,8
+123,7
@@
static Instruction *CombineIndicies(MemAccessInst *MAI) {
case Instruction::Load:
return new LoadInst(Src->getOperand(0), Indices, MAI->getName());
case Instruction::Store:
- return new StoreInst(MAI->getOperand(0), Src->getOperand(0),
- Indices, MAI->getName());
+ return new StoreInst(MAI->getOperand(0), Src->getOperand(0), Indices);
default:
assert(0 && "Unknown memaccessinst!");
break;