<div dir="ltr">Hi!<div><br></div><div>The attached patch teaches LLVM to fold together repeated tests for divisibility by a constant into a single test for divisibility by the LCM of the constants.</div><div><br></div><div>
This was inspired by PR20205 (but doesn't directly help there, because we can't compute a trip count for its loop, nor peel the loop like GCC does).</div></div>