diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-07-07 16:53:30 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-07-07 16:53:30 +0000 |
commit | dc113dc7ed08e28c241dcf3b85055a75dff53ffd (patch) | |
tree | 8468dc940b6077006348a16134a86d1b73c6a969 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | |
parent | 1d27406135d541db5536fbeabd09b65c4ba618ba (diff) | |
download | bcm5719-llvm-dc113dc7ed08e28c241dcf3b85055a75dff53ffd.tar.gz bcm5719-llvm-dc113dc7ed08e28c241dcf3b85055a75dff53ffd.zip |
[CostModel][X86] Add SREM/UREM general and constant costs (PR38056)
We penalize general SDIV/UDIV costs but don't do the same for SREM/UREM.
This patch makes general vector SREM/UREM x20 as costly as scalar, the same approach as we do for SDIV/UDIV. The patch also extends the existing SDIV/UDIV constant costs for SREM/UREM - at the moment this means the additional cost of a MUL+SUB (see D48975).
Differential Revision: https://reviews.llvm.org/D48980
llvm-svn: 336486
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions