1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/lib
Hans Wennborg e727b1924f Revert r372893 "[CodeGen] Replace -max-jump-table-size with -max-jump-table-targets"
This caused severe compile-time regressions, see PR43455.

> Modern processors predict the targets of an indirect branch regardless of
> the size of any jump table used to glean its target address.  Moreover,
> branch predictors typically use resources limited by the number of actual
> targets that occur at run time.
>
> This patch changes the semantics of the option `-max-jump-table-size` to limit
> the number of different targets instead of the number of entries in a jump
> table.  Thus, it is now renamed to `-max-jump-table-targets`.
>
> Before, when `-max-jump-table-size` was specified, it could happen that
> cluster jump tables could have targets used repeatedly, but each one was
> counted and typically resulted in tables with the same number of entries.
> With this patch, when specifying `-max-jump-table-targets`, tables may have
> different lengths, since the number of unique targets is counted towards the
> limit, but the number of unique targets in tables is the same, but for the
> last one containing the balance of targets.
>
> Differential revision: https://reviews.llvm.org/D60295

llvm-svn: 373060
2019-09-27 09:54:26 +00:00
..
Analysis Revert "[LoopInfo] Limit the iterations to check whether a loop has dedicated 2019-09-27 05:43:30 +00:00
AsmParser [IR] allow fast-math-flags on phi of FP values (2nd try) 2019-09-25 14:35:02 +00:00
BinaryFormat [BinaryFormat] Teach identify_magic about Tapi files. 2019-08-21 21:00:16 +00:00
Bitcode MetadataLoader lazyLoadOneMetadata - silence static analyzer dyn_cast<MDNode> null dereference warning. NFCI. 2019-09-26 11:30:47 +00:00
Bitstream
CodeGen Revert r372893 "[CodeGen] Replace -max-jump-table-size with -max-jump-table-targets" 2019-09-27 09:54:26 +00:00
DebugInfo MCRegisterInfo: Merge getLLVMRegNum and getLLVMRegNumFromEH 2019-09-24 09:31:02 +00:00
Demangle llvm-undname: Add support for demangling typeinfo names 2019-09-23 13:13:37 +00:00
ExecutionEngine [Orc] Silence static analyzer dyn_cast<ConstantInt> null dereference warning. NFCI. 2019-09-24 12:43:55 +00:00
Fuzzer
FuzzMutate [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
IR [NFC] Rearrange Value::getPointerAlignment 2019-09-26 15:13:05 +00:00
IRReader
LineEditor
Linker [IRMover] Don't map globals if their types are the same 2019-09-11 18:35:49 +00:00
LTO [LTO][Legacy] Add new C inferface to query libcall functions 2019-09-16 18:49:54 +00:00
MC [AIX]Emit function descriptor csect in assembly 2019-09-26 19:38:32 +00:00
MCA [Tblgen][MCA] Add the ability to mark groups as LoadQueue and StoreQueue. NFCI 2019-08-27 18:20:34 +00:00
Object [NFC] Add { } to silence compiler warning [-Wmissing-braces]. 2019-09-25 04:40:07 +00:00
ObjectYAML [yaml2elf] - Support describing .stack_sizes sections using unique suffixes. 2019-09-25 12:09:30 +00:00
Option [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Passes Regex: Make "match" and "sub" const member functions 2019-09-24 14:42:36 +00:00
ProfileData Recommit [SampleFDO] Expose an interface to return the size of a section 2019-09-21 17:23:55 +00:00
Remarks [Remarks] Allow remarks::Format::YAML to take a string table 2019-09-16 22:45:17 +00:00
Support Regex: Make "match" and "sub" const member functions 2019-09-24 14:42:36 +00:00
TableGen TGParser::ParseOperation - silence static analyzer dyn_cast<TypedInit> null dereference warning. NFCI. 2019-09-26 17:11:02 +00:00
Target Revert r372893 "[CodeGen] Replace -max-jump-table-size with -max-jump-table-targets" 2019-09-27 09:54:26 +00:00
Testing
TextAPI [TextAPI] Remove redundant checking causing warnings. NFC. 2019-09-24 14:52:13 +00:00
ToolDrivers [llvm-dlltool] Handle external and internal names with differing decoration 2019-09-02 13:28:16 +00:00
Transforms [Alignment][NFC] MaybeAlign in GVNExpression 2019-09-27 08:56:43 +00:00
WindowsManifest Fight a bit against global initializers. NFC. 2019-08-22 19:43:27 +00:00
XRay [XRay] Silence static analyzer dyn_cast<BufferExtents> null dereference warning. NFCI. 2019-09-22 18:47:00 +00:00
CMakeLists.txt
LLVMBuild.txt