wweic commented on issue #4997: [relay][VM] Miscompile with double-if URL: https://github.com/apache/incubator-tvm/issues/4997#issuecomment-597591366 @jroesch The problem is in when we compile if we don't allocate a new register to store the result. We ended up with overwriting registers we shouldn't write to. The fix is actually simple. we create a merge register to keep the result of if expression.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
