Optimize (x/y)*y into x-(x%y) in general. Div and rem are about the same, and
a subtract is cheaper than a multiply. This generalizes an existing transform. llvm-svn: 59800
Loading
Please register or sign in to comment
a subtract is cheaper than a multiply. This generalizes an existing transform. llvm-svn: 59800