[PATCH] D75567: [x86] Enable bypassing 64-bit division on generic x86-64

Ori Livneh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 09:07:52 PDT 2020


atdt added a comment.

In D75567#1959215 <https://reviews.llvm.org/D75567#1959215>, @RKSimon wrote:

> Test cases?


I'm not sure what kind of test case to add. The codegen tests for bypassing slow division <https://github.com/llvm/llvm-project/blob/7bb433c87b602a181a9e6ee08e38717a63b6f478/llvm/test/CodeGen/X86/bypass-slow-division-64.ll#L3> use `-mattr=[+-]idivq-to-divl` to explicitly control this feature, rather than assume it is enabled or disabled for a particular target.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75567





More information about the llvm-commits mailing list