[PATCH] D130164: [LV] Support predicated div/rem operations via safe-divisor select idiom

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 10:10:44 PDT 2022


craig.topper added a comment.

>> Div/Rem by 1 is the same as using the undisturbed LHS.

That's true for Div, but Rem by 1 would produce 0.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130164



More information about the llvm-commits mailing list