DirectXShaderCompiler/test/Verifier
Chris B 36fdecf357
Update Linux build and test workflows to use lit (#4836)
* Update Linux build and test workflows to use lit

This change updates the build and test workflows in our azure pipelines
and the GitHub action for code coverage data to use lit instead of ctest
as the test runner. This adds additional test coverage by running some
of the LLVM & Clang tests.

* Fix missing dependency between LLVMAnalysis & DXIL

The default Linux linker fails because LLVMAnalysis depends on LLVMDXIL
and BFD doesn't cycle libraries.

* Updating pipelines to remove mkdir and cd

This just cleans up the pipeline shell commands to avoid unnecissary
mkdir and cd invocations.

Based on feedback from @Keenuts. Thanks!

* Disable LLVM LIT tests that use garbage collection

DXC disabled support for the LLVM garbage collection intrinsics.
2022-12-02 12:55:14 -06:00
..
2002-04-13-RetTypes.ll first commit 2016-12-28 11:52:27 -08:00
2002-11-05-GetelementptrPointers.ll first commit 2016-12-28 11:52:27 -08:00
2004-05-21-SwitchConstantMismatch.ll first commit 2016-12-28 11:52:27 -08:00
2006-07-11-StoreStruct.ll first commit 2016-12-28 11:52:27 -08:00
2006-10-15-AddrLabel.ll first commit 2016-12-28 11:52:27 -08:00
2006-12-12-IntrinsicDefine.ll first commit 2016-12-28 11:52:27 -08:00
2007-12-21-InvokeParamAttrs.ll first commit 2016-12-28 11:52:27 -08:00
2008-01-11-VarargAttrs.ll first commit 2016-12-28 11:52:27 -08:00
2008-03-01-AllocaSized.ll first commit 2016-12-28 11:52:27 -08:00
2008-08-22-MemCpyAlignment.ll first commit 2016-12-28 11:52:27 -08:00
2008-11-15-RetVoid.ll first commit 2016-12-28 11:52:27 -08:00
2009-05-29-InvokeResult1.ll first commit 2016-12-28 11:52:27 -08:00
2009-05-29-InvokeResult2.ll first commit 2016-12-28 11:52:27 -08:00
2009-05-29-InvokeResult3.ll first commit 2016-12-28 11:52:27 -08:00
2010-08-07-PointerIntrinsic.ll first commit 2016-12-28 11:52:27 -08:00
AmbiguousPhi.ll first commit 2016-12-28 11:52:27 -08:00
PhiGrouping.ll first commit 2016-12-28 11:52:27 -08:00
README.txt first commit 2016-12-28 11:52:27 -08:00
SelfReferential.ll first commit 2016-12-28 11:52:27 -08:00
alias.ll first commit 2016-12-28 11:52:27 -08:00
bitcast-address-space-nested-global-cycle.ll first commit 2016-12-28 11:52:27 -08:00
bitcast-address-space-nested-global.ll first commit 2016-12-28 11:52:27 -08:00
bitcast-address-space-through-constant-inttoptr-inside-gep-instruction.ll first commit 2016-12-28 11:52:27 -08:00
bitcast-address-space-through-constant-inttoptr.ll first commit 2016-12-28 11:52:27 -08:00
bitcast-address-space-through-gep-2.ll first commit 2016-12-28 11:52:27 -08:00
bitcast-address-space-through-gep.ll first commit 2016-12-28 11:52:27 -08:00
bitcast-address-space-through-inttoptr.ll first commit 2016-12-28 11:52:27 -08:00
bitcast-address-spaces.ll first commit 2016-12-28 11:52:27 -08:00
bitcast-alias-address-space.ll first commit 2016-12-28 11:52:27 -08:00
bitcast-vector-pointer-as.ll first commit 2016-12-28 11:52:27 -08:00
byval-1.ll first commit 2016-12-28 11:52:27 -08:00
byval-4.ll first commit 2016-12-28 11:52:27 -08:00
comdat-decl1.ll first commit 2016-12-28 11:52:27 -08:00
comdat-decl2.ll first commit 2016-12-28 11:52:27 -08:00
comdat.ll first commit 2016-12-28 11:52:27 -08:00
comdat2.ll first commit 2016-12-28 11:52:27 -08:00
comdat3.ll first commit 2016-12-28 11:52:27 -08:00
cttz-undef-arg.ll first commit 2016-12-28 11:52:27 -08:00
dbg-typerefs.ll first commit 2016-12-28 11:52:27 -08:00
dbg.ll first commit 2016-12-28 11:52:27 -08:00
dominates.ll first commit 2016-12-28 11:52:27 -08:00
fpmath.ll first commit 2016-12-28 11:52:27 -08:00
frameescape.ll first commit 2016-12-28 11:52:27 -08:00
function-metadata-bad.ll first commit 2016-12-28 11:52:27 -08:00
function-metadata-good.ll first commit 2016-12-28 11:52:27 -08:00
gc_relocate_addrspace.ll Update Linux build and test workflows to use lit (#4836) 2022-12-02 12:55:14 -06:00
gc_relocate_operand.ll Update Linux build and test workflows to use lit (#4836) 2022-12-02 12:55:14 -06:00
gc_relocate_return.ll Update Linux build and test workflows to use lit (#4836) 2022-12-02 12:55:14 -06:00
gcread-ptrptr.ll first commit 2016-12-28 11:52:27 -08:00
gcroot-alloca.ll first commit 2016-12-28 11:52:27 -08:00
gcroot-meta.ll first commit 2016-12-28 11:52:27 -08:00
gcroot-ptrptr.ll first commit 2016-12-28 11:52:27 -08:00
gcwrite-ptrptr.ll first commit 2016-12-28 11:52:27 -08:00
global-ctors.ll first commit 2016-12-28 11:52:27 -08:00
ident-meta1.ll first commit 2016-12-28 11:52:27 -08:00
ident-meta2.ll first commit 2016-12-28 11:52:27 -08:00
ident-meta3.ll first commit 2016-12-28 11:52:27 -08:00
ident-meta4.ll first commit 2016-12-28 11:52:27 -08:00
inalloca-vararg.ll first commit 2016-12-28 11:52:27 -08:00
inalloca1.ll first commit 2016-12-28 11:52:27 -08:00
inalloca2.ll first commit 2016-12-28 11:52:27 -08:00
inalloca3.ll first commit 2016-12-28 11:52:27 -08:00
invalid-patchable-statepoint.ll Disable LLVM LIT suites and tests (#4827) 2022-11-29 12:53:22 -06:00
invalid-statepoint.ll first commit 2016-12-28 11:52:27 -08:00
invalid-statepoint2.ll Update Linux build and test workflows to use lit (#4836) 2022-12-02 12:55:14 -06:00
invoke.ll first commit 2016-12-28 11:52:27 -08:00
jumptable.ll first commit 2016-12-28 11:52:27 -08:00
lit.local.cfg Disable LLVM LIT suites and tests (#4827) 2022-11-29 12:53:22 -06:00
llvm.compiler_used-invalid-type.ll first commit 2016-12-28 11:52:27 -08:00
llvm.dbg.declare-address.ll first commit 2016-12-28 11:52:27 -08:00
llvm.dbg.declare-expression.ll first commit 2016-12-28 11:52:27 -08:00
llvm.dbg.declare-variable.ll first commit 2016-12-28 11:52:27 -08:00
llvm.dbg.intrinsic-dbg-attachment.ll first commit 2016-12-28 11:52:27 -08:00
llvm.dbg.value-expression.ll first commit 2016-12-28 11:52:27 -08:00
llvm.dbg.value-value.ll first commit 2016-12-28 11:52:27 -08:00
llvm.dbg.value-variable.ll first commit 2016-12-28 11:52:27 -08:00
llvm.used-invalid-init.ll first commit 2016-12-28 11:52:27 -08:00
llvm.used-invalid-init2.ll first commit 2016-12-28 11:52:27 -08:00
llvm.used-invalid-type.ll first commit 2016-12-28 11:52:27 -08:00
llvm.used-invalid-type2.ll first commit 2016-12-28 11:52:27 -08:00
llvm.used-ptr-type.ll first commit 2016-12-28 11:52:27 -08:00
mdcompositetype-templateparams-tuple.ll first commit 2016-12-28 11:52:27 -08:00
mdcompositetype-templateparams.ll first commit 2016-12-28 11:52:27 -08:00
memcpy.ll first commit 2016-12-28 11:52:27 -08:00
module-flags-1.ll first commit 2016-12-28 11:52:27 -08:00
module-flags-2.ll first commit 2016-12-28 11:52:27 -08:00
module-flags-3.ll first commit 2016-12-28 11:52:27 -08:00
musttail-invalid.ll first commit 2016-12-28 11:52:27 -08:00
musttail-valid.ll first commit 2016-12-28 11:52:27 -08:00
range-1.ll first commit 2016-12-28 11:52:27 -08:00
range-2.ll first commit 2016-12-28 11:52:27 -08:00
recursive-struct-param.ll first commit 2016-12-28 11:52:27 -08:00
recursive-type-1.ll first commit 2016-12-28 11:52:27 -08:00
recursive-type-2.ll first commit 2016-12-28 11:52:27 -08:00
recursive-type-3.ll first commit 2016-12-28 11:52:27 -08:00
sret.ll first commit 2016-12-28 11:52:27 -08:00
statepoint.ll Disable LLVM LIT suites and tests (#4827) 2022-11-29 12:53:22 -06:00
varargs-intrinsic.ll first commit 2016-12-28 11:52:27 -08:00

README.txt

This directory contains testcases that the verifier is supposed to detect as
malformed LLVM code.  Testcases for situations that the verifier incorrectly
identifies as malformed should go in the test/Assembler directory.