llvm-6502/test/Assembler
David Blaikie 32b845d223 [opaque pointer type] Add textual IR support for explicit type parameter to the call instruction
See r230786 and r230794 for similar changes to gep and load
respectively.

Call is a bit different because it often doesn't have a single explicit
type - usually the type is deduced from the arguments, and just the
return type is explicit. In those cases there's no need to change the
IR.

When that's not the case, the IR usually contains the pointer type of
the first operand - but since typed pointers are going away, that
representation is insufficient so I'm just stripping the "pointerness"
of the explicit type away.

This does make the IR a bit weird - it /sort of/ reads like the type of
the first operand: "call void () %x(" but %x is actually of type "void
()*" and will eventually be just of type "ptr". But this seems not too
bad and I don't think it would benefit from repeating the type
("void (), void () * %x(" and then eventually "void (), ptr %x(") as has
been done with gep and load.

This also has a side benefit: since the explicit type is no longer a
pointer, there's no ambiguity between an explicit type and a function
that returns a function pointer. Previously this case needed an explicit
type (eg: a function returning a void() function was written as
"call void () () * @x(" rather than "call void () * @x(" because of the
ambiguity between a function returning a pointer to a void() function
and a function returning void).

No ambiguity means even function pointer return types can just be
written alone, without writing the whole function's type.

This leaves /only/ the varargs case where the explicit type is required.

Given the special type syntax in call instructions, the regex-fu used
for migration was a bit more involved in its own unique way (as every
one of these is) so here it is. Use it in conjunction with the apply.sh
script and associated find/xargs commands I've provided in rr230786 to
migrate your out of tree tests. Do let me know if any of this doesn't
cover your cases & we can iterate on a more general script/regexes to
help others with out of tree tests.

About 9 test cases couldn't be automatically migrated - half of those
were functions returning function pointers, where I just had to manually
delete the function argument types now that we didn't need an explicit
function type there. The other half were typedefs of function types used
in calls - just had to manually drop the * from those.

import fileinput
import sys
import re

pat = re.compile(r'((?:=|:|^|\s)call\s(?:[^@]*?))(\s*$|\s*(?:(?:\[\[[a-zA-Z0-9_]+\]\]|[@%](?:(")?[\\\?@a-zA-Z0-9_.]*?(?(3)"|)|{{.*}}))(?:\(|$)|undef|inttoptr|bitcast|null|asm).*$)')
addrspace_end = re.compile(r"addrspace\(\d+\)\s*\*$")
func_end = re.compile("(?:void.*|\)\s*)\*$")

def conv(match, line):
  if not match or re.search(addrspace_end, match.group(1)) or not re.search(func_end, match.group(1)):
    return line
  return line[:match.start()] + match.group(1)[:match.group(1).rfind('*')].rstrip() + match.group(2) + line[match.end():]

