roastduck opened a new pull request #5664:
URL: https://github.com/apache/incubator-tvm/pull/5664
I improved the `Simplify` transformation to remove useless `IfThenElse`
nodes. If the condition of a node can be proved true or false, the condition
will be removed. For example, TVM often emit duplicated boundary guards like
```cuda
if (threadIdx.y * 100 + threadIdx.x < 1000) {
if (threadIdx.y * 100 + threadIdx.x < 1000) {
if (threadIdx.y * 100 + threadIdx.x < 1000) {
// ...
}
}
}
```
This can now be simplified.
@tqchen
----------------------------------------------------------------
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]