1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC
Peter Collingbourne 5b721561aa DI: Reverse direction of subprogram -> function edge.
Previously, subprograms contained a metadata reference to the function they
described. Because most clients need to get or set a subprogram for a given
function rather than the other way around, this created unneeded inefficiency.

For example, many passes needed to call the function llvm::makeSubprogramMap()
to build a mapping from functions to subprograms, and the IR linker needed to
fix up function references in a way that caused quadratic complexity in the IR
linking phase of LTO.

This change reverses the direction of the edge by storing the subprogram as
function-level metadata and removing DISubprogram's function field.

Since this is an IR change, a bitcode upgrade has been provided.

Fixes PR23367. An upgrade script for textual IR for out-of-tree clients is
attached to the PR.

Differential Revision: http://reviews.llvm.org/D14265

llvm-svn: 252219
2015-11-05 22:03:56 +00:00
..
AArch64 [AArch64] Check the size of the vector before accessing its elements. 2015-10-13 18:55:34 +00:00
AMDGPU AMDGPU: Disallow s[102:103] on VI in assembler 2015-11-05 03:11:27 +00:00
ARM DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
AsmParser Simplify .org processing and make it a bit more powerful. 2015-11-04 23:50:29 +00:00
COFF Fix pr24486. 2015-10-05 12:07:05 +00:00
Disassembler [ARM] Allow SP in rGPR, starting from ARMv8 2015-10-28 13:58:36 +00:00
ELF DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
Hexagon [Hexagon] Split double registers 2015-10-16 20:38:54 +00:00
MachO MachO: support tvOS and watchOS version min commands in llvm-objdump 2015-11-02 21:26:58 +00:00
Markup
Mips Relax a few more overspecified tests. 2015-11-03 19:38:19 +00:00
PowerPC Relax a few more overspecified tests. 2015-11-03 19:38:19 +00:00
Sparc Update test to take into account for r251271. 2015-10-26 03:34:29 +00:00
SystemZ [SystemZ] testcase MC/SystemZ/insn-good-z13.s extended. 2015-10-12 10:13:57 +00:00
X86 revert rev. 252153 due to build failure on ubuntu 2015-11-05 08:55:54 +00:00