[PATCH] D31488: [SimplifyIndvar] Replace the sdiv used by IV if we can prove both of its operands are non-negative

Tobias Grosser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 29 23:40:59 PDT 2017


grosser added a comment.

The relevant function is visitSDiv in InstCombineMulDivRem.cpp. Maybe we have indeed insufficient information in instcombine.


Repository:
  rL LLVM

https://reviews.llvm.org/D31488





More information about the llvm-commits mailing list