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:
521a202
)
Fix a bug where we were marking GEP expressions with the wrong opcode.
author
Owen Anderson
<resistor@mac.com>
Fri, 20 Jul 2007 08:19:20 +0000
(08:19 +0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 20 Jul 2007 08:19:20 +0000
(08:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40085
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/GVNPRE.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/GVNPRE.cpp
b/lib/Transforms/Scalar/GVNPRE.cpp
index 9c7c8c2e2593a128593a7cc187fe561a51b7c9d1..80f745f333b1bb19b02b0df89f806af146b4f9fc 100644
(file)
--- a/
lib/Transforms/Scalar/GVNPRE.cpp
+++ b/
lib/Transforms/Scalar/GVNPRE.cpp
@@
-418,7
+418,7
@@
Expression ValueTable::create_expression(GetElementPtrInst* G) {
e.secondVN = 0;
e.thirdVN = 0;
e.type = G->getType();
- e.opcode = Expression::
SELECT
;
+ e.opcode = Expression::
GEP
;
for (GetElementPtrInst::op_iterator I = G->idx_begin(), E = G->idx_end();
I != E; ++I)