llvm-project/llvm/test/Bitcode/Inputs
Arthur Eubanks 7a29a12301 [Verifier] Move some atomicrmw/cmpxchg checks to instruction creation
These checks already exist as asserts when creating the corresponding
instruction. Anybody creating these instructions already need to take
care to not break these checks.

Move the checks for success/failure ordering in cmpxchg from the
verifier to the LLParser and BitcodeReader plus an assert.

Add some tests for cmpxchg ordering. The .bc files are created from the
.ll files with an llvm-as with these checks disabled.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D102803
2021-05-21 13:41:17 -07:00
..
PR23310.bc
apple-clang-700-O3-g-1.bc
branch-weight.bc [Bitcode] Drop invalid branch_weight in BitcodeReader 2020-07-23 09:07:15 -07:00
byval-upgrade.bc Reapply: IR: add optional type to 'byval' function parameters 2019-05-30 18:48:23 +00:00
inalloca-upgrade.bc Reapply "OpaquePtr: Turn inalloca into a type attribute" 2021-03-29 08:55:30 -04:00
infer_dso_local.bc
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
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-cmpxchg-ordering-2.bc [Verifier] Move some atomicrmw/cmpxchg checks to instruction creation 2021-05-21 13:41:17 -07:00
invalid-cmpxchg-ordering-3.bc [Verifier] Move some atomicrmw/cmpxchg checks to instruction creation 2021-05-21 13:41:17 -07:00
invalid-cmpxchg-ordering-4.bc [Verifier] Move some atomicrmw/cmpxchg checks to instruction creation 2021-05-21 13:41:17 -07:00
invalid-cmpxchg-ordering.bc [Verifier] Move some atomicrmw/cmpxchg checks to instruction creation 2021-05-21 13:41:17 -07:00
invalid-code-len-width.bc
invalid-empty.bc
invalid-extract-0-indices.bc
invalid-extractval-array-idx.bc
invalid-extractval-struct-idx.bc
invalid-extractval-too-many-idxs.bc
invalid-fcmp-opnum.bc Recommit "[BitcodeReader] Validate OpNum, before accessing Record array." 2019-07-14 14:06:25 +00:00
invalid-fp-shift.bc
invalid-function-argument-type.bc
invalid-function-comdat-id.bc
invalid-fwdref-type-mismatch-2.bc
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
invalid-name-with-0-byte.bc
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
invalid-vector-element-type.bc
invalid-vector-length.bc
invalid-void-constant.bc
linker-options.bc [Bitcode] Avoid duplicating linker option when upgrading 2020-07-23 13:07:28 -07:00
module-hash-strtab1.ll
module-hash-strtab2.ll
module_hash.ll
multi-module.ll
padding-garbage.bc
padding.bc
source-filename.bc
thinlto-alias.ll
thinlto-function-summary-callgraph-combined.1.bc
thinlto-function-summary-callgraph-pgo-combined.1.bc
thinlto-function-summary-callgraph-pgo.1.bc
thinlto-function-summary-callgraph-profile-summary.ll
thinlto-function-summary-callgraph-sample-profile-summary.ll
thinlto-function-summary-callgraph.1.bc
thinlto-function-summary-callgraph.ll
thinlto-function-summary-paramaccess.ll [StackSafety,NFC] Add combined index test 2020-08-04 18:31:58 -07:00
x86_intrcc_upgrade.bc OpaquePtr: Require byval on x86_intrcc parameter 0 2020-12-14 16:34:37 -05:00