-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Inconsistency caused by 65535f16*0f16 after using compute_inline #12377
Comments
@cxx122 Thanks for the report. It seems you are trying to compute "65535f16 * 0f16" which returns "nan" as an undefined behavior. Since its output is "nan" and according to IEEE 754 that "nan" is not comparable, I don't think it is suitable to regard this as an inconsistency bug since the computation itself is ill-formed and undefined. From a fuzzing prespective, IMO, those should be regarded as false alarms that the algorithm should try to avoid sythesizing programs with undefined behaviors (like CSmith). |
Similarly in many rest bugs reports, as |
Thanks, when I submitted this bug I also considered that it might be because of this problem. This may not be a bug in the strict sense. |
Actually there is no |
@wrongtest-intellif Good point. |
The tir program before compute_inline:
The tir program after compute_inline:
Actual behavior
Environment
Operating System: Ubuntu 18.04, TVM version: tag0.9.0 [d361585]
Steps to reproduce
The text was updated successfully, but these errors were encountered: