Skip to content
Snippets Groups Projects
Commit f685df8c authored by John Kessenich's avatar John Kessenich
Browse files

Add comment that was missed in previous commit.

parent 71631277
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment