llvm-project/llvm/test/Bitcode/Inputs
Steven Wu e1f7c5f8c7 [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
..
PR23310.bc
infer_dso_local.bc [BitcodeReader] Infer the correct runtime preemption for GlobalValue 2018-07-09 16:52:05 +00:00
invalid-GCTable-overflow.bc
invalid-abbrev-fixed-size-too-big.bc
invalid-abbrev-no-operands.bc
invalid-abbrev-vbr-size-too-big.bc
invalid-abbrev.bc
invalid-alias-type-mismatch.bc
invalid-align.bc
invalid-array-element-type.bc
invalid-array-op-not-2nd-to-last.bc
invalid-array-operand-encoding.bc Bitcode: Change reader interface to take memory buffers. 2016-11-02 00:08:19 +00:00
invalid-array-type.bc
invalid-bad-abbrev-number.bc
invalid-bitwidth.bc
invalid-call-mismatched-explicit-type.bc
invalid-call-non-function-explicit-type.bc
invalid-cast.bc
invalid-code-len-width.bc Bitcode: Change reader interface to take memory buffers. 2016-11-02 00:08:19 +00:00
invalid-empty.bc Bitcode: Check file size before reading bitcode header. 2016-11-02 00:39:11 +00:00
invalid-extract-0-indices.bc
invalid-extractval-array-idx.bc Bitcode: Change reader interface to take memory buffers. 2016-11-02 00:08:19 +00:00
invalid-extractval-struct-idx.bc
invalid-extractval-too-many-idxs.bc
invalid-fp-shift.bc
invalid-function-argument-type.bc
invalid-function-comdat-id.bc Bitcode: Change reader interface to take memory buffers. 2016-11-02 00:08:19 +00:00
invalid-fwdref-type-mismatch-2.bc Bitcode: Change reader interface to take memory buffers. 2016-11-02 00:08:19 +00:00
invalid-fwdref-type-mismatch.bc
invalid-gep-mismatched-explicit-type.bc
invalid-gep-no-operands.bc
invalid-gep-operator-mismatched-explicit-type.bc
invalid-global-var-comdat-id.bc
invalid-insert-0-indices.bc
invalid-inserted-value-type-mismatch.bc
invalid-insertval-array-idx.bc
invalid-insertval-struct-idx.bc
invalid-insertval-too-many-idxs.bc
invalid-invoke-mismatched-explicit-type.bc
invalid-invoke-non-function-explicit-type.bc
invalid-load-mismatched-explicit-type.bc
invalid-load-pointer-type.bc
invalid-load-ptr-type.bc
invalid-metadata-not-followed-named-node.bc Bitcode: Change reader interface to take memory buffers. 2016-11-02 00:08:19 +00:00
invalid-name-with-0-byte.bc Bitcode: Change reader interface to take memory buffers. 2016-11-02 00:08:19 +00:00
invalid-no-function-block.bc
invalid-no-proper-module.bc
invalid-non-vector-extractelement.bc
invalid-non-vector-insertelement.bc
invalid-non-vector-shufflevector.bc
invalid-nonpointer-atomicrmw.bc
invalid-nonpointer-storeatomic.bc
invalid-pointer-element-type.bc
invalid-pr20485.bc
invalid-too-big-fwdref.bc
invalid-type-table-forward-ref.bc
invalid-unexpected-eof.bc Bitcode: Change reader interface to take memory buffers. 2016-11-02 00:08:19 +00:00
invalid-vector-element-type.bc
invalid-vector-length.bc
invalid-void-constant.bc
module-hash-strtab1.ll Bitcode: Include any strings added to the string table in the module hash. 2017-07-06 17:56:01 +00:00
module-hash-strtab2.ll Bitcode: Include any strings added to the string table in the module hash. 2017-07-06 17:56:01 +00:00
module_hash.ll
multi-module.ll Bitcode: Introduce BitcodeWriter interface. 2016-11-29 20:43:47 +00:00
padding-garbage.bc
padding.bc
source-filename.bc
thinlto-alias.ll
thinlto-function-summary-callgraph-combined.1.bc [thinlto] Basic thinlto fdo heuristic 2016-09-26 20:37:32 +00:00
thinlto-function-summary-callgraph-pgo-combined.1.bc [thinlto] Basic thinlto fdo heuristic 2016-09-26 20:37:32 +00:00
thinlto-function-summary-callgraph-pgo.1.bc [thinlto] Basic thinlto fdo heuristic 2016-09-26 20:37:32 +00:00
thinlto-function-summary-callgraph-profile-summary.ll [thinlto] Basic thinlto fdo heuristic 2016-09-26 20:37:32 +00:00
thinlto-function-summary-callgraph-sample-profile-summary.ll Do not want to use BFI to get profile count for sample pgo 2017-08-03 17:11:41 +00:00
thinlto-function-summary-callgraph.1.bc [thinlto] Basic thinlto fdo heuristic 2016-09-26 20:37:32 +00:00
thinlto-function-summary-callgraph.ll