Skip to content
Snippets Groups Projects
Commit 758ee6df authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Add comment to explain make_tuple avoidance hack [ci skip]

parent b6023f6e
No related branches found
No related tags found
No related merge requests found
......@@ -698,6 +698,7 @@ class CASTBuilder(ASTBuilderBase):
assert mangle_result.arg_dtypes is not None
if mangle_result.target_name == "loopy_make_tuple":
# This shorcut avoids actually having to emit a 'make_tuple' function.
return self.emit_tuple_assignment(codegen_state, insn)
from loopy.expression import dtype_to_type_context
......
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