llvm / llvm/llvm-project

Missed Optimization: For positive integers x and y, `x%y==0` implies `x>=y`.

Open
#174,633 2 comments 0 reactions 0 assignees View on GitHub
llvm:optimizations missed-optimization
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

For positive integers x and y, `(x%y==0)` implies `x>=y`, so `(x%y==0)&(x

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.