[PATCH] D82721: [ScalarEvolution] createSCEV(): recognize `udiv`/`urem` disguised as an `sdiv`/`srem`

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 12:59:24 PDT 2020


lebedev.ri added a comment.

In D82721#2126191 <https://reviews.llvm.org/D82721#2126191>, @nikic wrote:

> Your transform log refers to the "rewrite allocas if that makes them promotable" pass,


I'm not sure it's material to the patch in question..

> but I wasn't able to find it in the code base.

Correct. There is no such thing in llvm.

> Could you point me to where it is implemented?

~~it's wip https://github.com/LebedevRI/llvm-project/tree/alloca-promotion ~~


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82721





More information about the llvm-commits mailing list