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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 11:45:03 PDT 2019


craig.topper added a comment.

What targets does the divl and divll code work for? Definitely doesn't work for arm on linux or i386 on linux. But those are the only ones I checked.

Would it be better to just recognize this as a builtin in clang and just emit the IR instructions?


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

https://reviews.llvm.org/D65457





More information about the llvm-commits mailing list