1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test
Steven Wu 6d3109d835 [BitcodeReader] Infer the correct runtime preemption for GlobalValue
Summary:
To allow bitcode built by old compiler to pass the current verifer,
BitcodeReader needs to auto infer the correct runtime preemption from
linkage and visibility for GlobalValues.

Since llvm-6.0 bitcode already contains the new field but can be
incorrect in some cases, the attribute needs to be recomputed all the
time in BitcodeReader. This will make all the GVs has dso_local marked
correctly if read from bitcode, and it should still allow the verifier
to catch mistakes in optimization passes.

This should fix PR38009.

Reviewers: sfertile, vsk

Reviewed By: vsk

Subscribers: dexonsmith, llvm-commits

Differential Revision: https://reviews.llvm.org/D49039

llvm-svn: 336560
2018-07-09 16:52:05 +00:00
..
Analysis [CostModel][X86] Add SREM/UREM general and constant costs (PR38056) 2018-07-07 16:53:30 +00:00
Assembler ConstantFold: Don't fold global address vs. null for addrspace != 0 2018-06-26 18:55:43 +00:00
Bindings
Bitcode [BitcodeReader] Infer the correct runtime preemption for GlobalValue 2018-07-09 16:52:05 +00:00
BugPoint
CodeGen [Power9] Add __float128 support for compare operations 2018-07-09 13:36:14 +00:00
DebugInfo [Debugify] Allow unsigned values narrower than their variables 2018-07-06 17:32:40 +00:00
Examples
ExecutionEngine Revert "Re-land r335297 "[X86] Implement more of x86-64 large and medium PIC code models"" 2018-06-28 17:56:43 +00:00
Feature
FileCheck [FileCheck] Add CHECK-EMPTY directive for checking for blank lines 2018-06-26 15:15:45 +00:00
Instrumentation [HWASan] Do not retag allocas before return from the function. 2018-06-29 20:20:17 +00:00
Integer
JitListener
Linker
LTO [ThinLTO] Add per-module indexes to combined index consistently 2018-06-26 01:32:58 +00:00
MC [AArch64][SVE] Asm: Support for CNT(B|H|W|D) and CNTP instructions. 2018-07-09 15:22:08 +00:00
Object [ELF] Change isSectionData to exclude SHF_EXECINSTR 2018-06-23 00:15:33 +00:00
ObjectYAML
Other [PGOMemOPSize] Preserve the DominatorTree 2018-07-09 08:07:21 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [TableGen] Increase the number of supported decoder fix-ups. 2018-07-05 10:39:15 +00:00
ThinLTO/X86 [ThinLTO] Update ThinLTO cache file atimes when on Windows 2018-07-04 14:17:10 +00:00
tools [llvm-mca] report an error if the assembly sequence contains an unsupported instruction. 2018-07-09 12:30:55 +00:00
Transforms [InstCombine] fix shuffle-of-binops transform to avoid poison/undef 2018-07-09 13:21:46 +00:00
Unit
Verifier Revert "Add support for generating a call graph profile from Branch Frequency Info." 2018-06-28 13:15:03 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh