1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/lib
OCHyams 5a42c7fbee [NFC] Fix performance issue in LiveDebugVariables
When compiling AMDGPUDisassembler.cpp in a stage 1 trunk build with
CMAKE_BUILD_TYPE=RelWithDebInfo LLVM_USE_SANITIZER=Address LiveDebugVariables
accounts for 21.5% wall clock time. This fix reduces that to 1.2% by switching
out a linked list lookup with a map lookup.

Note that the linked list is still used to group UserValues by vreg. The vreg
lookups don't cause any problems in this pathological case.

This is the same idea as D68816, which was reverted, except that it is a less
intrusive fix.

Reviewed By: vsk

Differential Revision: https://reviews.llvm.org/D77226
2020-04-02 09:39:33 +01:00
..
Analysis Revert "[LSR] re-add testcase for wrongly phi node elimination - NFC" 2020-04-01 12:58:06 +00:00
AsmParser Remove "mask" operand from shufflevector. 2020-03-31 13:08:59 -07:00
BinaryFormat [llvm-objdump][XCOFF][AIX] Implement -r option 2020-03-27 16:05:42 +00:00
Bitcode Remove "mask" operand from shufflevector. 2020-03-31 13:08:59 -07:00
Bitstream
CodeGen [NFC] Fix performance issue in LiveDebugVariables 2020-04-02 09:39:33 +01:00
DebugInfo Suppress a few -Wunreachable-code warnings. 2020-03-25 13:55:42 -04:00
Demangle
DWARFLinker Add an -object-path-prefix option to dsymutil 2020-03-24 17:13:42 -07:00
ExecutionEngine Revert "[ORC] Export __cxa_atexit from the main JITDylib in LLJIT." 2020-04-01 22:49:38 -04:00
Frontend Revert "[OpenMP][NFCI] Move OpenMP clause information to lib/Frontend/OpenMP" 2020-04-02 02:23:22 -05:00
Fuzzer
FuzzMutate Remove CompositeType class. 2020-03-18 13:53:17 -07:00
IR [Attributor][FIX] Prevent alignment breakage wrt. must-tail calls 2020-04-01 21:40:07 -05:00
IRReader
LineEditor
Linker
LTO Revert "[Darwin] Respect -fno-unroll-loops during LTO." 2020-03-30 15:20:30 +01:00
MC [MC] Move deprecation infos from MCTargetDesc to MCInstrInfo 2020-03-29 21:20:40 +02:00
MCA
Object [Object] Add the method for checking if a section is a debug section 2020-04-02 10:56:00 +02:00
ObjectYAML [yaml2obj] - Add NBucket and NChain fields for the SHT_HASH section. 2020-04-01 12:28:16 +03:00
Option
Passes [NFC] Do not run CGProfilePass when not using integrated assembler 2020-03-31 10:31:31 -07:00
ProfileData [SampleFDO] Port MD5 name table support to extbinary format. 2020-03-30 22:07:08 -07:00
Remarks
Support [X86] Add SERIALIZE instruction. 2020-04-02 16:19:23 +08:00
TableGen Explicitly include <cassert> when using assert 2020-03-02 22:45:28 +01:00
Target [X86] Add SERIALIZE instruction. 2020-04-02 16:19:23 +08:00
Testing
TextAPI Suppress a few -Wunreachable-code warnings. 2020-03-25 13:55:42 -04:00
ToolDrivers
Transforms [Attributor] Use the proper context instruction in genericValueTraversal 2020-04-01 22:20:47 -05:00
WindowsManifest Try to fix WindowsManifest CMake logic on Windows 2020-02-28 17:24:03 -08:00
XRay
CMakeLists.txt
LLVMBuild.txt