llvm.org GIT mirror llvm / f639875
use the correct code for binop instrs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36639 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
496496 Vals.push_back(VE.getValueID(I.getOperand(0)));
497497 } else {
498498 assert(isa(I) && "Unknown instruction!");
499 Code = bitc::CST_CODE_CE_BINOP;
499 Code = bitc::FUNC_CODE_INST_BINOP;
500500 Vals.push_back(GetEncodedBinaryOpcode(I.getOpcode()));
501501 Vals.push_back(VE.getTypeID(I.getType()));
502502 Vals.push_back(VE.getValueID(I.getOperand(0)));