Skip to content
Snippets Groups Projects
Commit 71a34895 authored by Sean's avatar Sean Committed by Tianqi Chen
Browse files

correct mistake in muladd function logic (#2269)

Doesn't make sense to have %1 = mul(%x, %y) computed but never use the result %1
parent bc1d9b62
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ shows an example of a function calling another function.
def @muladd(%x, %y, %z) {
%1 = mul(%x, %y)
%2 = add(%x, %z)
%2 = add(%1, %z)
%2
}
def @myfunc(%x) {
......
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