Simplify parseRangeCheckICmp:
- If RHS is loop-variant, swap LHS/RHS and swap predicate
- all checks are either IV >(=) const or IV <(=) RHS (maybe not const)
Differential D148720
[IRCE] Refactor parseRangeCheckICmp aleksandr.popov on Apr 19 2023, 8:46 AM. Authored by
Details Simplify parseRangeCheckICmp:
Diff Detail
Unit Tests Event Timeline
Comment Actions
Ok, updated the diff to make it more straightforward |
{ } not needed