Add comment that was missed in previous commit.
This commit is contained in:
parent
716312771c
commit
f685df8c16
1 changed files with 3 additions and 0 deletions
|
|
@ -500,6 +500,9 @@ Id Builder::findScalarConstant(Op typeClass, Id typeId, unsigned v1, unsigned v2
|
|||
return 0;
|
||||
}
|
||||
|
||||
// Return true if consuming 'opcode' means consuming a constant.
|
||||
// "constant" here means after final transform to executable code,
|
||||
// the value consumed will be a constant, so includes specialization.
|
||||
bool Builder::isConstantOpCode(Op opcode) const
|
||||
{
|
||||
switch (opcode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue