llvm-6502/test/Assembler
Duncan P. N. Exon Smith e5ae09b08f UseListOrder: Don't give constant IDs to GlobalValues
Since initializers of GlobalValues are being assigned IDs before
GlobalValues themselves, explicitly exclude GlobalValues from the
constant pool.  Added targeted test in `test/Bitcode/use-list-order.ll`
and added two more RUN lines in `test/Assembly`.

This is part of PR5680.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214368 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-31 00:13:28 +00:00
..
2002-03-08-NameCollision.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-03-08-NameCollision2.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-04-07-HexFloatConstants.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-04-07-InfConstant.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-04-29-NameBinding.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-05-02-InvalidForwardRef.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-07-14-OpaqueType.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-07-25-QuoteInString.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-07-25-ReturnPtrFunction.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-07-31-SlashInString.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-08-15-CastAmbiguity.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-08-15-ConstantExprProblem.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-08-15-UnresolvedGlobalReference.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-08-16-ConstExprInlined.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-08-19-BytecodeReader.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-08-22-DominanceProblem.ll
2002-10-08-LargeArrayPerformance.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-10-13-ConstantEncodingProblem.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2002-12-15-GlobalResolve.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-01-30-UnsignedString.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-04-15-ConstantInitAssertion.ll
2003-04-25-UnresolvedGlobalReference.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-05-03-BytecodeReaderProblem.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-05-12-MinIntProblem.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-05-15-AssemblerProblem.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-05-15-SwitchBug.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-05-21-ConstantShiftExpr.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-05-21-EmptyStructTest.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-05-21-MalformedShiftCrash.ll
2003-05-21-MalformedStructCrash.ll
2003-08-20-ConstantExprGEP-Fold.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-08-21-ConstantExprCast-Fold.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-11-05-ConstantExprShift.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-11-11-ImplicitRename.ll
2003-11-12-ConstantExprCast.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2003-11-24-SymbolTableCrash.ll
2004-01-11-getelementptrfolding.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2004-01-20-MaxLongLong.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2004-02-01-NegativeZero.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2004-02-27-SelfUseAssertError.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2004-03-07-FunctionAddressAlignment.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2004-03-30-UnclosedFunctionCrash.ll
2004-04-04-GetElementPtrIndexTypes.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2004-06-07-VerifierBug.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2004-10-22-BCWriterUndefBug.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2004-11-28-InvalidTypeCrash.ll
2005-01-03-FPConstantDisassembly.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2005-01-31-CallingAggregateFunction.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2005-05-05-OpaqueUndefValues.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2005-12-21-ZeroInitVector.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2006-09-28-CrashOnInvalid.ll
2006-12-09-Cast-To-Bool.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2007-01-02-Undefined-Arg-Type.ll
2007-01-05-Cmp-ConstExpr.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2007-01-16-CrashOnBadCast.ll
2007-01-16-CrashOnBadCast2.ll
2007-03-18-InvalidNumberedVar.ll
2007-03-19-NegValue.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2007-04-20-AlignedLoad.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2007-04-20-AlignedStore.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2007-04-25-AssemblerFoldExternWeak.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2007-05-21-Escape.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2007-07-19-ParamAttrAmbiguity.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2007-08-06-AliasInvalid.ll
2007-09-10-AliasFwdRef.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2007-09-29-GC.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2007-11-26-AttributeOverload.ll
2007-12-11-AddressSpaces.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2008-01-11-VarargAttrs.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2008-02-18-IntPointerCrash.ll
2008-07-10-APInt.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2008-09-02-FunctionNotes.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2008-09-02-FunctionNotes2.ll
2008-09-29-RetAttr.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2008-10-14-QuoteInName.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2009-02-01-UnnamedForwardRef.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2009-02-28-CastOpc.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2009-02-28-StripOpaqueName.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2009-03-24-ZextConstantExpr.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2009-07-24-ZeroArgGEP.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
2010-02-05-FunctionLocalMetadataBecomesNull.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
addrspacecast-alias.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
aggregate-constant-values.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
aggregate-return-single-value.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
alias-redefinition.ll Don't crash on redefinitions. 2014-05-09 21:49:17 +00:00
align-inst-alloca.ll
align-inst-load.ll
align-inst-store.ll
align-inst.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
alignstack.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
anon-functions.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
atomic.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
attribute-builtin.ll Remove verifier check that attribute 'builtin' is only applied to calls to 2013-09-07 00:25:48 +00:00
auto_upgrade_intrinsics.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
bcwrap.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
comment.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
ConstantExprFold.ll UseListOrder: Don't give constant IDs to GlobalValues 2014-07-31 00:13:28 +00:00
ConstantExprFoldCast.ll UseListOrder: Don't give constant IDs to GlobalValues 2014-07-31 00:13:28 +00:00
ConstantExprFoldSelect.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
ConstantExprNoFold.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
externally-initialized.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
extractvalue-invalid-idx.ll
fast-math-flags.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
flags.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
functionlocal-metadata.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
getelementptr_struct.ll
getelementptr_vec_idx1.ll Relax the restrictions on vector of pointer types, and vector getelementptr. 2012-11-13 12:59:33 +00:00
getelementptr_vec_idx2.ll Relax the restrictions on vector of pointer types, and vector getelementptr. 2012-11-13 12:59:33 +00:00
getelementptr_vec_idx3.ll Relax the restrictions on vector of pointer types, and vector getelementptr. 2012-11-13 12:59:33 +00:00
getelementptr_vec_struct.ll Relax the restrictions on vector of pointer types, and vector getelementptr. 2012-11-13 12:59:33 +00:00
getelementptr.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
getInt.ll Clean up RUN command for Assembler/getInt.ll. 2014-01-13 22:37:35 +00:00
global-addrspace-forwardref.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
half-constprop.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
half-conv.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
half.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
huge-array.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
inalloca.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
insertextractvalue.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
insertvalue-invalid-idx.ll
internal-hidden-alias.ll Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
internal-hidden-function.ll IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
internal-hidden-variable.ll IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
internal-protected-alias.ll Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
internal-protected-function.ll IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
internal-protected-variable.ll IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
invalid_cast.ll
invalid_cast2.ll
invalid_cast3.ll Bug 18228 - Fix accepting bitcasts between vectors of pointers with a 2014-01-22 19:21:33 +00:00
invalid-comdat.ll IR: Add COMDATs to the IR 2014-06-27 18:19:56 +00:00
invalid-comdat2.ll IR: Add COMDATs to the IR 2014-06-27 18:19:56 +00:00
invalid-fwdref1.ll Don't crash if a .ll file contains a forward-reference that looks like a global 2012-10-11 00:38:25 +00:00
invalid-name.ll Make it explicit that nulls are not allowed in names. 2013-11-19 21:12:39 +00:00
metadata.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
MultipleReturnValueType.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
named-metadata.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
numbered-values.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
private-hidden-alias.ll Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
private-hidden-function.ll IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
private-hidden-variable.ll IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
private-protected-alias.ll Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
private-protected-function.ll IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
private-protected-variable.ll IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
select.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
tls-models.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
unnamed-addr.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
unnamed.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
upgrade-loop-metadata.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
vbool-cmp.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
vector-cmp.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
vector-select.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
vector-shift.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00
x86mmx.ll verify-uselistorder: Add RUN lines to cases in test/Assembly 2014-07-31 00:10:27 +00:00