[llvm] [InstCombine] Don't mix X << Y / Z << Y with X << Y / X << Z (PR #69302)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 02:16:10 PDT 2023


nikic wrote:

Wow, what a footgun. Please change this code to replace all the `Ret = BinaryOperator::CreateUDiv(X, Y);` with `return Builder.CreateUDiv(X, Y, "", I.isExact());` instead.

https://github.com/llvm/llvm-project/pull/69302


More information about the llvm-commits mailing list