You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the constant folding pass replaces the use of a constant, but leaves the original definition of the constant. For example, consider the following program:
If we look at the generated IR, we can see that the main function still has an useless x1<-3.14 definition. This is dead code and might be confusing to users because it looks like the the constant folding didn't happen, even though it did.
Currently, the constant folding pass replaces the use of a constant, but leaves the original definition of the constant. For example, consider the following program:
If we look at the generated IR, we can see that the main function still has an useless
x1<-3.14
definition. This is dead code and might be confusing to users because it looks like the the constant folding didn't happen, even though it did.The text was updated successfully, but these errors were encountered: