Fix potential issue related to subtraction from an unsigned 0 in circularShiftOutputDims and check that a parameter of ScheduleTreeOptimizer::isMatrMultPattern contains a correct partial schedule.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Thanks for the patch.
You could credit Mehdi Amini for finding the issue in the commit message.
Instead of "The second fix of" in the title try to summarize what it does independently of other commits. Avoids searching for the other commit in the commit list.
If the summary already has the format "<do stuff> and <do stuff>", can you commit those independently? It makes bisecting for finding a corrupting change more precise. In this case it would be
"Fix potential issue related to subtraction from an unsigned 0 in circularShiftOutputDims."
and
"Check that a parameter of ScheduleTreeOptimizer::isMatrMultPattern contains a correct partial schedule. NFC."
You can commit such obvious bugfixes right away.
Thank you for the comment!
Yes, I’ve planned to do it.
Instead of "The second fix of" in the title try to summarize what it does independently of other commits. Avoids searching for the other commit in the commit list.
If the summary already has the format "<do stuff> and <do stuff>", can you commit those independently? It makes bisecting for finding a corrupting change more precise. In this case it would be
"Fix potential issue related to subtraction from an unsigned 0 in circularShiftOutputDims."
and
"Check that a parameter of ScheduleTreeOptimizer::isMatrMultPattern contains a correct partial schedule. NFC."You can commit such obvious bugfixes right away.
OK. I thought that it's already simple.