Hacker News new | ask | show | jobs
by _a_a_a_ 1200 days ago
> Compilers usually do this, but only when the divisor is known at compile time

if the divisor is in a variable or otherwise 'hidden', the compiler can't deduce enought to get to it, is my guess.