1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00
llvm-mirror/test
Sander de Smalen 3bbfdfb241 [CostModel] Express cost(urem) as cost(div+mul+sub) when set to Expand.
The Legalizer expands the operations of urem/srem into a div+mul+sub or divrem
when those are legal/custom. This patch changes the cost-model to reflect that
cost.

Since there is no 'divrem' Instruction in LLVM IR, the cost of divrem
is assumed to be the same as div+mul+sub since the three operations will
need to be executed at runtime regardless.

Patch co-authored by David Sherwood (@david-arm)

Reviewed By: RKSimon, paulwalker-arm

Differential Revision: https://reviews.llvm.org/D103799
2021-07-07 14:40:28 +01:00
..
Analysis [CostModel] Express cost(urem) as cost(div+mul+sub) when set to Expand. 2021-07-07 14:40:28 +01:00
Assembler Revert "[DebugInfo] Enforce implicit constraints on distinct MDNodes" 2021-07-02 15:57:07 -07:00
Bindings
Bitcode Revert "[DebugInfo] Enforce implicit constraints on distinct MDNodes" 2021-07-02 15:57:07 -07:00
BugPoint
CodeGen [AIX] Use VSSRC/VSFRC Register classes for f32/f64 callee arguments on P8 and above 2021-07-07 09:18:20 -04:00
DebugInfo [DebugInfo][InstrRef][3/4] Produce DBG_INSTR_REFs for all variable locations 2021-07-06 18:31:38 +01:00
Demangle
Examples [Orc] At CBindings for LazyRexports 2021-07-01 21:52:05 +02:00
ExecutionEngine [JITLink][ELF] Move ELF section and symbol parsing into ELFLinkGraphBuilder. 2021-06-29 09:59:49 +10:00
Feature
FileCheck
Instrumentation [DebugInfo] CGP+HWasan: Handle dbg.values with duplicate location ops 2021-07-05 10:35:19 +01:00
Integer
JitListener
Linker
LTO
MachineVerifier CodeGen: Print/parse LLTs in MachineMemOperands 2021-06-30 16:54:13 -04:00
MC [MCParser][z/OS] Mark a few tests as unsupported for the z/OS Target 2021-07-05 11:06:52 -04:00
Object
ObjectYAML
Other [OpaquePtr] Support opaque pointers in intrinsic type check 2021-07-01 18:26:41 +02:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Allow identical MnemonicAliases with no predicate 2021-06-30 10:53:39 +01:00
ThinLTO/X86 [ThinLTO] Respect ClearDSOLocalOnDeclarations for unimported functions 2021-07-02 17:08:25 -07:00
tools [llvm-readobj][test] Improve grouped option test 2021-07-06 23:02:33 -07:00
Transforms [IndVarSimplify][X86] Regenerate loop-invariant-conditions.ll test checks 2021-07-07 13:58:28 +01:00
Unit
Verifier [OpaquePtr] Support VecOfAnyPtrsToElt intrinsics 2021-07-01 20:35:33 +02:00
YAMLParser
.clang-format
CMakeLists.txt [Orc] At CBindings for LazyRexports 2021-07-01 21:52:05 +02:00
lit.cfg.py [Orc] At CBindings for LazyRexports 2021-07-01 21:52:05 +02:00
lit.site.cfg.py.in
TestRunner.sh