Fix a bug where we were marking GEP expressions with the wrong opcode.
llvm-svn: 40085
This commit is contained in:
parent
edb926bfe3
commit
5bd6c3f2c4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue