[PATCH] D65457: [InstCombine] Optimize div/ldiv/lldiv

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 09:38:41 PDT 2019


xbolva00 added a comment.

Some general notes:

1, ldiv and lldiv returns agregate, div not - how to solve div case? expand it using shift and or?
2, This looks quite weird for me:

declare { i64, i64 } @ldiv(i64, i64)
declare { i64, i64 } @lldiv(i64, i64)

but this is what I got on Linux Ubuntu OS.
3, Test coverage - if any other tests, please tell me.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D65457





More information about the llvm-commits mailing list