for line in sys.stdin:
  sys.stdout.write(conv(re.search(pat, line), line))

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235145 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-16 23:24:18 +00:00
..
2002-03-08-NameCollision.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-03-08-NameCollision2.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-04-07-HexFloatConstants.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-04-07-InfConstant.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-04-29-NameBinding.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2002-05-02-InvalidForwardRef.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-07-14-OpaqueType.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-07-25-QuoteInString.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-07-25-ReturnPtrFunction.ll [opaque pointer type] Add textual IR support for explicit type parameter to the call instruction 2015-04-16 23:24:18 +00:00
2002-07-31-SlashInString.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-08-15-CastAmbiguity.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-08-15-ConstantExprProblem.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2002-08-15-UnresolvedGlobalReference.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2002-08-16-ConstExprInlined.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2002-08-19-BytecodeReader.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2002-08-22-DominanceProblem.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-10-08-LargeArrayPerformance.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-10-13-ConstantEncodingProblem.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2002-12-15-GlobalResolve.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2003-01-30-UnsignedString.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2003-04-15-ConstantInitAssertion.ll
2003-04-25-UnresolvedGlobalReference.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2003-05-03-BytecodeReaderProblem.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2003-05-12-MinIntProblem.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2003-05-15-AssemblerProblem.ll [opaque pointer type] Add textual IR support for explicit type parameter to the call instruction 2015-04-16 23:24:18 +00:00
2003-05-15-SwitchBug.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2003-05-21-ConstantShiftExpr.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2003-05-21-EmptyStructTest.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2003-05-21-MalformedShiftCrash.ll
2003-05-21-MalformedStructCrash.ll
2003-08-20-ConstantExprGEP-Fold.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2003-08-21-ConstantExprCast-Fold.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2003-11-05-ConstantExprShift.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2003-11-11-ImplicitRename.ll
2003-11-12-ConstantExprCast.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2003-11-24-SymbolTableCrash.ll
2004-01-11-getelementptrfolding.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2004-01-20-MaxLongLong.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2004-02-01-NegativeZero.ll Use FileCheck in a few tests. 2014-11-06 15:05:51 +00:00
2004-02-27-SelfUseAssertError.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2004-03-07-FunctionAddressAlignment.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2004-03-30-UnclosedFunctionCrash.ll
2004-04-04-GetElementPtrIndexTypes.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
2004-06-07-VerifierBug.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2004-10-22-BCWriterUndefBug.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2004-11-28-InvalidTypeCrash.ll Use FileCheck in a few tests. 2014-11-06 15:05:51 +00:00
2005-01-03-FPConstantDisassembly.ll Use FileCheck in a few tests. 2014-11-06 15:05:51 +00:00
2005-01-31-CallingAggregateFunction.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2005-05-05-OpaqueUndefValues.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2005-12-21-ZeroInitVector.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2006-09-28-CrashOnInvalid.ll
2006-12-09-Cast-To-Bool.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2007-01-02-Undefined-Arg-Type.ll Use FileCheck in a few tests. 2014-11-06 15:05:51 +00:00
2007-01-05-Cmp-ConstExpr.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2007-01-16-CrashOnBadCast.ll
2007-01-16-CrashOnBadCast2.ll
2007-03-18-InvalidNumberedVar.ll
2007-03-19-NegValue.ll Use FileCheck in a few tests. 2014-11-06 15:05:51 +00:00
2007-04-20-AlignedLoad.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2007-04-20-AlignedStore.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2007-04-25-AssemblerFoldExternWeak.ll Use FileCheck in a few tests. 2014-11-06 15:05:51 +00:00
2007-05-21-Escape.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2007-07-19-ParamAttrAmbiguity.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2007-08-06-AliasInvalid.ll
2007-09-10-AliasFwdRef.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2007-09-29-GC.ll Use FileCheck in a few tests. 2014-11-06 15:05:51 +00:00
2007-11-26-AttributeOverload.ll
2007-12-11-AddressSpaces.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2008-01-11-VarargAttrs.ll [opaque pointer type] Add textual IR support for explicit type parameter to the call instruction 2015-04-16 23:24:18 +00:00
2008-02-18-IntPointerCrash.ll
2008-07-10-APInt.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2008-09-02-FunctionNotes.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2008-09-02-FunctionNotes2.ll
2008-09-29-RetAttr.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2008-10-14-QuoteInName.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2009-02-01-UnnamedForwardRef.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2009-02-28-CastOpc.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2009-02-28-StripOpaqueName.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2009-03-24-ZextConstantExpr.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
2009-07-24-ZeroArgGEP.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2010-02-05-FunctionLocalMetadataBecomesNull.ll DebugInfo: Add missing !dbg attachments to intrinsics 2015-04-15 21:04:10 +00:00
addrspacecast-alias.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
aggregate-constant-values.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
aggregate-return-single-value.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
alias-redefinition.ll Don't crash on redefinitions. 2014-05-09 21:49:17 +00:00
alias-use-list-order.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
align-inst-alloca.ll
align-inst-load.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
align-inst-store.ll
align-inst.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
alignstack.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
alloca-invalid-type-2.ll AsmParser: Reject alloca with function type 2015-02-16 08:38:03 +00:00
alloca-invalid-type.ll AsmParser: Reject alloca with function type 2015-02-16 08:38:03 +00:00
alloca-size-one.ll AsmWriter: Write alloca array size explicitly (and -instcombine fixup) 2015-03-13 19:30:44 +00:00
anon-functions.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
atomic.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +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 [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
bcwrap.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
call-invalid-1.ll AsmParser: Call instructions can't have an alignment 2015-02-23 00:01:32 +00:00
comment.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
ConstantExprFold.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
ConstantExprFoldCast.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
ConstantExprFoldSelect.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
ConstantExprNoFold.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
debug-info.ll Verifier: Check composite type template params 2015-04-06 17:04:58 +00:00
distinct-mdnode.ll IR: Add 'distinct' MDNodes to bitcode and assembly 2015-01-08 22:38:29 +00:00
drop-debug-info.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
externally-initialized.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
extractvalue-invalid-idx.ll
extractvalue-no-idx.ll AsmParser: extractvalue requires at least one index operand 2015-02-16 09:18:13 +00:00
fast-math-flags.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
flags.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
generic-debug-node.ll AsmParser: Recognize DW_TAG_* constants 2015-02-03 21:56:01 +00:00
getelementptr_invalid_ptr.ll LLParser: gep: Simplify parsing error handling 2015-03-09 23:08:44 +00:00
getelementptr_struct.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
getelementptr_vec_idx1.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
getelementptr_vec_idx2.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
getelementptr_vec_idx3.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
getelementptr_vec_idx4.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
getelementptr_vec_struct.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
getelementptr.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +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: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
gv-invalid-type.ll AsmParser: Make sure GlobalVariables have sane types 2015-02-16 08:41:08 +00:00
half-constprop.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
half-conv.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
half.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
huge-array.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
inalloca.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
inline-asm-clobber.ll [inline asm] Add a check in InlineAsm::ConstraintInfo::Parse to make sure '{' 2014-09-05 22:30:32 +00:00
insertextractvalue.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
insertvalue-invalid-idx.ll
insertvalue-invalid-type-1.ll AsmParser: Check ConstantExpr insertvalue operands for type correctness 2015-02-23 07:13:52 +00:00
insertvalue-invalid-type.ll AsmParser: Don't crash when insertvalue has bad operands 2015-02-11 07:43:58 +00:00
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_cast4.ll IR: SrcTy == DstTy doesn't imply that a cast is valid 2015-02-16 09:37:35 +00:00
invalid-attrgrp.ll AsmParser: Don't crash on malformed attribute groups 2014-12-09 18:33:57 +00:00
invalid-comdat.ll Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
invalid-comdat2.ll IR: Add COMDATs to the IR 2014-06-27 18:19:56 +00:00
invalid-datalayout1.ll DataLayout: Move asserts over to report_fatal_error 2014-12-10 01:17:08 +00:00
invalid-datalayout2.ll DataLayout: Move asserts over to report_fatal_error 2014-12-10 01:17:08 +00:00
invalid-datalayout3.ll DataLayout: Move asserts over to report_fatal_error 2014-12-10 01:17:08 +00:00
invalid-datalayout4.ll DataLayout: Move asserts over to report_fatal_error 2014-12-10 01:17:08 +00:00
invalid-datalayout5.ll DataLayout: Move asserts over to report_fatal_error 2014-12-10 01:17:08 +00:00
invalid-datalayout6.ll DataLayout: Be more verbose when diagnosing problems in pointer specs 2014-12-10 01:38:28 +00:00
invalid-datalayout7.ll DataLayout: Be more verbose when diagnosing problems in pointer specs 2014-12-10 01:38:28 +00:00
invalid-datalayout8.ll DataLayout: Be more verbose when diagnosing problems in pointer specs 2014-12-10 01:38:28 +00:00
invalid-datalayout9.ll DataLayout: Be more verbose when diagnosing problems in pointer specs 2014-12-10 01:38:28 +00:00
invalid-datalayout10.ll DataLayout: Provide nicer diagnostics for malformed strings 2014-12-10 02:36:41 +00:00
invalid-datalayout11.ll DataLayout: Provide nicer diagnostics for malformed strings 2014-12-10 02:36:41 +00:00
invalid-datalayout12.ll DataLayout: Provide nicer diagnostics for malformed strings 2014-12-10 02:36:41 +00:00
invalid-datalayout13.ll DataLayout: Provide nicer diagnostics for malformed strings 2014-12-10 02:36:41 +00:00
invalid-datalayout14.ll DataLayout: Report when the preferred alignment is less than the ABI 2015-02-11 09:13:09 +00:00
invalid-datalayout15.ll DataLayout: Report when the datalayout type alignment/width is too large 2015-02-16 05:41:53 +00:00
invalid-datalayout16.ll DataLayout: Report when the datalayout type alignment/width is too large 2015-02-16 05:41:53 +00:00
invalid-datalayout17.ll DataLayout: Report when the datalayout type alignment/width is too large 2015-02-16 05:41:53 +00:00
invalid-datalayout18.ll DataLayout: Validate that the pref alignment is at least the ABI align 2015-02-16 05:41:55 +00:00
invalid-datalayout19.ll Teach DataLayout that zero-byte pointer sizes don't make sense. 2015-03-02 06:00:02 +00:00
invalid-datalayout20.ll Teach DataLayout that pointer ABI and preferred alignments are required to be powers of two. 2015-03-02 06:33:51 +00:00
invalid-datalayout21.ll Teach DataLayout that pointer ABI and preferred alignments are required to be powers of two. 2015-03-02 06:33:51 +00:00
invalid-datalayout22.ll Teach DataLayout that ABI alignments for non-aggregate types must be non-zero. 2015-03-02 09:34:59 +00:00
invalid-datalayout23.ll Teach DataLayout that alignments on basic types must be powers of two. 2015-03-02 09:35:03 +00:00
invalid-datalayout24.ll Teach DataLayout that alignments on basic types must be powers of two. 2015-03-02 09:35:03 +00:00
invalid-debug-info-version.ll DebugInfo: Don't crash if 'Debug Info Version' has a strange value 2015-02-16 06:04:53 +00:00
invalid-fwdref1.ll
invalid-fwdref2.ll Reland r223754 2014-12-09 05:56:09 +00:00
invalid-generic-debug-node-tag-bad.ll AsmParser: Recognize DW_TAG_* constants 2015-02-03 21:56:01 +00:00
invalid-generic-debug-node-tag-missing.ll IR: Assembly and bitcode for GenericDebugNode 2015-02-03 21:54:14 +00:00
invalid-generic-debug-node-tag-overflow.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-generic-debug-node-tag-wrong-type.ll AsmParser: Recognize DW_TAG_* constants 2015-02-03 21:56:01 +00:00
invalid-gep-mismatched-explicit-type.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
invalid-gep-missing-explicit-type.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
invalid-hexint.ll Forgot to add test for r223856 2014-12-09 23:51:14 +00:00
invalid-label.ll Teach the LLParser to fail gracefully when it encounters an invalid label name. 2015-03-02 05:25:09 +00:00
invalid-landingpad.ll Fix a bug in the LLParser where we failed to diagnose landingpads with non-constant clause operands. 2015-03-09 07:13:42 +00:00
invalid-load-mismatched-explicit-type.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
invalid-load-missing-explicit-type.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
invalid-mdcompileunit-language-bad.ll AsmWriter/Bitcode: MDCompileUnit 2015-02-13 01:25:10 +00:00
invalid-mdcompileunit-language-overflow.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdcompileunit-missing-language.ll AsmWriter/Bitcode: MDCompileUnit 2015-02-13 01:25:10 +00:00
invalid-mdcompileunit-null-file.ll Verifier: Move checks over from DIDescriptor::Verify() 2015-03-31 00:47:15 +00:00
invalid-mdcompositetype-missing-tag.ll AsmWriter/Bitcode: MDDerivedType and MDCompositeType 2015-02-13 01:20:38 +00:00
invalid-mdderivedtype-missing-basetype.ll AsmWriter/Bitcode: MDDerivedType and MDCompositeType 2015-02-13 01:20:38 +00:00
invalid-mdderivedtype-missing-tag.ll AsmWriter/Bitcode: MDDerivedType and MDCompositeType 2015-02-13 01:20:38 +00:00
invalid-mdenumerator-missing-name.ll AsmWriter/Bitcode: MDEnumerator 2015-02-13 01:14:11 +00:00
invalid-mdenumerator-missing-value.ll AsmWriter/Bitcode: MDEnumerator 2015-02-13 01:14:11 +00:00
invalid-mdexpression-large.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdexpression-verify.ll AsmWriter/Bitcode: MDExpression 2015-02-13 01:42:09 +00:00
invalid-mdfile-missing-directory.ll AsmWriter/Bitcode: MDFile 2015-02-13 01:19:14 +00:00
invalid-mdfile-missing-filename.ll AsmWriter/Bitcode: MDFile 2015-02-13 01:19:14 +00:00
invalid-mdglobalvariable-empty-name.ll Verifier: Move more debug info checks away from Verify() 2015-03-31 01:28:22 +00:00
invalid-mdglobalvariable-missing-name.ll Verifier: Move more debug info checks away from Verify() 2015-03-31 01:28:22 +00:00
invalid-mdimportedentity-missing-scope.ll DebugInfo: Rename some testcases 2015-03-30 16:21:28 +00:00
invalid-mdimportedentity-missing-tag.ll AsmWriter/Bitcode: MDImportedEntity 2015-02-13 01:46:02 +00:00
invalid-mdlexicalblock-missing-scope.ll DebugInfo: Rename some testcases 2015-03-30 16:21:28 +00:00
invalid-mdlexicalblock-null-scope.ll Verifier: Add operand checks for MDLexicalBlock 2015-03-30 16:37:48 +00:00
invalid-mdlexicalblockfile-missing-discriminator.ll AsmWriter/Bitcode: MDLexicalBlockFile 2015-02-13 01:30:42 +00:00
invalid-mdlexicalblockfile-missing-scope.ll DebugInfo: Rename some testcases 2015-03-30 16:21:28 +00:00
invalid-mdlexicalblockfile-null-scope.ll Verifier: Add operand checks for MDLexicalBlock 2015-03-30 16:37:48 +00:00
invalid-mdlocalvariable-missing-scope.ll Verifier: Check fields of MDVariable subclasses 2015-03-27 17:29:58 +00:00
invalid-mdlocalvariable-missing-tag.ll Verifier: Check fields of MDVariable subclasses 2015-03-27 17:29:58 +00:00
invalid-mdlocalvariable-null-scope.ll LLParser: Require non-null scope for MDLocation and MDLocalVariable 2015-03-27 17:56:39 +00:00
invalid-mdlocation-field-bad.ll AsmParser/Bitcode: Add support for MDLocation 2015-01-13 21:10:44 +00:00
invalid-mdlocation-field-twice.ll AsmParser/Bitcode: Add support for MDLocation 2015-01-13 21:10:44 +00:00
invalid-mdlocation-missing-scope-2.ll AsmParser: Fix error location for missing fields 2015-01-19 23:32:36 +00:00
invalid-mdlocation-missing-scope.ll AsmParser: Fix error location for missing fields 2015-01-19 23:32:36 +00:00
invalid-mdlocation-null-scope.ll LLParser: Require non-null scope for MDLocation and MDLocalVariable 2015-03-27 17:56:39 +00:00
invalid-mdlocation-overflow-column.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdlocation-overflow-line.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdnamespace-missing-namespace.ll AsmWriter/Bitcode: MDNamespace 2015-02-13 01:32:09 +00:00
invalid-mdnode-badref.ll IR: Update references to temporaries before deleting 2015-01-22 21:36:45 +00:00
invalid-mdnode-vector.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
invalid-mdnode-vector2.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
invalid-mdsubrange-count-large.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdsubrange-count-missing.ll AsmWriter/Bitcode: MDSubrange 2015-02-13 01:10:38 +00:00
invalid-mdsubrange-count-negative.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdsubrange-lowerBound-max.ll AsmWriter/Bitcode: MDSubrange 2015-02-13 01:10:38 +00:00
invalid-mdsubrange-lowerBound-min.ll AsmWriter/Bitcode: MDSubrange 2015-02-13 01:10:38 +00:00
invalid-mdsubroutinetype-missing-types.ll AsmParser/Writer: Handle symbolic constants in DI 'flags:' 2015-02-21 01:02:18 +00:00
invalid-mdtemplatetypeparameter-missing-type.ll IR: Drop scope from MDTemplateParameter 2015-02-19 00:37:21 +00:00
invalid-mdtemplatevalueparameter-missing-value.ll IR: Drop scope from MDTemplateParameter 2015-02-19 00:37:21 +00:00
invalid-metadata-attachment-has-type.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
invalid-metadata-function-local-attachments.ll IR: Add 'invalid-' to test names for invalid assembly 2014-12-11 01:34:46 +00:00
invalid-metadata-function-local-complex-1.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
invalid-metadata-function-local-complex-2.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
invalid-metadata-function-local-complex-3.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
invalid-metadata-has-type.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
invalid-name.ll AsmParser: Don't crash if a null byte is inside a quoted string 2014-12-10 00:43:17 +00:00
invalid-name2.ll AsmParser: Don't allow null bytes in BB labels 2014-12-10 02:10:35 +00:00
invalid-specialized-mdnode.ll AsmParser/Bitcode: Add support for MDLocation 2015-01-13 21:10:44 +00:00
invalid-uselistorder_bb-missing-bb.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder_bb-missing-body.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder_bb-missing-func.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder_bb-not-bb.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder_bb-not-func.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder_bb-numbered.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-function-between-blocks.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-function-missing-named.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-function-missing-numbered.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-global-missing.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-indexes-duplicated.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-indexes-empty.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-indexes-one.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-indexes-ordered.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-indexes-range.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-indexes-toofew.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-indexes-toomany.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
invalid-uselistorder-type.ll IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
large-comdat.ll Add support for comdats with names larger than 256 characters. 2015-01-14 18:25:45 +00:00
mdcompileunit.ll IR: Change MDFile to directly store the filename/directory 2015-02-20 20:35:17 +00:00
mdexpression.ll AsmWriter/Bitcode: MDExpression 2015-02-13 01:42:09 +00:00
mdfile-escaped-chars.ll AsmWriter: Escape string fields in metadata 2015-02-28 22:20:16 +00:00
mdglobalvariable.ll Verifier: Move more debug info checks away from Verify() 2015-03-31 01:28:22 +00:00
mdimportedentity.ll Verifier: Add operand checks for remaining debug info 2015-03-30 17:21:38 +00:00
mdlexicalblock.ll Verifier: Add operand checks for MDLexicalBlock 2015-03-30 16:37:48 +00:00
mdlocalvariable.ll DebugInfo: Remove 'inlinedAt:' field from MDLocalVariable 2015-04-15 22:29:27 +00:00
mdlocation.ll Verifier: Check accessors of MDLocation 2015-03-26 22:05:04 +00:00
mdnamespace.ll Verifier: Add operand checks for remaining debug info 2015-03-30 17:21:38 +00:00
mdobjcproperty.ll Verifier: Add operand checks for remaining debug info 2015-03-30 17:21:38 +00:00
mdsubprogram.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
mdsubrange-empty-array.ll IR: Allow MDSubrange to have 'count: -1' 2015-02-18 23:17:51 +00:00
mdsubroutinetype.ll Verifier: Allow subroutine types to have no type array 2015-03-28 02:43:53 +00:00
mdtemplateparameter.ll Verifier: Add operand checks for remaining debug info 2015-03-30 17:21:38 +00:00
mdtype-large-values.ll Optimize metadata node fields for CHECK-ability 2015-02-28 23:21:38 +00:00
metadata-function-local.ll Assembler: Rewrite test for function-local metadata 2015-03-15 00:45:51 +00:00
metadata-null-operands.ll Verifier: Move checks over from DIDescriptor::Verify() 2015-03-31 00:47:15 +00:00
metadata.ll Verifier: Check accessors of MDLocation 2015-03-26 22:05:04 +00:00
MultipleReturnValueType.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
musttail-invalid-1.ll [opaque pointer type] Add textual IR support for explicit type parameter to the call instruction 2015-04-16 23:24:18 +00:00
musttail-invalid-2.ll [opaque pointer type] Add textual IR support for explicit type parameter to the call instruction 2015-04-16 23:24:18 +00:00
musttail.ll [opaque pointer type] Add textual IR support for explicit type parameter to the call instruction 2015-04-16 23:24:18 +00:00
named-metadata.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
numbered-values.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +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: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
short-hexpair.ll AsmParser: Don't crash on short hex constants for fp128 types 2014-12-09 19:10:03 +00:00
tls-models.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
unnamed-addr.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
unnamed-comdat.ll Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
unnamed.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
unsized-recursive-type.ll Fix a stack overflow in the assembler when checking that GEPs must be over sized types. 2015-03-10 06:34:57 +00:00
upgrade-loop-metadata.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
uselistorder_bb.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
uselistorder.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
vbool-cmp.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
vector-cmp.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
vector-select.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
vector-shift.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
x86mmx.ll verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00