[PATCH] D133198: [SCCP] convert signed div/rem to unsigned for non-negative operands

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 6 05:35:04 PDT 2022


fhahn added a comment.

> Ah - just noticed that it all folds away except in this case with 0 divisor. That's treated as a special-case because it is immediate UB?

Yeah, probably not worth worrying about


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133198/new/

https://reviews.llvm.org/D133198



More information about the llvm-commits mailing list