[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:37:40 PDT 2019


xbolva00 created this revision.
xbolva00 added reviewers: lebedev.ri, spatel, nikic, efriedma.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Expand function call to pair of sdiv and srem.

PR42818: https://bugs.llvm.org/show_bug.cgi?id=42818


Repository:
  rL LLVM

https://reviews.llvm.org/D65457

Files:
  include/llvm/Analysis/TargetLibraryInfo.def
  include/llvm/Transforms/Utils/SimplifyLibCalls.h
  lib/Analysis/TargetLibraryInfo.cpp
  lib/Transforms/Utils/BuildLibCalls.cpp
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Transforms/InstCombine/div-call.ll
  unittests/Analysis/TargetLibraryInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65457.212364.patch
Type: text/x-patch
Size: 8790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190730/e46a223a/attachment.bin>


More information about the llvm-commits mailing list